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

rho relax ()
 
volScalarField rAU ("rAU", 1.0/UEqn.A())
 
surfaceScalarField rhorAUf ("rhorAUf", fvc::interpolate(rho *rAU))
 
volVectorField HbyA (constrainHbyA(rAU *UEqn.H(), U, p_rgh))
 
tUEqn clear ()
 
surfaceScalarField phig (-rhorAUf *ghf *fvc::snGrad(rho)*mesh.magSf())
 
surfaceScalarField phiHbyA ("phiHbyA", fvc::flux(rho *HbyA))
 
MRF makeRelative (fvc::interpolate(rho), phiHbyA)
 
 constrainPressure (p_rgh, rho, U, phiHbyA, rhorAUf, MRF)
 
 for (int nonOrth=0;nonOrth<=nNonOrthCorr;nonOrth++)
 
 if (closedVolume &&compressible)
 

Variables

 rho = max(rho, rhoMin[i])
 
bool closedVolume = adjustPhi(phiHbyA, U, p_rgh)
 
 phiHbyA = phig
 
dimensionedScalar compressibility = fvc::domainIntegrate(psi)
 
bool compressible = (compressibility.value() > SMALL)
 
 p = p_rgh + rho*gh
 

Function Documentation

rho relax ( )
volScalarField rAU ( "rAU"  ,
1.0/UEqn.  A() 
)
surfaceScalarField rhorAUf ( "rhorAUf"  ,
fvc::interpolate(rho *rAU  
)
volVectorField HbyA ( constrainHbyA(rAU *UEqn.H(), U, p_rgh )
tUEqn clear ( )
surfaceScalarField phig ( -rhorAUf *ghf fvc::snGradrho)*mesh.magSf()
surfaceScalarField phiHbyA ( "phiHbyA"  ,
fvc::flux(rho *HbyA  
)
MRF makeRelative ( fvc::interpolate(rho ,
phiHbyA   
)
constrainPressure ( p_rgh  ,
rho  ,
U  ,
phiHbyA  ,
rhorAUf  ,
MRF   
)
for ( int  nonOrth = 0; nonOrth<=nNonOrthCorr; nonOrth++)

Definition at line 33 of file pEqn.H.

References Foam::fvc::div(), fvOptions, Foam::getRefCellValue(), HbyA, Foam::fvc::laplacian(), nNonOrthCorr, p_rgh, phi, phig(), phiHbyA, pRefCell, pRefValue, rAU(), Foam::fvc::reconstruct(), rhorAUf(), and U.

Here is the call graph for this function:

if ( closedVolume &&  compressible)

Definition at line 70 of file pEqn.H.

References compressibility, Foam::fvc::domainIntegrate(), Foam::endl(), gh, Foam::Info, initialMass, Foam::max(), Foam::min(), p, p_rgh, rho, rhoMax(), rhoMin(), and thermo.

Here is the call graph for this function:

Variable Documentation

rho = max(rho, rhoMin[i])

Definition at line 3 of file pEqn.H.

bool closedVolume = adjustPhi(phiHbyA, U, p_rgh)

Definition at line 22 of file pEqn.H.

phiHbyA = phig

Definition at line 24 of file pEqn.H.

dimensionedScalar compressibility = fvc::domainIntegrate(psi)

Definition at line 29 of file pEqn.H.

Referenced by if().

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

Definition at line 30 of file pEqn.H.

Referenced by turbulenceFields::execute(), and NamedEnum< Enum, nEnum >::names().

p = p_rgh + rho*gh

Definition at line 64 of file pEqn.H.