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))
 
surfaceScalarField phig ("phig", -rhorAUf *ghf *fvc::snGrad(rho) *mesh.magSf())
 
surfaceScalarField phiHbyA ("phiHbyA",(fvc::flux(rho *HbyA)+MRF.zeroFilter(rhorAUf *fvc::ddtCorr(rho, U, phi)))+phig)
 
MRF makeRelative (fvc::interpolate(rho), phiHbyA)
 
 constrainPressure (p_rgh, rho, U, phiHbyA, rhorAUf, MRF)
 
 while (pimple.correctNonOrthogonal())
 
 if (thermo.dpdt())
 

Variables

 rho = thermo.rho()
 
 p = p_rgh + rho*gh + pRef
 
 K = 0.5*magSqr(U)
 

Function Documentation

◆ rAU()

volScalarField rAU ( 1.0/UEqn.  A())

◆ rhorAUf()

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

Referenced by if(), and while().

Here is the caller graph for this function:

◆ HbyA()

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

◆ phig()

surfaceScalarField phig ( "phig"  ,
-rhorAUf *ghf fvc::snGradrho) *mesh.magSf( 
)

Referenced by mixtureKEpsilon< BasicTurbulenceModel >::correct(), if(), and while().

Here is the caller graph for this function:

◆ phiHbyA()

surfaceScalarField phiHbyA ( "phiHbyA"  ,
(fvc::flux(rho *HbyA)+MRF.zeroFilter(rhorAUf *fvc::ddtCorr(rho, U, phi)))+  phig 
)

◆ makeRelative()

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

Referenced by if(), and while().

Here is the caller graph for this function:

◆ constrainPressure()

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

Referenced by if().

Here is the caller graph for this function:

◆ while()

while ( pimple.  correctNonOrthogonal())

Definition at line 24 of file pEqn.H.

References Foam::fvc::ddt(), Foam::fvc::div(), fvOptions, gh, HbyA, Foam::fvc::laplacian(), p_rgh, phi, phig(), phiHbyA, pimple, pRef, psi, rAU, Foam::fvc::reconstruct(), rho, rhorAUf(), surfaceFilm, and U.

Here is the call graph for this function:

◆ if()

if ( thermo.  dpdt())

Definition at line 57 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.

Referenced by forAllConstIter(), forAllIter(), if(), and while().

◆ p

p = p_rgh + rho*gh + pRef

Definition at line 50 of file pEqn.H.

Referenced by if(), and while().

◆ K

K = 0.5*magSqr(U)

Definition at line 55 of file pEqn.H.