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

Go to the source code of this file.

Functions

 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::interpolate(rho) *fvc::flux(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, rho.name()))
 
 while (pimple.correctNonOrthogonal())
 
 if (limitedp)
 
thermo correctRho (psi *p - psip0)
 
 if (pimple.simpleRho())
 
 if (thermo.dpdt())
 

Variables

 p = p_rgh + rho*gh
 
bool limitedp = pressureControl.limit(p)
 

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::interpolate(rho) *fvc::flux(HbyA)+MRF.zeroFilter(rhorAUf *fvc::ddtCorr(rho, U, phi)))+  phig 
)

◆ makeRelative()

MRF makeRelative ( fvc::interpolate(rho ,
phiHbyA   
)

◆ constrainPressure()

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

◆ p_rghDDtEqn()

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

Referenced by if().

Here is the caller graph for this function:

◆ while()

while ( pimple.  correctNonOrthogonal())

Definition at line 41 of file pEqn.H.

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

Here is the call graph for this function:

◆ if() [2/4]

if ( limitedp  )

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

References rho, and thermo.

◆ if() [4/4]

if ( thermo.  dpdt())

Definition at line 90 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.

◆ limitedp

bool limitedp = pressureControl.limit(p)

Definition at line 67 of file pEqn.H.

Referenced by if().