Functions | Variables
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

volScalarField rAU ("rAU", 1.0/UEqn().A())
 
surfaceScalarField rhorAUf ("rhorAUf", fvc::interpolate(rho *rAU))
 
volVectorField HbyA ("HbyA", U)
 
surfaceScalarField phig (-rhorAUf *ghf *fvc::snGrad(rho) *mesh.magSf())
 
surfaceScalarField phiHbyA ("phiHbyA",((fvc::interpolate(rho *HbyA) &mesh.Sf())+rhorAUf *fvc::ddtCorr(rho, U, phi))+phig)
 
MRF makeRelative (fvc::interpolate(rho), phiHbyA)
 
 setSnGrad< fixedFluxPressureFvPatchScalarField > (p_rgh.boundaryField(),(phiHbyA.boundaryField() - MRF.relative(mesh.Sf().boundaryField() &U.boundaryField()) *rho.boundaryField())/(mesh.magSf().boundaryField() *rhorAUf.boundaryField()))
 
tmp< fvScalarMatrix > p_rghDDtEqn (new fvScalarMatrix(p_rgh, dimMass/dimTime))
 
 for (int nonOrth=0;nonOrth<=nNonOrthCorr;nonOrth++)
 
 if (thermo.dpdt())
 
 if (compressible)
 
 if (closedVolume &&compressible)
 

Variables

dimensionedScalar compressibility = fvc::domainIntegrate(psi)
 
bool compressible = (compressibility.value() > SMALL)
 
 rho = thermo.rho()
 
 HbyA = rAU*UEqn().H()
 
 p = p_rgh + rho*gh
 

Function Documentation

◆ rAU()

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

◆ rhorAUf()

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

◆ HbyA()

volVectorField HbyA ( "HbyA"  ,
U   
)

◆ phig()

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

◆ phiHbyA()

surfaceScalarField phiHbyA ( "phiHbyA"  ,
((fvc::interpolate(rho *HbyA) &mesh.Sf())+rhorAUf *fvc::ddtCorr(rho, U, phi))+  phig 
)

◆ makeRelative()

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

◆ setSnGrad< fixedFluxPressureFvPatchScalarField >()

setSnGrad< fixedFluxPressureFvPatchScalarField > ( p_rgh.  boundaryField(),
(phiHbyA.boundaryField() - MRF.relative(mesh.Sf().boundaryField() &U.boundaryField()) *rho.boundaryField())/(mesh.magSf().boundaryField() *rhorAUf.boundaryField())   
)

◆ p_rghDDtEqn()

tmp<fvScalarMatrix> p_rghDDtEqn ( new   fvScalarMatrixp_rgh, dimMass/dimTime)

◆ for()

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

Definition at line 59 of file pEqn.H.

References Foam::fvc::div(), fvOptions, HbyA, Foam::fvc::laplacian(), Foam::magSqr(), mesh, nCorr, nNonOrthCorr, nOuterCorr, p_rgh, p_rghDDtEqn(), phi, phig(), phiHbyA, rAU(), Foam::fvc::reconstruct(), rhorAUf(), and U.

Here is the call graph for this function:

◆ if() [1/3]

if ( thermo.  dpdt())

Definition at line 101 of file pEqn.H.

References Foam::fvc::ddt(), dpdt, and p.

Here is the call graph for this function:

◆ if() [2/3]

if ( compressible  )

Definition at line 106 of file pEqn.H.

◆ if() [3/3]

if ( closedVolume &&  compressible)

Definition at line 117 of file pEqn.H.

References compressibility, Foam::fvc::domainIntegrate(), gh, initialMass, p, p_rgh, and rho.

Here is the call graph for this function:

Variable Documentation

◆ compressibility

dimensionedScalar compressibility = fvc::domainIntegrate(psi)

Definition at line 3 of file pEqn.H.

◆ compressible

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

Definition at line 4 of file pEqn.H.

◆ rho

rho = thermo.rho()

Definition at line 6 of file pEqn.H.

◆ HbyA

HbyA = rAU*UEqn().H()

Definition at line 12 of file pEqn.H.

◆ p

p = p_rgh + rho*gh

Definition at line 98 of file pEqn.H.