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

Go to the source code of this file.

Functions

volScalarField rAU (1.0/UEqn().A())
 
volVectorField HbyA ("HbyA", U)
 
surfaceScalarField phiHbyA ("phiHbyA",(fvc::interpolate(HbyA) &mesh.Sf())+fvc::interpolate(rAU) *fvc::ddtCorr(U, phi))
 
MRF makeRelative (phiHbyA)
 
 adjustPhi (phiHbyA, U, p)
 
tmp< volScalarField > rAtU (rAU)
 
 if (pimple.consistent())
 
 if (pimple.nCorrPISO()<=1)
 
surfaceScalarField rAUf ("rAUf", fvc::interpolate(rAtU()))
 
 setSnGrad< fixedFluxPressureFvPatchScalarField > (p.boundaryField(),(phiHbyA.boundaryField() - MRF.relative(mesh.Sf().boundaryField() &U.boundaryField()))/(mesh.magSf().boundaryField() *rAUf.boundaryField()))
 
 while (pimple.correctNonOrthogonal())
 
p relax ()
 
U correctBoundaryConditions ()
 
fvOptions correct (U)
 

Variables

 HbyA = rAU*UEqn().H()
 
 U = HbyA - rAtU()*fvc::grad(p)
 

Function Documentation

◆ rAU()

volScalarField rAU ( 1.0/  UEqn).A()

◆ HbyA()

volVectorField HbyA ( "HbyA"  ,
U   
)

◆ phiHbyA()

surfaceScalarField phiHbyA ( "phiHbyA"  ,
(fvc::interpolate(HbyA) &mesh.Sf())+fvc::interpolate(rAU) *fvc::ddtCorr(U, phi  
)

◆ makeRelative()

MRF makeRelative ( phiHbyA  )

◆ adjustPhi()

adjustPhi ( phiHbyA  ,
U  ,
p   
)

◆ rAtU()

tmp<volScalarField> rAtU ( rAU  )

◆ if() [1/2]

if ( pimple.  consistent())

Definition at line 18 of file pEqn.H.

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

Here is the call graph for this function:

◆ if() [2/2]

if ( pimple.nCorrPISO()<=  1)

Definition at line 26 of file pEqn.H.

References UEqn().

Here is the call graph for this function:

◆ rAUf()

surfaceScalarField rAUf ( "rAUf"  ,
fvc::interpolate(rAtU())   
)

◆ setSnGrad< fixedFluxPressureFvPatchScalarField >()

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

◆ while()

while ( pimple.  correctNonOrthogonal())

Definition at line 44 of file pEqn.H.

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

Here is the call graph for this function:

◆ relax()

p relax ( )

◆ correctBoundaryConditions()

U correctBoundaryConditions ( )

◆ correct()

fvOptions correct ( U  )

Variable Documentation

◆ HbyA

HbyA = rAU*UEqn().H()

Definition at line 3 of file pEqn.H.

◆ U

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

Definition at line 67 of file pEqn.H.