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   
)

◆ 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 78 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 109 of file pcEqn.H.

References p, rho, and thermo.

◆ if() [4/4]

if ( thermo.  dpdt())

Definition at line 115 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
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:71
phiHbyA
Definition: pcEqn.H:70
rho
Definition: pcEqn.H:1
U
Definition: pcEqn.H:104
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 58 of file pcEqn.H.

◆ phiHbyA

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

Definition at line 70 of file pcEqn.H.

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

◆ HbyA

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

Definition at line 71 of file pcEqn.H.

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

◆ U

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

Definition at line 104 of file pcEqn.H.

Referenced by if().

◆ K

K = 0.5*magSqr(U)

Definition at line 107 of file pcEqn.H.