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

Go to the source code of this file.


volScalarField rAU (1.0/UEqn.A())
volVectorField HbyA (constrainHbyA(rAU *UEqn.H(), U, p))
surfaceScalarField phiHbyA ("phiHbyA", fvc::flux(HbyA)+MRF.zeroFilter(fvc::interpolate(rAU) *fvc::ddtCorr(U, phi, Uf)))
MRF makeRelative (phiHbyA)
 if (p.needReference())
tmp< volScalarField > rAtU (rAU)
 if (pimple.consistent())
 if (pimple.nCorrPISO()<=1)
 constrainPressure (p, U, phiHbyA, rAtU(), MRF)
 while (pimple.correctNonOrthogonal())
p relax ()
U correctBoundaryConditions ()
fvOptions correct (U)


 U = HbyA - rAtU*fvc::grad(p)

Function Documentation

◆ rAU()

volScalarField rAU ( 1.0/UEqn.  A())

◆ HbyA()

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

◆ phiHbyA()

surfaceScalarField phiHbyA ( "phiHbyA"  ,
fvc::flux(HbyA)+MRF.zeroFilter(fvc::interpolate(rAU) *fvc::ddtCorr(U, phi, Uf))   

◆ makeRelative()

MRF makeRelative ( phiHbyA  )

◆ if() [1/3]

if ( p.  needReference())

Definition at line 12 of file pEqn.H.

References adjustPhi(), Foam::fvc::makeAbsolute(), makeRelative(), p, phiHbyA, rAtU(), rAU(), and U.

Here is the call graph for this function:

◆ rAtU()

tmp<volScalarField> rAtU ( rAU  )

Referenced by if(), and while().

Here is the caller graph for this function:

◆ if() [2/3]

if ( pimple.  consistent())

Definition at line 21 of file pEqn.H.

References Foam::fvc::grad(), HbyA, Foam::fvc::interpolate(), Foam::max(), mesh, p, phiHbyA, rAtU(), rAU(), Foam::fvc::snGrad(), and UEqn.

Here is the call graph for this function:

◆ if() [3/3]

if ( pimple.nCorrPISO()<=  1)

Definition at line 29 of file pEqn.H.

References constrainPressure(), MRF, p, phiHbyA, rAtU(), tUEqn(), and U.

Here is the call graph for this function:

◆ constrainPressure()

constrainPressure ( p  ,
U  ,
phiHbyA  ,
rAtU()  ,

◆ while()

while ( pimple.  correctNonOrthogonal())

Definition at line 38 of file pEqn.H.

References Foam::fvc::div(), Foam::fvc::laplacian(), mesh, p, phi, phiHbyA, pimple, pRefCell, pRefValue, and rAtU().

Here is the call graph for this function:

◆ relax()

p relax ( )

◆ correctBoundaryConditions()

U correctBoundaryConditions ( )

◆ correct()

fvOptions correct ( U  )

Variable Documentation

◆ U

U = HbyA - rAtU*fvc::grad(p)

Definition at line 60 of file pEqn.H.