Go to the source code of this file.
|
| const volScalarField | psip0 (psi *p) |
| |
| volScalarField | rAU ("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)+MRF.zeroFilter(rhorAUf *fvc::ddtCorr(rho, U, phi)))+phig) |
| |
| MRF | makeRelative (fvc::interpolate(rho), phiHbyA) |
| |
| | constrainPressure (p_rgh, rho, U, phiHbyA, rhorAUf, MRF) |
| |
| | for (int nonOrth=0;nonOrth<=nNonOrthCorr;nonOrth++) |
| |
| pressureControl | limit (p) |
| |
| | if (closedVolume) |
| |
| | if (thermo.dpdt()) |
| |
◆ psip0()
| const volScalarField psip0 |
( |
psi * |
p | ) |
|
◆ rAU()
| volScalarField rAU |
( |
"rAU" |
, |
|
|
1.0/UEqn. |
A() |
|
) |
| |
◆ rhorAUf()
◆ HbyA()
◆ 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()
◆ constrainPressure()
◆ for()
Definition at line 39 of file pEqn.H.
References compressible, fvOptions, Foam::getRefCellValue(), HbyA, Foam::fac::laplacian(), Foam::magSqr(), nCorr, nNonOrthCorr, nOuterCorr, p_rgh, p_rghDDtEqn(), phi, phig(), phiHbyA, pRefCell, pRefValue, rAU(), Foam::fvc::reconstruct(), rhorAUf(), and U.
◆ limit()
◆ if() [1/2]
Definition at line 87 of file pEqn.H.
References compressibility, compressible, Foam::fvc::domainIntegrate(), Foam::getRefCellValue(), gh, initialMass, p, p_rgh, pRefCell, pRefValue, psi, psip0(), rho, rhoMax, rhoMin, and thermo.
◆ if() [2/2]
◆ closedVolume
| bool closedVolume = p_rgh.needReference() |
Definition at line 1 of file pEqn.H.
◆ compressibility
| dimensionedScalar compressibility = fvc::domainIntegrate(psi) |
Definition at line 2 of file pEqn.H.
◆ compressible
| bool compressible = (compressibility.value() > SMALL) |
Definition at line 3 of file pEqn.H.
◆ rho
Definition at line 5 of file pEqn.H.
◆ else
Initial value:{
const dimensionedScalar rhoMin
psiReactionThermo & thermo
const volScalarField & psi
const volScalarField psip0(psi *p)
const dimensionedScalar rhoMax
Definition at line 109 of file pEqn.H.