Functions | Variables
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 (fvc::interpolate(rho), phiHbyA)
 
 constrainPressure (p, rho, U, phiHbyA, rhorAUf, MRF)
 
 while (pimple.correctNonOrthogonal())
 
U correctBoundaryConditions ()
 
fvOptions correct (U)
 
surfaceVectorField n (mesh.Sf()/mesh.magSf())
 
 if (thermo.dpdt())
 

Variables

 rho = thermo.rho()
 
 else
 
 U = HbyA - rAU*fvc::grad(p)
 
 K = 0.5*magSqr(U)
 
 rhoUf = n*(fvc::absolute(phi, rho, U)/mesh.magSf() - (n & rhoUf))
 

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())

◆ makeRelative()

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

◆ constrainPressure()

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

◆ while()

while ( pimple.  correctNonOrthogonal())

Definition at line 63 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:

◆ correctBoundaryConditions()

U correctBoundaryConditions ( )

◆ correct()

fvOptions correct ( U  )

◆ n()

surfaceVectorField n ( mesh.  Sf)/mesh.magSf()

Referenced by while().

Here is the caller graph for this function:

◆ if() [2/2]

if ( thermo.  dpdt())

Definition at line 97 of file pEqn.H.

References Foam::fvc::ddt(), Foam::fvc::div(), dpdt, Foam::fvc::meshPhi(), p, rho, and U.

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",
(
+ MRF.zeroFilter(rhorAUf*fvc::ddtCorr(rho, U, rhoUf))
)
)
rho
Definition: pEqn.H:1
IOMRFZoneList & MRF
rhoUf
Definition: pEqn.H:94
phiHbyA
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
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 47 of file pEqn.H.

◆ U

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

Definition at line 86 of file pEqn.H.

◆ K

K = 0.5*magSqr(U)

Definition at line 89 of file pEqn.H.

◆ rhoUf

rhoUf = n*(fvc::absolute(phi, rho, U)/mesh.magSf() - (n & rhoUf))

Definition at line 94 of file pEqn.H.

Referenced by if(), and while().