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

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 makeRelative (fvc::interpolate(rho), phiHbyA)
 
 constrainPressure (p_rgh, rho, U, phiHbyA, rhorAUf, MRF)
 
 for (int nonOrth=0;nonOrth<=nNonOrthCorr;nonOrth++)
 
 if (closedVolume)
 
rho relax ()
 

Variables

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

Function Documentation

◆ 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  
)

◆ 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 28 of file pEqn.H.

References fvOptions, HbyA, nNonOrthCorr, p_rgh, phi, phig(), phiHbyA, pRefCell, rAU, rhorAUf(), and U.

Here is the call graph for this function:

◆ if()

if ( closedVolume  )

Definition at line 61 of file pEqn.H.

References compressibility, compressible, gh, initialMass, p, p_rgh, pRefCell, pRefValue, psi, and rho.

◆ relax()

rho relax ( )

Variable Documentation

◆ closedVolume

bool closedVolume = adjustPhi(phiHbyA, U, p_rgh)

Definition at line 17 of file pEqn.H.

◆ phiHbyA

phiHbyA = phig

Definition at line 19 of file pEqn.H.

◆ compressibility

dimensionedScalar compressibility = fvc::domainIntegrate(psi)

Definition at line 24 of file pEqn.H.

◆ compressible

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

Definition at line 25 of file pEqn.H.

◆ p

p = p_rgh + rho*gh

Definition at line 55 of file pEqn.H.

◆ rho

rho = thermo.rho()

Definition at line 80 of file pEqn.H.