pEqn.H File Reference
Include dependency graph for pEqn.H:

Go to the source code of this file.

Functions

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

Variables

 rho = thermo.rho()
 
 else
 
 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/2]

if ( pimple.  transonic())

Definition at line 7 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(), MRF, p, phi, pimple, psi, rho, rhorAUf(), and U.

Here is the call graph for this function:

◆ makeRelative()

MRF makeRelative ( phiHbyA  )

◆ constrainPressure()

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

◆ while()

while ( pimple.  correctNonOrthogonal())

Definition at line 56 of file pEqn.H.

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

Here is the call graph for this function:

◆ correctBoundaryConditions()

U correctBoundaryConditions ( )

◆ correct()

fvOptions correct ( U  )

◆ if() [2/2]

if ( thermo.  dpdt())

Definition at line 84 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

else
Initial value:
{
(
"phiHbyA",
(
)
)
rho
Definition: pEqn.H:1
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
phi
Definition: pEqn.H:104
phiHbyA
Definition: pEqn.H:32
U
Definition: pEqn.H:72
volVectorField & HbyA
Definition: pEqn.H:13
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
surfaceScalarField rhorAUf("rhorAUf", fvc::interpolate(rho *rAU))

Definition at line 41 of file pEqn.H.

◆ U

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

Definition at line 79 of file pEqn.H.

◆ K

K = 0.5*magSqr(U)

Definition at line 82 of file pEqn.H.