Functions | Variables
pEqn.H File Reference
Include dependency graph for pEqn.H:

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)
 
 while (simple.correctNonOrthogonal())
 
 if (!thermo.incompressible() &&closedVolume)
 

Variables

bool closedVolume = adjustPhi(phiHbyA, U, p_rgh)
 
 phiHbyA = phig
 
 p = p_rgh + rho*gh
 
 rho = thermo.rho()
 

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   
)

◆ while()

while ( simple.  correctNonOrthogonal())

Definition at line 27 of file pEqn.H.

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

Here is the call graph for this function:

◆ if()

if ( !thermo.incompressible() &&  closedVolume)

Definition at line 59 of file pEqn.H.

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

Here is the call graph for this function:

Variable Documentation

◆ closedVolume

bool closedVolume = adjustPhi(phiHbyA, U, p_rgh)

Definition at line 20 of file pEqn.H.

◆ phiHbyA

phiHbyA = phig

Definition at line 22 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 66 of file pEqn.H.