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.


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()))
thermo rho ()-
 for (int nonOrth=0;nonOrth<=nNonOrthCorr;nonOrth++)
 if (thermo.dpdt())


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

Function Documentation

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

Definition at line 50 of file pEqn.H.

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

Here is the call graph for this function:

if ( thermo.  dpdt())

Definition at line 91 of file pEqn.H.

References compressibility, Foam::fvc::ddt(), Foam::fvc::domainIntegrate(), dpdt, gh, initialMass, p, rho, and thermo.

Here is the call graph for this function:

Variable Documentation

dimensionedScalar compressibility = fvc::domainIntegrate(psi)

Definition at line 3 of file pEqn.H.

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

Definition at line 4 of file pEqn.H.

rho = thermo.rho()

Definition at line 6 of file pEqn.H.

HbyA = rAU*UEqn().H()

Definition at line 12 of file pEqn.H.

p = p_rgh + rho*gh

Definition at line 88 of file pEqn.H.