Functions | Variables
pEqn.H File Reference

Go to the source code of this file.

Functions

surfaceScalarField rAUf ("rAUf", fvc::interpolate(rAU))
 
volVectorField HbyA (constrainHbyA(rAU *UEqn.H(), U, p_rgh))
 
surfaceScalarField phiHbyA ("phiHbyA", fvc::flux(HbyA)+fvc::interpolate(rho *rAU)*fvc::ddtCorr(U, phi))
 
surfaceScalarField phig ((interface.surfaceTensionForce()-ghf *fvc::snGrad(rho))*rAUf *mesh.magSf())
 
 constrainPressure (p_rgh, U, phiHbyA, rAUf)
 
 if (pimple.transonic())
 
volScalarField p_rgh_0 (p_rgh)
 
 while (pimple.correctNonOrthogonal())
 
p_rgh correctBoundaryConditions ()
 

Variables

 phiHbyA = phig
 
tmp< fvScalarMatrix > p_rghEqnComp1
 
tmp< fvScalarMatrix > p_rghEqnComp2
 
 else
 
 rho1 = psi1*(p_rgh - p_rgh_0)
 
 rho2 = psi2*(p_rgh - p_rgh_0)
 
 rho = alpha1*rho1 + alpha2*rho2
 
 p_rgh = p - rho*gh
 
 K = 0.5*magSqr(U)
 

Function Documentation

surfaceScalarField rAUf ( "rAUf"  ,
fvc::interpolate(rAU  
)
volVectorField HbyA ( constrainHbyA(rAU *UEqn.H(), U, p_rgh )
surfaceScalarField phiHbyA ( "phiHbyA"  ,
fvc::flux(HbyA)+fvc::interpolate(rho *rAU)*fvc::ddtCorr(U, phi  
)
surfaceScalarField phig ( (interface.surfaceTensionForce()-ghf *fvc::snGrad(rho))*rAUf *mesh.magSf()  )
constrainPressure ( p_rgh  ,
U  ,
phiHbyA  ,
rAUf   
)
if ( pimple.  transonic())

Definition at line 28 of file pEqn.H.

References Foam::correction(), Foam::fvc::ddt(), Foam::deleteDemandDrivenData(), Foam::fvc::div(), Foam::MULES::interpolate(), p_rgh, phi, psi1, psi2, rho1, rho2, and Foam::fvc::Sp().

Here is the call graph for this function:

volScalarField p_rgh_0 ( p_rgh  )
while ( pimple.  correctNonOrthogonal())

Definition at line 67 of file pEqn.H.

References alpha1, alpha2, Foam::fvc::div(), gh, HbyA, Foam::fvc::laplacian(), Foam::max(), mesh, p, p_rgh, p_rghEqnComp1, p_rghEqnComp2, phi, phig(), phiHbyA, pimple, pMin(), Foam::pos(), rAUf(), Foam::fvc::reconstruct(), rho1, rho2, solve(), and U.

Here is the call graph for this function:

p_rgh correctBoundaryConditions ( )

Variable Documentation

phiHbyA = phig

Definition at line 20 of file pEqn.H.

tmp<fvScalarMatrix> p_rghEqnComp1

Definition at line 25 of file pEqn.H.

p_rghEqnComp2
Initial value:
=
tmp< fvMatrix< Type > > correction(const fvMatrix< Type > &)
Return the correction form of the given matrix.
psi2
Definition: TEqns.H:35
tmp< GeometricField< Type, fvPatchField, volMesh > > div(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
Definition: fvcDiv.C:47
tmp< GeometricField< Type, fvPatchField, volMesh > > Sp(const volScalarField &sp, const GeometricField< Type, fvPatchField, volMesh > &vf)
Definition: fvcSup.C:67
tmp< GeometricField< Type, fvPatchField, volMesh > > ddt(const dimensioned< Type > dt, const fvMesh &mesh)
Definition: fvcDdt.C:45
rho2
Definition: pEqn.H:115
p_rgh
Definition: pEqn.H:120
phi
Definition: pEqn.H:18

Definition at line 26 of file pEqn.H.

else
Initial value:
{
tmp< fvMatrix< Type > > correction(const fvMatrix< Type > &)
Return the correction form of the given matrix.
tmp< GeometricField< Type, fvPatchField, volMesh > > div(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
Definition: fvcDiv.C:47
tmp< GeometricField< Type, fvPatchField, volMesh > > Sp(const volScalarField &sp, const GeometricField< Type, fvPatchField, volMesh > &vf)
Definition: fvcSup.C:67
tmp< fvScalarMatrix > p_rghEqnComp1
Definition: pEqn.H:28
rho1
Definition: pEqn.H:114
tmp< GeometricField< Type, fvPatchField, volMesh > > ddt(const dimensioned< Type > dt, const fvMesh &mesh)
Definition: fvcDdt.C:45
p_rgh
Definition: pEqn.H:120
psi1
Definition: TEqns.H:34
phi
Definition: pEqn.H:18

Definition at line 54 of file pEqn.H.

rho1 = psi1*(p_rgh - p_rgh_0)

Definition at line 105 of file pEqn.H.

rho2 = psi2*(p_rgh - p_rgh_0)

Definition at line 106 of file pEqn.H.

Definition at line 108 of file pEqn.H.

p_rgh = p - rho*gh

Definition at line 111 of file pEqn.H.

K = 0.5*magSqr(U)

Definition at line 114 of file pEqn.H.