Functions | Variables
pEqn.H File Reference
Include dependency graph for pEqn.H:

Go to the source code of this file.


surfaceScalarField rAUf ("rAUf", fvc::interpolate(rAU))
volVectorField HbyA ("HbyA", U)
UEqn clear ()
surfaceScalarField phig (-rAUf *ghf *fvc::snGrad(rhok)*mesh.magSf())
surfaceScalarField phiHbyA ("phiHbyA",(fvc::interpolate(HbyA)&mesh.Sf()))
MRF makeRelative (phiHbyA)
 adjustPhi (phiHbyA, U, p_rgh)
 setSnGrad< fixedFluxPressureFvPatchScalarField > (p_rgh.boundaryField(),( phiHbyA.boundaryField() -MRF.relative(mesh.Sf().boundaryField()&U.boundaryField()) )/(mesh.magSf().boundaryField()*rAUf.boundaryField()))
 while (simple.correctNonOrthogonal())
 if (p_rgh.needReference())


 HbyA = rAU*UEqn().H()
 phiHbyA = phig
 p = p_rgh + rhok*gh

Function Documentation

surfaceScalarField rAUf ( "rAUf"  ,
volVectorField HbyA ( "HbyA"  ,
UEqn clear ( )
surfaceScalarField phig ( -rAUf *ghf fvc::snGradrhok)*mesh.magSf()
surfaceScalarField phiHbyA ( "phiHbyA"  ,
MRF makeRelative ( phiHbyA  )
adjustPhi ( phiHbyA  ,
U  ,

Referenced by if().

Here is the caller graph for this function:

setSnGrad< fixedFluxPressureFvPatchScalarField > ( p_rgh.  boundaryField(),
( phiHbyA.boundaryField() -MRF.relative(mesh.Sf().boundaryField()&U.boundaryField()) )/(mesh.magSf().boundaryField()*rAUf.boundaryField())   
while ( simple.  correctNonOrthogonal())

Definition at line 33 of file pEqn.H.

References Foam::fvc::div(), fvOptions, Foam::getRefCellValue(), HbyA, Foam::fvc::laplacian(), p_rgh, phi, phig(), phiHbyA, pRefCell, rAU(), rAUf(), Foam::fvc::reconstruct(), simple, and U.

Here is the call graph for this function:

if ( p_rgh.  needReference())

Definition at line 64 of file pEqn.H.

References Foam::getRefCellValue(), gh, p, p_rgh, pRefCell, pRefValue, and rhok.

Here is the call graph for this function:

Variable Documentation

HbyA = rAU*UEqn().H()

Definition at line 6 of file pEqn.H.

phiHbyA = phig

Definition at line 21 of file pEqn.H.

Referenced by for(), forAllIter(), if(), and while().

p = p_rgh + rhok*gh

Definition at line 62 of file pEqn.H.