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)+MRF.zeroFilter(fvc::interpolate(rho *rAU) *fvc::ddtCorr(rho, U, phi, rhoUf))))
 
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(), makeRelative(), MRF, phi, phiHbyA, rAU(), rho, rhorAtU(), rhoUf, tUEqn(), and U.

Here is the call graph for this function:

◆ phiHbyA()

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

◆ 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 89 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 116 of file pcEqn.H.

References Foam::fvc::correctRhoUf(), phi, pimple, rho, rhoUf, thermo, and U.

Here is the call graph for this function:

◆ if() [5/5]

if ( thermo.  dpdt())

Definition at line 129 of file pcEqn.H.

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

Here is the call graph for this function:

Variable Documentation

◆ else

else
Initial value:
{
volScalarField rAU(1.0/UEqn.A())
phiHbyA
Definition: pcEqn.H:73
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 77 of file pcEqn.H.

◆ HbyA

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

Definition at line 79 of file pcEqn.H.

◆ U

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

Definition at line 111 of file pcEqn.H.

◆ K

K = 0.5*magSqr(U)

Definition at line 114 of file pcEqn.H.