pEqn.H File Reference
Include dependency graph for pEqn.H:

Go to the source code of this file.

Functions

 if (!pimple.SIMPLErho())
 
const volScalarField psip0 (psi *p)
 
volScalarField rAU ("rAU", 1.0/UEqn.A())
 
mesh interpolate (rAU)
 
surfaceScalarField rhorAUf ("rhorAUf", fvc::interpolate(rho *rAU))
 
volVectorField HbyA ("HbyA", U)
 
 if (pimple.nCorrPISO()<=1)
 
surfaceScalarField phiHbyA ("phiHbyA", fvc::interpolate(rho) *fvc::flux(HbyA))
 
MRF makeRelative (fvc::interpolate(rho), phiHbyA)
 
 constrainPressure (p, rho, U, phiHbyA, rhorAUf, MRF)
 
 if (pimple.transonic())
 
 while (pimple.correctNonOrthogonal())
 
p relax ()
 
volVectorField gradP (fvc::grad(p))
 
U correctBoundaryConditions ()
 
fvOptions correct (U)
 
 if (pressureControl.limit(p))
 
thermo correctRho (psi *p - psip0, rhoMin, rhoMax)
 
 if (thermo.dpdt())
 

Variables

 HbyA = constrainHbyA(rAU*UEqn.H(), U, p)
 
 else
 
 U = cellMask*(HbyA - rAU*gradP)
 
 K = 0.5*magSqr(U)
 
 rho = thermo.rho()
 

Function Documentation

◆ if() [1/5]

if ( !pimple.  SIMPLErho())

Definition at line 1 of file pEqn.H.

References rho, and thermo.

◆ psip0()

const volScalarField psip0 ( psi p)

◆ rAU()

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

◆ interpolate()

mesh interpolate ( rAU  )

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

Here is the caller graph for this function:

◆ rhorAUf()

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

◆ HbyA()

volVectorField HbyA ( "HbyA"  ,
U   
)

◆ if() [2/5]

if ( pimple.nCorrPISO()<=  1)

Definition at line 17 of file pEqn.H.

References tUEqn().

Here is the call graph for this function:

◆ phiHbyA()

surfaceScalarField phiHbyA ( "phiHbyA"  ,
fvc::interpolate(rho) *fvc::flux(HbyA  
)

◆ makeRelative()

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

◆ constrainPressure()

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

◆ if() [3/5]

if ( pimple.  transonic())

Definition at line 34 of file pEqn.H.

References Foam::correction(), Foam::fac::ddt(), Foam::fac::div(), fvOptions, interpolate(), Foam::fac::laplacian(), p, pDDtEqn(), phi, phid(), phiHbyA, pimple, psi, rho, and rhorAUf().

Here is the call graph for this function:

◆ while()

while ( pimple.  correctNonOrthogonal())

Definition at line 77 of file pEqn.H.

References Foam::fac::laplacian(), p, pDDtEqn(), phi, phiHbyA, pimple, and rhorAUf().

Here is the call graph for this function:

◆ relax()

p relax ( )

◆ gradP()

volVectorField gradP ( fvc::grad(p )

Referenced by meanVelocityForce::addSup(), meanVelocityForce::correct(), and meanVelocityForce::writeProps().

Here is the caller graph for this function:

◆ correctBoundaryConditions()

U correctBoundaryConditions ( )

◆ correct()

fvOptions correct ( U  )

◆ if() [4/5]

if ( pressureControl.  limitp)

Definition at line 103 of file pEqn.H.

References p.

◆ correctRho()

thermo correctRho ( psi *p psip0,
rhoMin  ,
rhoMax   
)

◆ if() [5/5]

if ( thermo.  dpdt())

Definition at line 116 of file pEqn.H.

References Foam::fac::ddt(), Foam::fac::div(), dpdt, mesh, Foam::fvc::meshPhi(), p, rho, and U.

Here is the call graph for this function:

Variable Documentation

◆ HbyA

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

Definition at line 15 of file pEqn.H.

◆ else

else
Initial value:
{
(
==
fvOptions(psi, p, rho.name())
)
tmp< fvMatrix< Type > > correction(const fvMatrix< Type > &)
Return the correction form of the given matrix by subtracting the matrix multiplied by the current fi...
fvMatrix< scalar > fvScalarMatrix
Definition: fvMatricesFwd.H:37
fvScalarMatrix pDDtEqn(fvc::ddt(rho)+psi *correction(fvm::ddt(p))+fvc::div(phiHbyA)==fvOptions(psi, p, rho.name()))
rho
Definition: pEqn.H:1
p
Definition: pEqn.H:50
phiHbyA
Definition: pEqn.H:20
tmp< GeometricField< Type, faPatchField, areaMesh > > div(const GeometricField< Type, faePatchField, edgeMesh > &ssf)
Definition: facDiv.C:43
tmp< GeometricField< Type, faPatchField, areaMesh > > ddt(const dimensioned< Type > dt, const faMesh &mesh)
Definition: facDdt.C:40
fv::options & fvOptions
const volScalarField & psi

Definition at line 68 of file pEqn.H.

◆ U

U = cellMask*(HbyA - rAU*gradP)

Definition at line 98 of file pEqn.H.

◆ K

K = 0.5*magSqr(U)

Definition at line 101 of file pEqn.H.

◆ rho

rho = thermo.rho()

Definition at line 109 of file pEqn.H.