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

◆ relax()

rho relax ( )

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

◆ clear()

tUEqn clear ( )

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

◆ if()

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

rho = max(rho, rhoMin[i])

Definition at line 3 of file pEqn.H.

◆ closedVolume

bool closedVolume = adjustPhi(phiHbyA, U, p_rgh)

Definition at line 22 of file pEqn.H.

◆ phiHbyA

phiHbyA = phig

Definition at line 24 of file pEqn.H.

◆ compressibility

dimensionedScalar compressibility = fvc::domainIntegrate(psi)

Definition at line 29 of file pEqn.H.

Referenced by if().

◆ compressible

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

Definition at line 30 of file pEqn.H.

Referenced by turbulenceFields::execute().

◆ p

p = p_rgh + rho*gh

Definition at line 64 of file pEqn.H.