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 (constrainHbyA(rAU *UEqn.H(), U, p_rgh))
tUEqn clear ()
surfaceScalarField phig (-rAUf *ghf *fvc::snGrad(rhok) *mesh.magSf())
surfaceScalarField phiHbyA ("phiHbyA", fvc::flux(HbyA))
MRF makeRelative (phiHbyA)
 adjustPhi (phiHbyA, U, p_rgh)
 constrainPressure (p_rgh, U, phiHbyA, rAUf, MRF)
 while (simple.correctNonOrthogonal())
 if (p_rgh.needReference())


 phiHbyA = phig
 p = p_rgh + rhok*gh

Function Documentation

◆ rAUf()

surfaceScalarField rAUf ( "rAUf"  ,

◆ HbyA()

volVectorField HbyA ( constrainHbyA(rAU *UEqn.H(), U, p_rgh )

◆ clear()

tUEqn clear ( )

◆ phig()

surfaceScalarField phig ( -rAUf *ghf fvc::snGradrhok) *mesh.magSf()

◆ phiHbyA()

surfaceScalarField phiHbyA ( "phiHbyA"  ,

◆ makeRelative()

MRF makeRelative ( phiHbyA  )

◆ adjustPhi()

adjustPhi ( phiHbyA  ,
U  ,

Referenced by if().

Here is the caller graph for this function:

◆ constrainPressure()

constrainPressure ( p_rgh  ,
U  ,
phiHbyA  ,
rAUf  ,

◆ while()

while ( simple.  correctNonOrthogonal())

Definition at line 25 of file pEqn.H.

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

Here is the call graph for this function:

◆ if()

if ( p_rgh.  needReference())

Definition at line 56 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

◆ phiHbyA

phiHbyA = phig

Definition at line 20 of file pEqn.H.

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

◆ p

p = p_rgh + rhok*gh

Definition at line 54 of file pEqn.H.