Go to the source code of this file.
|
| if ((!mesh.steady() &&!pimple.simpleRho())||pimple.consistent()) |
|
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.steady()) |
|
thermo | correctRho (psi *p - psip0) |
|
| if (limitedp) |
|
p | relax () |
|
U | correctBoundaryConditions () |
|
fvOptions | correct (U) |
|
| if (adjustMass &&!thermo.incompressible()) |
|
| if (mesh.steady()||pimple.simpleRho()||adjustMass) |
|
| if ((mesh.steady()||pimple.simpleRho()) &&!pimple.transonic()) |
|
| if (thermo.dpdt()) |
|
◆ if() [1/9]
if |
( |
(!mesh.steady() &&!pimple.simpleRho())||pimple.consistent() |
| ) |
|
Definition at line 1 of file pEqn.H.
References Foam::fvc::interpolate(), Foam::compressible::New(), p, pimple, psi, psip0(), rAtU(), rAU, rho, rhorAtUf(), rhorAUf(), thermo, and UEqn.
◆ psip0()
const volScalarField psip0 |
( |
psi * |
p | ) |
|
◆ rAU()
const volScalarField rAU |
( |
"rAU" |
, |
|
|
1.0/UEqn. |
A() |
|
) |
| |
◆ rhorAUf()
const surfaceScalarField rhorAUf |
( |
"rhorAUf" |
, |
|
|
fvc::interpolate(rho *rAU) |
|
|
) |
| |
◆ rAtU()
tmp<volScalarField> rAtU |
( |
pimple. |
consistent) ? volScalarField::New("rAtU", 1.0/(1.0/rAU - UEqn.H1())) :tmp< volScalarField >(nullptr | ) |
|
◆ rhorAtUf()
tmp<surfaceScalarField> rhorAtUf |
( |
pimple. |
consistent) ? surfaceScalarField::New("rhoRAtUf", fvc::interpolate(rho *rAtU())) :tmp< surfaceScalarField >(nullptr | ) |
|
◆ HbyA()
volVectorField HbyA |
( |
constrainHbyA(rAU *UEqn.H(), U, p) |
| ) |
|
◆ if() [2/9]
if |
( |
pimple.nCorrPiso()<= |
1 | ) |
|
Definition at line 32 of file pEqn.H.
References Foam::fvc::ddtCorr(), Foam::fvc::flux(), HbyA, Foam::fvc::interpolate(), makeRelative(), MRF, phi, phiHbyA, rho, rhoUf, tUEqn(), and U.
◆ phiHbyA()
surfaceScalarField phiHbyA |
( |
"phiHbyA" |
, |
|
|
fvc::interpolate(rho) *fvc::flux(HbyA)+MRF.zeroFilter(rhorAUf *fvc::ddtCorr(rho, U, phi, rhoUf)) |
|
|
) |
| |
◆ makeRelative()
◆ constrainPressure()
◆ if() [3/9]
if |
( |
pimple. |
transonic() | ) |
|
Definition at line 52 of file pEqn.H.
References Foam::correction(), Foam::fvc::ddt(), Foam::fvc::div(), fvOptions, Foam::fvc::grad(), HbyA, Foam::fvc::interpolate(), Foam::fvc::laplacian(), mesh, phi, phiHbyA, pimple, pressureControl, psi, rAU, rho, rhorAUf(), and Foam::fvc::snGrad().
◆ while()
while |
( |
pimple. |
correctNonOrthogonal() | ) |
|
◆ if() [4/9]
◆ correctRho()
◆ if() [5/9]
◆ relax()
◆ correctBoundaryConditions()
U correctBoundaryConditions |
( |
| ) |
|
◆ correct()
◆ if() [6/9]
◆ if() [7/9]
if |
( |
mesh.steady()||pimple.simpleRho()|| |
adjustMass | ) |
|
◆ if() [8/9]
if |
( |
(mesh.steady()||pimple.simpleRho()) &&!pimple.transonic() |
| ) |
|
◆ if() [9/9]
◆ rAAtU
const volScalarField& rAAtU = pimple.consistent() ? rAtU() : rAU |
◆ rhorAAtUf
const surfaceScalarField& rhorAAtUf |
Initial value:=
tmp< surfaceScalarField > rhorAtUf(pimple.consistent() ? surfaceScalarField::New("rhoRAtUf", fvc::interpolate(rho *rAtU())) :tmp< surfaceScalarField >(nullptr))
pimpleNoLoopControl & pimple
surfaceScalarField rhorAUf("rhorAUf", fvc::interpolate(rho *rAU))
Definition at line 27 of file pEqn.H.
◆ adjustMass
◆ else
Initial value:{
{
}
{
}
(
==
)
tmp< fvMatrix< Type > > correction(const fvMatrix< Type > &)
Return the correction form of the given matrix.
tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh >> grad(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
fvMatrix< scalar > fvScalarMatrix
pimpleNoLoopControl & pimple
tmp< GeometricField< Type, fvPatchField, volMesh > > div(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
const volScalarField & rAAtU
const surfaceScalarField & rhorAAtUf
tmp< GeometricField< Type, fvPatchField, volMesh > > ddt(const dimensioned< Type > dt, const fvMesh &mesh)
adjustPhi(phiHbyA, Urel, p)
const volScalarField & psi
surfaceScalarField rhorAUf("rhorAUf", fvc::interpolate(rho *rAU))
tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > snGrad(const GeometricField< Type, fvPatchField, volMesh > &vf, const word &name)
Definition at line 98 of file pEqn.H.