pEqn.H File Reference
Include dependency graph for pEqn.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

const volScalarField psip0 (psi *p)
 
volScalarField rAU ("rAU", 1.0/UEqn.A())
 
surfaceScalarField rhorAUf ("rhorAUf", fvc::interpolate(rho *rAU))
 
volVectorField HbyA (constrainHbyA(rAU *UEqn.H(), U, p_rgh))
 
surfaceScalarField 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)
 
 for (int nonOrth=0;nonOrth<=nNonOrthCorr;nonOrth++)
 
pressureControl limit (p)
 
 if (closedVolume)
 
 if (thermo.dpdt())
 

Variables

bool closedVolume = p_rgh.needReference()
 
dimensionedScalar compressibility = fvc::domainIntegrate(psi)
 
bool compressible = (compressibility.value() > SMALL)
 
 rho = thermo.rho()
 
 p = p_rgh + rho*gh
 
 else
 

Function Documentation

◆ psip0()

const volScalarField psip0 ( psi p)

◆ rAU()

volScalarField rAU ( "rAU"  ,
1.0/UEqn.  A() 
)

◆ rhorAUf()

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

◆ HbyA()

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

◆ phig()

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

◆ phiHbyA()

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

◆ makeRelative()

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

◆ constrainPressure()

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

◆ for()

for ( int  nonOrth = 0; nonOrth<=nNonOrthCorr; nonOrth++)

Definition at line 39 of file pEqn.H.

References compressible, fvOptions, HbyA, mesh, nCorr, nNonOrthCorr, nOuterCorr, p_rgh, p_rghDDtEqn(), phi, phig(), phiHbyA, pRefCell, pRefValue, rAU, rhorAUf(), and U.

Here is the call graph for this function:

◆ limit()

pressureControl limit ( p  )

◆ if() [1/2]

if ( closedVolume  )

Definition at line 90 of file pEqn.H.

References compressibility, compressible, gh, initialMass, p, p_rgh, pRefCell, pRefValue, psi, psip0(), rho, rhoMax, and rhoMin.

Here is the call graph for this function:

◆ if() [2/2]

if ( thermo.  dpdt())

Definition at line 122 of file pEqn.H.

References dpdt, and p.

Variable Documentation

◆ closedVolume

bool closedVolume = p_rgh.needReference()

Definition at line 1 of file pEqn.H.

◆ compressibility

dimensionedScalar compressibility = fvc::domainIntegrate(psi)

Definition at line 2 of file pEqn.H.

◆ compressible

bool compressible = (compressibility.value() > SMALL)

Definition at line 3 of file pEqn.H.

◆ rho

rho = thermo.rho()

Definition at line 5 of file pEqn.H.

◆ p

p = p_rgh + rho*gh

Definition at line 82 of file pEqn.H.

◆ else

else
Initial value:
{
thermo.correctRho(psi*p - psip0, rhoMin, rhoMax)
Basic thermodynamics type based on the use of fitting functions for cp, h, s obtained from the templa...
volScalarField & p
const volScalarField & psi
const volScalarField psip0(psi *p)
const dimensionedScalar rhoMin
const dimensionedScalar rhoMax

Definition at line 111 of file pEqn.H.