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

Go to the source code of this file.


volScalarField rAU (1.0/UEqn.A())
surfaceScalarField rhorAUf ("rhorAUf", fvc::interpolate(rho *rAU))
volVectorField HbyA (constrainHbyA(rAU *UEqn.H(), U, p))
 if (pimple.nCorrPISO()<=1)
 if (pimple.transonic())
MRF makeRelative (fvc::interpolate(rho), phiHbyA)
 constrainPressure (p, rho, U, phiHbyA, rhorAUf, MRF)
 while (pimple.correctNonOrthogonal())
p relax ()
U correctBoundaryConditions ()
fvOptions correct (U)
 if (pressureControl.limit(p))
 if (thermo.dpdt())


 rho = thermo.rho()
 U = HbyA - rAU*fvc::grad(p)
 K = 0.5*magSqr(U)

Function Documentation

◆ rAU()

volScalarField rAU ( 1.0/UEqn.  A())

◆ rhorAUf()

surfaceScalarField rhorAUf ( "rhorAUf"  ,
fvc::interpolate(rho *rAU  

◆ HbyA()

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

◆ if() [1/4]

if ( pimple.nCorrPISO()<=  1)

Definition at line 7 of file pEqn.H.

References tUEqn().

Here is the call graph for this function:

◆ if() [2/4]

if ( pimple.  transonic())

Definition at line 12 of file pEqn.H.

References Foam::fvc::ddt(), Foam::fvc::ddtCorr(), Foam::fvc::div(), Foam::fvc::flux(), fvOptions, HbyA, Foam::fvc::interpolate(), Foam::fvc::laplacian(), mesh, MRF, p, phi, phid(), pimple, psi, rho, rhorAUf(), and U.

Here is the call graph for this function:

◆ makeRelative()

MRF makeRelative ( fvc::interpolate(rho ,

◆ constrainPressure()

constrainPressure ( p  ,
rho  ,
U  ,
phiHbyA  ,
rhorAUf  ,

◆ while()

while ( pimple.  correctNonOrthogonal())

Definition at line 61 of file pEqn.H.

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

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 92 of file pEqn.H.

References p, rho, and thermo.

◆ if() [4/4]

if ( thermo.  dpdt())

Definition at line 98 of file pEqn.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 pEqn.H.

◆ else

Initial value:
Definition: pEqn.H:83
Definition: pEqn.H:20
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
surfaceScalarField rhorAUf("rhorAUf", fvc::interpolate(rho *rAU))
volVectorField & HbyA
Definition: pEqn.H:13
Definition: pEqn.H:18
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: pEqn.H:1

Definition at line 46 of file pEqn.H.

◆ U

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

Definition at line 87 of file pEqn.H.

◆ K

K = 0.5*magSqr(U)

Definition at line 90 of file pEqn.H.