pEqn.H File Reference
Include dependency graph for pEqn.H:

Go to the source code of this file.


 if (!pimple.simpleRho())
const volScalarField psip0 (psi *p)
volScalarField rAU (1.0/UEqn.A())
surfaceScalarField rhorAUf ("rhorAUf", fvc::interpolate(rho *rAU))
volVectorField HbyA (constrainHbyA(rAU *UEqn.H(), U, p))
surfaceScalarField phig (-rhorAUf *ghf *fvc::snGrad(rho) *mesh.magSf())
surfaceScalarField phiHbyA ("phiHbyA",(fvc::flux(rho *HbyA)+MRF.zeroFilter(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)==parcels.Srho()+surfaceFilm.Srho()+fvOptions(psi, p_rgh,
 while (pimple.correctNonOrthogonal())
 if (pressureControl.limit(p))
thermo correctRho (psi *p - psip0)
 if (pimple.simpleRho())
 if (thermo.dpdt())


 p = p_rgh + rho*gh

Function Documentation

◆ if() [1/4]

◆ psip0()

const volScalarField psip0 ( psi p)

◆ rAU()

volScalarField rAU ( 1.0/UEqn.  A())

◆ rhorAUf()

surfaceScalarField rhorAUf ( "rhorAUf"  ,
fvc::interpolate(rho *rAU  

◆ HbyA()

volVectorField HbyA ( constrainHbyA(rAU *UEqn.H(), U, p )

◆ phig()

surfaceScalarField phig ( -rhorAUf *ghf fvc::snGradrho) *mesh.magSf()

◆ phiHbyA()

surfaceScalarField phiHbyA ( "phiHbyA"  ,
(fvc::flux(rho *HbyA)+MRF.zeroFilter(rhorAUf *fvc::ddtCorr(rho, U, phi)))+  phig 

◆ makeRelative()

MRF makeRelative ( fvc::interpolate(rho ,

◆ constrainPressure()

constrainPressure ( p_rgh  ,
rho  ,
U  ,
phiHbyA  ,
rhorAUf  ,

◆ p_rghDDtEqn()

fvScalarMatrix p_rghDDtEqn ( fvc::ddt(rho)+psi *correction(fvm::ddt(p_rgh))+fvc::div(phiHbyA = =parcels.Srho()+surfaceFilm.Srho()+fvOptions(psip_rgh,

◆ while()

while ( pimple.  correctNonOrthogonal())

Definition at line 41 of file pEqn.H.

References fvOptions, Foam::fvc::laplacian(), Foam::magSqr(), p_rgh, phi, phig(), pimple, Foam::fvc::reconstruct(), and U.

Here is the call graph for this function:

◆ if() [2/4]

if ( pressureControl.  limitp)

Definition at line 67 of file pEqn.H.

References gh, p_rgh, psi, rho, and thermo.

◆ correctRho()

thermo correctRho ( psi *p psip0)

◆ if() [3/4]

if ( pimple.  simpleRho())

Definition at line 78 of file pEqn.H.

References rho, and thermo.

◆ if() [4/4]

if ( thermo.  dpdt())

Definition at line 83 of file pEqn.H.

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

Here is the call graph for this function:

Variable Documentation

◆ p

p = p_rgh + rho*gh

Definition at line 65 of file pEqn.H.