Functions | Variables
pEqn.H File Reference
Include dependency graph for pEqn.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

 if (!mesh.steady() &&!pimple.simpleRho())
 
volScalarField rAU ("rAU", 1.0/UEqn.A())
 
surfaceScalarField rhorAUf ("rhorAUf", fvc::interpolate(rho *rAU))
 
volVectorField HbyA (constrainHbyA(rAU *UEqn.H(), U, p_rgh))
 
 if (pimple.nCorrPISO()<=1)
 
surfaceScalarField phig (-rhorAUf *ghf *fvc::snGrad(rho) *mesh.magSf())
 
surfaceScalarField phiHbyA ("phiHbyA", fvc::flux(rho *HbyA)+MRF.zeroFilter(rhorAUf *fvc::ddtCorr(rho, U, phi)))
 
MRF makeRelative (fvc::interpolate(rho), phiHbyA)
 
 constrainPressure (p_rgh, rho, U, phiHbyA, rhorAUf, MRF)
 
 if (pimple.transonic())
 
tmp< volScalarField > psip0 (mesh.steady() ? tmp< volScalarField >() :psi *p)
 
 while (pimple.correctNonOrthogonal())
 
 if (!mesh.steady())
 
 if (thermo.dpdt())
 
 if (adjustMass)
 
 if (adjustMass||pLimited)
 
 if (adjustMass||pLimited||mesh.steady()||pimple.simpleRho())
 
 if (mesh.steady() &&!pimple.transonic())
 

Variables

const bool closedVolume = adjustPhi(phiHbyA, U, p_rgh)
 
const bool adjustMass = closedVolume && !thermo.incompressible()
 
 phiHbyA = phig
 
 p = p_rgh + rho*gh
 
 else
 

Function Documentation

◆ if() [1/9]

if ( !mesh.  steady) &&!pimple.simpleRho()

Definition at line 1 of file pEqn.H.

References Foam::constrainHbyA(), HbyA, Foam::fvc::interpolate(), p_rgh, rAU(), rho, rhorAUf(), thermo, U, and UEqn.

Here is the call graph for this function:

◆ rAU()

volScalarField rAU ( "rAU"  ,
1.0/UEqn.  A() 
)

◆ rhorAUf()

surfaceScalarField rhorAUf ( "rhorAUf"  ,
fvc::interpolate(rho *rAU  
)

◆ HbyA()

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

◆ if() [2/9]

if ( pimple.nCorrPISO()<=  1)

Definition at line 9 of file pEqn.H.

References Foam::fvc::ddtCorr(), Foam::fvc::flux(), ghf, Foam::fvc::interpolate(), mesh, MRF, phi, phig(), phiHbyA, rho, Foam::fvc::snGrad(), tUEqn(), and U.

Here is the call graph for this function:

◆ phig()

surfaceScalarField phig ( -rhorAUf *ghf fvc::snGradrho) *mesh.magSf()

◆ phiHbyA()

surfaceScalarField phiHbyA ( "phiHbyA"  ,
fvc::flux(rho *HbyA)+MRF.zeroFilter(rhorAUf *fvc::ddtCorr(rho, U, phi))   
)

◆ makeRelative()

MRF makeRelative ( fvc::interpolate(rho ,
phiHbyA   
)

◆ constrainPressure()

constrainPressure ( p_rgh  ,
rho  ,
U  ,
phiHbyA  ,
rhorAUf  ,
MRF   
)

◆ if() [3/9]

if ( pimple.  transonic())

Definition at line 39 of file pEqn.H.

References Foam::fvc::div(), Foam::fvc::interpolate(), mesh, p, p_rgh, phid(), phiHbyA, psi, psip0(), and rho.

Here is the call graph for this function:

◆ psip0()

tmp<volScalarField> psip0 ( mesh.steady() ? tmp< volScalarField >() :psi p)

◆ while()

while ( pimple.  correctNonOrthogonal())

Definition at line 56 of file pEqn.H.

References Foam::fvc::div(), fvOptions, Foam::fvc::laplacian(), Foam::magSqr(), mesh, p_rgh, phi, phig(), phiHbyA, pimple, pressureControl, Foam::fvc::reconstruct(), and U.

Here is the call graph for this function:

◆ if() [4/9]

if ( !mesh.  steady())

Definition at line 95 of file pEqn.H.

References psi, and thermo.

◆ if() [5/9]

if ( thermo.  dpdt())

Definition at line 102 of file pEqn.H.

References Foam::fvc::ddt(), dpdt, and mesh.

Here is the call graph for this function:

◆ if() [6/9]

if ( adjustMass  )

Definition at line 123 of file pEqn.H.

References Foam::fvc::domainIntegrate(), gh, initialMass, p_rgh, psi, rho, and thermo.

Here is the call graph for this function:

◆ if() [7/9]

if ( adjustMass||  pLimited)

Definition at line 130 of file pEqn.H.

◆ if() [8/9]

if ( adjustMass||pLimited||mesh.  steady)||pimple.simpleRho()

Definition at line 136 of file pEqn.H.

References rho, and thermo.

◆ if() [9/9]

if ( mesh.  steady) &&!pimple.transonic()

Definition at line 141 of file pEqn.H.

References Foam::endl(), Foam::Info, Foam::max(), Foam::min(), and rho.

Here is the call graph for this function:

Variable Documentation

◆ closedVolume

const bool closedVolume = adjustPhi(phiHbyA, U, p_rgh)

Definition at line 25 of file pEqn.H.

◆ adjustMass

const bool adjustMass = closedVolume && !thermo.incompressible()

Definition at line 26 of file pEqn.H.

◆ phiHbyA

phiHbyA = phig

Definition at line 28 of file pEqn.H.

◆ p

p = p_rgh + rho*gh

Definition at line 92 of file pEqn.H.

◆ else

else
Initial value:
{
}
const bool pLimited = pressureControl.limit(p)
p
Definition: pEqn.H:50
pressureControl & pressureControl
bool pLimited
Definition: pEqn.H:90

Definition at line 114 of file pEqn.H.