Go to the source code of this file.
|
| 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) |
| |
| | for (int nonOrth=0;nonOrth<=nNonOrthCorr;nonOrth++) |
| |
| | if (closedVolume) |
| |
| rho | relax () |
| |
◆ rhorAUf()
◆ HbyA()
◆ clear()
◆ phig()
| surfaceScalarField phig |
( |
-rhorAUf *ghf * |
fvc::snGradrho) *mesh.magSf( | ) |
|
◆ phiHbyA()
| surfaceScalarField phiHbyA |
( |
"phiHbyA" |
, |
|
|
fvc::flux(rho *HbyA) |
|
|
) |
| |
◆ makeRelative()
◆ constrainPressure()
◆ for()
Definition at line 28 of file pEqn.H.
References Foam::fac::div(), fvOptions, Foam::getRefCellValue(), HbyA, Foam::fac::laplacian(), nNonOrthCorr, p_rgh, phi, phig(), phiHbyA, pRefCell, rAU(), Foam::fvc::reconstruct(), rhorAUf(), and U.
◆ if()
Definition at line 61 of file pEqn.H.
References compressibility, compressible, Foam::fvc::domainIntegrate(), Foam::getRefCellValue(), gh, initialMass, p, p_rgh, pRefCell, pRefValue, psi, and rho.
◆ relax()
◆ closedVolume
◆ phiHbyA
◆ compressibility
| dimensionedScalar compressibility = fvc::domainIntegrate(psi) |
◆ compressible
| bool compressible = (compressibility.value() > SMALL) |
◆ rho