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

Definition at line 7 of file pEqn.H.

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

Here is the call graph for this function:

◆ 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(), fvModels, Foam::fvc::laplacian(), p, phi, pimple, psi, rho, and rhorAUf().

Here is the call graph for this function:

◆ correctBoundaryConditions()

U correctBoundaryConditions ( )

◆ constrain()

fvConstraints constrain ( U  )

◆ n()

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

◆ 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))
)
)
IOMRFZoneList & MRF
rhoUf
Definition: pEqn.H:94
surfaceScalarField rhorAUf("rhorAUf", fvc::interpolate(rho *rAU))
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
rho
Definition: pEqn.H:1
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

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