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

Go to the source code of this file.

Functions

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

Variables

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

Function Documentation

◆ if() [1/5]

if ( !pimple.  SIMPLErho())

Definition at line 1 of file pcEqn.H.

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

Here is the call graph for this function:

◆ psip0()

const volScalarField psip0 ( psi p)

Referenced by if().

Here is the caller graph for this function:

◆ rAU()

volScalarField rAU ( 1.0/UEqn.  A())

◆ rAtU()

volScalarField rAtU ( 1.0/  1.0/rAU - UEqn.H1())

◆ HbyA()

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

◆ if() [2/5]

if ( pimple.nCorrPISO()<=  1)

Definition at line 14 of file pcEqn.H.

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

Here is the call graph for this function:

◆ phiHbyA()

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

◆ makeRelative()

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

◆ rhorAtU()

volScalarField rhorAtU ( "rhorAtU"  ,
rho rAtU 
)

◆ constrainPressure()

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

◆ if() [3/5]

if ( pimple.  transonic())

◆ pDDtEqn()

fvScalarMatrix pDDtEqn ( fvc::ddt(rho)+psi *correction(fvm::ddt(p))+fvc::div(phiHbyA = =fvOptions(psip, rho.name()))

Referenced by if(), and while().

Here is the caller graph for this function:

◆ while()

while ( pimple.  correctNonOrthogonal())

Definition at line 85 of file pcEqn.H.

References Foam::fvc::laplacian(), mesh, pDDtEqn(), 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 112 of file pcEqn.H.

References pimple, rho, and thermo.

◆ if() [5/5]

if ( thermo.  dpdt())

Definition at line 122 of file pcEqn.H.

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

Here is the call graph for this function:

Variable Documentation

◆ else

else
Initial value:
{
volScalarField rAU(1.0/UEqn.A())
phiHbyA
Definition: pcEqn.H:70
dynamicFvMesh & mesh
rho
Definition: pcEqn.H:1
static tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > interpolate(const GeometricField< Type, fvPatchField, volMesh > &tvf, const surfaceScalarField &faceFlux, Istream &schemeData)
Interpolate field onto faces using scheme given by Istream.
volScalarField & p
tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > snGrad(const GeometricField< Type, fvPatchField, volMesh > &vf, const word &name)
Definition: fvcSnGrad.C:45
volScalarField rAtU(1.0/(1.0/rAU - UEqn.H1()))

Definition at line 73 of file pcEqn.H.

◆ HbyA

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

Definition at line 75 of file pcEqn.H.

◆ U

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

Definition at line 107 of file pcEqn.H.

◆ K

K = 0.5*magSqr(U)

Definition at line 110 of file pcEqn.H.