Go to the source code of this file.
Functions | |
rho | relax () |
const volScalarField | psip0 (psi *p) |
const volScalarField | rAU ("rAU", 1.0/UEqn.A()) |
const surfaceScalarField | rhorAUf ("rhorAUf", fvc::interpolate(rho *rAU)) |
tmp< volScalarField > | rAtU (pimple.consistent() ? volScalarField::New("rAtU", 1.0/(1.0/rAU - UEqn.H1())) :tmp< volScalarField >(nullptr)) |
tmp< surfaceScalarField > | rhorAtUf (pimple.consistent() ? surfaceScalarField::New("rhoRAtUf", fvc::interpolate(rho *rAtU())) :tmp< surfaceScalarField >(nullptr)) |
volVectorField | HbyA (constrainHbyA(rAU *UEqn.H(), U, p)) |
if (pimple.nCorrPiso()<=1) | |
surfaceScalarField | phiHbyA ("phiHbyA", fvc::interpolate(rho) *fvc::flux(HbyA)+MRF.zeroFilter(rhorAUf *fvc::ddtCorr(rho, U, phi, rhoUf))) |
MRF | makeRelative (fvc::interpolate(rho), phiHbyA) |
constrainPressure (p, rho, U, phiHbyA, rhorAAtUf, MRF) | |
if (pimple.transonic()) | |
while (pimple.correctNonOrthogonal()) | |
if (mesh.schemes().steady()) | |
thermo | correctRho (psi *p - psip0) |
if (constrained) | |
U | correctBoundaryConditions () |
fvConstraints | constrain (U) |
if (adjustMass &&!thermo.incompressible()) | |
if (mesh.schemes().steady()||pimple.simpleRho()||adjustMass) | |
if (mesh.schemes().steady()||pimple.simpleRho()) | |
if (thermo.dpdt()) | |
Variables | |
rho = thermo.rho() | |
const volScalarField & | rAAtU = pimple.consistent() ? rAtU() : rAU |
const surfaceScalarField & | rhorAAtUf |
bool | adjustMass = false |
else | |
U = HbyA - rAAtU*fvc::grad(p) | |
K = 0.5*magSqr(U) | |
rho relax | ( | ) |
const volScalarField psip0 | ( | psi * | p | ) |
const volScalarField rAU | ( | "rAU" | , |
1.0/UEqn. | A() | ||
) |
tmp<volScalarField> rAtU | ( | pimple. | consistent) ? volScalarField::New("rAtU", 1.0/(1.0/rAU - UEqn.H1())) :tmp< volScalarField >(nullptr | ) |
tmp<surfaceScalarField> rhorAtUf | ( | pimple. | consistent) ? surfaceScalarField::New("rhoRAtUf", fvc::interpolate(rho *rAtU())) :tmp< surfaceScalarField >(nullptr | ) |
if | ( | pimple.nCorrPiso()<= | 1 | ) |
Definition at line 30 of file pEqn.H.
References constrainPressure(), Foam::fvc::ddtCorr(), Foam::fvc::flux(), HbyA, Foam::fvc::interpolate(), makeRelative(), MRF(), p, phi, phiHbyA, rho, rhorAUf(), rhoUf, tUEqn(), and U.
surfaceScalarField phiHbyA | ( | "phiHbyA" | , |
fvc::interpolate(rho) *fvc::flux(HbyA)+MRF.zeroFilter(rhorAUf *fvc::ddtCorr(rho, U, phi, rhoUf)) | |||
) |
if | ( | pimple. | transonic() | ) |
Definition at line 51 of file pEqn.H.
References Foam::correction(), Foam::fvc::ddt(), Foam::fvc::div(), fvModels, Foam::fvc::grad(), HbyA, Foam::fvc::interpolate(), Foam::fvc::laplacian(), mesh, p, phi, phiHbyA, pimple, pressureReference, psi, rAU, rho, rhorAUf(), and Foam::fvc::snGrad().
while | ( | pimple. | correctNonOrthogonal() | ) |
Definition at line 119 of file pEqn.H.
References Foam::fvc::laplacian(), p, phi, phiHbyA, pimple, and pressureReference.
if | ( | mesh. | schemes).steady( | ) |
Definition at line 138 of file pEqn.H.
References fvConstraints::constrain(), constrained, fvConstraints, p, psi, psip0(), and thermo.
U correctBoundaryConditions | ( | ) |
fvConstraints constrain | ( | U | ) |
if | ( | adjustMass &&!thermo. | incompressible() | ) |
Definition at line 173 of file pEqn.H.
References Foam::fvc::domainIntegrate(), initialMass, p, psi, and thermo.
if | ( | mesh.schemes().steady()||pimple.simpleRho()|| | adjustMass | ) |
if | ( | mesh. | schemes).steady()||pimple.simpleRho( | ) |
if | ( | thermo. | dpdt() | ) |
Definition at line 193 of file pEqn.H.
References Foam::fvc::ddt(), Foam::fvc::div(), dpdt, mesh, Foam::fvc::meshPhi(), p, rho, and U.
const surfaceScalarField& rhorAAtUf |
else |