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

Go to the source code of this file.


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


 U = HbyA - rAU*fvc::grad(p)
 K = 0.5*magSqr(U)

Function Documentation

◆ if() [1/5]

if ( !pimple.  SIMPLErho())

Definition at line 1 of file pEqn.H.

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

Here is the call graph for this function:

◆ psip0()

const volScalarField psip0 ( psi p)

◆ rAU()

volScalarField rAU ( 1.0/UEqn.  A())

◆ rhorAUf()

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

◆ HbyA()

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

◆ if() [2/5]

if ( pimple.nCorrPISO()<=  1)

Definition at line 14 of file pEqn.H.

References constrainPressure(), Foam::fvc::ddtCorr(), Foam::fvc::flux(), Foam::fvc::interpolate(), MRF, phi, phiHbyA, rho, tUEqn(), and U.

Here is the call graph for this function:

◆ phiHbyA()

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

◆ makeRelative()

MRF makeRelative ( fvc::interpolate(rho ,

◆ constrainPressure()

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

◆ if() [3/5]

if ( pimple.  transonic())

Definition at line 31 of file pEqn.H.

References Foam::correction(), Foam::fvc::ddt(), Foam::fvc::div(), fvOptions, Foam::fvc::interpolate(), Foam::fvc::laplacian(), mesh, pDDtEqn(), phi, phid(), pimple, psi, and rho.

Here is the call graph for this function:

◆ while()

while ( pimple.  correctNonOrthogonal())

Definition at line 74 of file pEqn.H.

References Foam::fvc::laplacian(), mesh, phi, pimple, psi, and thermo.

Here is the call graph for this function:

◆ correctRho()

thermo correctRho ( psi *p psip0)

◆ relax()

p relax ( )

◆ correctBoundaryConditions()

U correctBoundaryConditions ( )

◆ correct()

fvOptions correct ( U  )

◆ if() [4/5]

if ( pressureControl.  limitp)

Definition at line 101 of file pEqn.H.

References pimple, rho, and thermo.

◆ if() [5/5]

if ( thermo.  dpdt())

Definition at line 111 of file pEqn.H.

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

Here is the call graph for this function:

Variable Documentation

◆ else

Initial value:
fvOptions(psi, p,
tmp< fvMatrix< Type > > correction(const fvMatrix< Type > &)
Return the correction form of the given matrix.
fvMatrix< scalar > fvScalarMatrix
Definition: fvMatricesFwd.H:42
Definition: pEqn.H:50
Definition: pEqn.H:20
tmp< GeometricField< Type, fvPatchField, volMesh > > div(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
Definition: fvcDiv.C:47
fv::options & fvOptions
tmp< GeometricField< Type, fvPatchField, volMesh > > ddt(const dimensioned< Type > dt, const fvMesh &mesh)
Definition: fvcDdt.C:45
fvScalarMatrix pDDtEqn(fvc::ddt(rho)+psi *correction(fvm::ddt(p))+fvc::div(phiHbyA)==parcels.Srho()+fvOptions(psi, p,
const volScalarField & psi
Definition: pEqn.H:1

Definition at line 65 of file pEqn.H.

◆ U

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

Definition at line 96 of file pEqn.H.

◆ K

K = 0.5*magSqr(U)

Definition at line 99 of file pEqn.H.