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

Go to the source code of this file.

Functions

thermo rho ()-
 
volScalarField rAU (1.0/UEqn.A())
 
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)+rhorAUf *fvc::ddtCorr(rho, U, phi))+phig)
 
MRF makeRelative (fvc::interpolate(rho), phiHbyA)
 
 constrainPressure (p_rgh, rho, U, phiHbyA, rhorAUf, MRF)
 
fvScalarMatrix p_rghDDtEqn (fvc::ddt(rho)+psi *correction(fvm::ddt(p_rgh))+fvc::div(phiHbyA)==fvOptions(psi, p_rgh, rho.name()))
 
 while (pimple.correctNonOrthogonal())
 
 if (thermo.dpdt())
 

Variables

 p = p_rgh + rho*gh
 

Function Documentation

thermo rho ( )
volScalarField rAU ( 1.0/UEqn.  A())
surfaceScalarField rhorAUf ( "rhorAUf"  ,
fvc::interpolate(rho *rAU  
)
volVectorField HbyA ( constrainHbyA(rAU *UEqn.H(), U, p_rgh )
surfaceScalarField phig ( -rhorAUf *ghf fvc::snGradrho)*mesh.magSf()
surfaceScalarField phiHbyA ( "phiHbyA"  ,
(fvc::flux(rho *HbyA)+rhorAUf *fvc::ddtCorr(rho, U, phi))+  phig 
)
MRF makeRelative ( fvc::interpolate(rho ,
phiHbyA   
)
constrainPressure ( p_rgh  ,
rho  ,
U  ,
phiHbyA  ,
rhorAUf  ,
MRF   
)
fvScalarMatrix p_rghDDtEqn ( fvc::ddt(rho)+psi *correction(fvm::ddt(p_rgh))+fvc::div(phiHbyA = =fvOptions(psip_rgh, rho.name()))
while ( pimple.  correctNonOrthogonal())

Definition at line 37 of file pEqn.H.

References fvOptions, Foam::fvc::laplacian(), Foam::magSqr(), mesh, p_rghDDtEqn(), phi, phig(), phiHbyA, pimple, rAU(), Foam::fvc::reconstruct(), rhorAUf(), and U.

Here is the call graph for this function:

if ( thermo.  dpdt())

Definition at line 69 of file pEqn.H.

References Foam::fvc::ddt(), dpdt, and p.

Here is the call graph for this function:

Variable Documentation

p = p_rgh + rho*gh

Definition at line 64 of file pEqn.H.