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

Go to the source code of this file.

Functions

rho relax ()
 
volScalarField rAU (1.0/UEqn().A())
 
volScalarField rAtU (1.0/(1.0/rAU - UEqn().H1()))
 
volVectorField HbyA ("HbyA", U)
 
 if (pimple.nCorrPISO()<=1)
 
 if (pimple.transonic())
 
MRF makeRelative (fvc::interpolate(rho), phiHbyA)
 
volScalarField rhorAtU ("rhorAtU", rho *rAtU)
 
 while (pimple.correctNonOrthogonal())
 
U correctBoundaryConditions ()
 
fvOptions correct (U)
 
 if (thermo.dpdt())
 
 if (!pimple.transonic())
 

Variables

 rho = thermo.rho()
 
 HbyA = rAU*UEqn().H()
 
 else
 
 phiHbyA = fvc::interpolate(rho*(rAtU - rAU))*fvc::snGrad(p)*mesh.magSf()
 
 U = HbyA - rAtU*fvc::grad(p)
 
 K = 0.5*magSqr(U)
 

Function Documentation

◆ relax()

rho relax ( )

◆ rAU()

volScalarField rAU ( 1.0/  UEqn).A()

Referenced by if().

Here is the caller graph for this function:

◆ rAtU()

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

Referenced by if().

Here is the caller graph for this function:

◆ HbyA()

volVectorField HbyA ( "HbyA"  ,
U   
)

◆ if() [1/4]

if ( pimple.nCorrPISO()<=  1)

Definition at line 11 of file pcEqn.H.

References UEqn().

Here is the call graph for this function:

◆ if() [2/4]

if ( pimple.  transonic())

◆ makeRelative()

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

◆ rhorAtU()

volScalarField rhorAtU ( "rhorAtU"  ,
rho rAtU 
)

Referenced by if(), and while().

Here is the caller graph for this function:

◆ while()

while ( pimple.  correctNonOrthogonal())

Definition at line 79 of file pcEqn.H.

References Foam::fvc::ddt(), Foam::fvc::div(), fvOptions, Foam::fvc::laplacian(), mesh, p, phi, phiHbyA, pimple, psi, rho, and rhorAtU().

Here is the call graph for this function:

◆ correctBoundaryConditions()

U correctBoundaryConditions ( )

◆ correct()

fvOptions correct ( U  )

◆ if() [3/4]

if ( thermo.  dpdt())

Definition at line 110 of file pcEqn.H.

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

Here is the call graph for this function:

◆ if() [4/4]

if ( !pimple.  transonic())

Definition at line 120 of file pcEqn.H.

References rho.

Variable Documentation

◆ rho

rho = thermo.rho()

Definition at line 1 of file pcEqn.H.

Referenced by if(), and while().

◆ HbyA

HbyA = rAU*UEqn().H()

Definition at line 9 of file pcEqn.H.

Referenced by if().

◆ else

else
Initial value:

Definition at line 62 of file pcEqn.H.

◆ phiHbyA

phiHbyA = fvc::interpolate(rho*(rAtU - rAU))*fvc::snGrad(p)*mesh.magSf()

Definition at line 74 of file pcEqn.H.

Referenced by while().

◆ U

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

Definition at line 105 of file pcEqn.H.

Referenced by if().

◆ K

K = 0.5*magSqr(U)

Definition at line 108 of file pcEqn.H.

phi
surfaceScalarField & phi
Definition: setRegionFluidFields.H:8
Foam::MULES::interpolate
tmp< surfaceScalarField > interpolate(const RhoType &rho)
Definition: IMULESTemplates.C:40
rAU
volScalarField rAU(1.0/UEqn().A())
HbyA
HbyA
Definition: pcEqn.H:9
phiHbyA
phiHbyA
Definition: pcEqn.H:74
Foam::fvc::ddtCorr
tmp< GeometricField< typename flux< Type >::type, fvsPatchField, surfaceMesh > > ddtCorr(const GeometricField< Type, fvPatchField, volMesh > &U, const GeometricField< Type, fvsPatchField, surfaceMesh > &Uf)
Definition: fvcDdt.C:155
rho
rho
Definition: pcEqn.H:1
U
U
Definition: pcEqn.H:105
mesh
dynamicFvMesh & mesh
Definition: createDynamicFvMesh.H:18
Foam::surfaceScalarField
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
Definition: surfaceFieldsFwd.H:52