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

Go to the source code of this file.

Functions

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)
 
 if (pimple.transonic())
 
MRF makeRelative (fvc::interpolate(rho), phiHbyA)
 
volScalarField rhorAtU ("rhorAtU", rho *rAtU)
 
 constrainPressure (p, rho, U, phiHbyA, rhorAtU, MRF)
 
 while (pimple.correctNonOrthogonal())
 
p relax ()
 
U correctBoundaryConditions ()
 
fvOptions correct (U)
 
 if (pressureControl.limit(p))
 
 if (thermo.dpdt())
 

Variables

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

Function Documentation

◆ 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 ( constrainHbyA(rAU *UEqn.H(), U, p )

◆ if() [1/4]

if ( pimple.nCorrPISO()<=  1)

Definition at line 7 of file pcEqn.H.

References tUEqn().

Here is the call graph for this function:

◆ if() [2/4]

if ( pimple.  transonic())

◆ makeRelative()

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

Referenced by if().

Here is the caller graph for this function:

◆ rhorAtU()

volScalarField rhorAtU ( "rhorAtU"  ,
rho rAtU 
)

Referenced by if(), and while().

Here is the caller graph for this function:

◆ constrainPressure()

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

Referenced by if().

Here is the caller graph for this function:

◆ while()

while ( pimple.  correctNonOrthogonal())

Definition at line 81 of file pcEqn.H.

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

Here is the call graph for this function:

◆ relax()

p relax ( )

◆ correctBoundaryConditions()

U correctBoundaryConditions ( )

◆ correct()

fvOptions correct ( U  )

◆ if() [3/4]

if ( pressureControl.  limitp)

Definition at line 112 of file pcEqn.H.

References p, rho, and thermo.

◆ if() [4/4]

if ( thermo.  dpdt())

Definition at line 118 of file pcEqn.H.

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

Here is the call graph for this function:

Variable Documentation

◆ rho

rho = thermo.rho()

Definition at line 1 of file pcEqn.H.

Referenced by if(), and while().

◆ else

else
Initial value:
{
(
"phiHbyA",
(
)
)
surfaceScalarField & phi
IOMRFZoneList & MRF
volScalarField rAU(1.0/UEqn.A())
tmp< GeometricField< typename flux< Type >::type, fvsPatchField, surfaceMesh > > ddtCorr(const GeometricField< Type, fvPatchField, volMesh > &U, const GeometricField< Type, fvsPatchField, surfaceMesh > &Uf)
Definition: fvcDdt.C:170
HbyA
Definition: pcEqn.H:74
phiHbyA
Definition: pcEqn.H:73
rho
Definition: pcEqn.H:1
U
Definition: pcEqn.H:107
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.
tmp< surfaceScalarField > flux(const volVectorField &vvf)
Return the face-flux field obtained from the given volVectorField.
Definition: fvcFlux.C:32
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField

Definition at line 61 of file pcEqn.H.

◆ phiHbyA

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

Definition at line 73 of file pcEqn.H.

Referenced by if(), NullMRF::relative(), and while().

◆ HbyA

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

Definition at line 74 of file pcEqn.H.

Referenced by Foam::constrainHbyA(), and if().

◆ U

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

Definition at line 107 of file pcEqn.H.

Referenced by if().

◆ K

K = 0.5*magSqr(U)

Definition at line 110 of file pcEqn.H.