Go to the documentation of this file.
2 if (
pimple.nCorrPIMPLE() == 1)
27 while (
pimple.correctNonOrthogonal())
38 pEqn.solve(
mesh.solver(
p.select(
pimple.finalInnerIter())));
40 if (
pimple.finalNonOrthogonalIter())
66 p.correctBoundaryConditions();
68 Info<<
"Phase-change corrected p max-min : " <<
max(
p).
value()
76 if (
pimple.dict().found(
"removeSwirl"))
80 Info<<
"Removing swirl component-" << swirlCmpt <<
" of U" <<
endl;
81 U.field().replace(swirlCmpt, 0.0);
84 U.correctBoundaryConditions();
tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > snGrad(const GeometricField< Type, fvPatchField, volMesh > &vf, const word &name)
tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh >> grad(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
surfaceScalarField phiGradp(rhorAUf *mesh.magSf() *fvc::snGrad(p))
tmp< surfaceScalarField > interpolate(const RhoType &rho)
tmp< GeometricField< Type, fvPatchField, volMesh > > div(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
Ostream & endl(Ostream &os)
Add newline and flush stream.
const Type & value() const
Return const reference to value.
dimensioned< scalar > mag(const dimensioned< Type > &)
tmp< GeometricField< Type, fvPatchField, volMesh > > laplacian(const GeometricField< Type, fvPatchField, volMesh > &vf, const word &name)
PtrList< dimensionedScalar > rhoMin(fluidRegions.size())
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
fvMatrix< scalar > fvScalarMatrix
tmp< GeometricField< typename flux< Type >::type, fvsPatchField, surfaceMesh > > ddtCorr(const GeometricField< Type, fvPatchField, volMesh > &U, const GeometricField< Type, fvsPatchField, surfaceMesh > &Uf)
tmp< fvVectorMatrix > UEqn(fvm::div(phi, U)+MRF.DDt(U)+turbulence->divDevReff(U)==fvOptions(U))
GeometricField< scalar, fvPatchField, volMesh > volScalarField
const dimensionedScalar & pSat
surfaceScalarField rhorAUf("rhorAUf", fvc::interpolate(rho *rAU))
GeometricField< vector, fvPatchField, volMesh > volVectorField
volScalarField rAU("rAU", 1.0/UEqn().A())
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
const volScalarField & psi
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
label readLabel(Istream &is)
const dictionary & pimple
tmp< GeometricField< Type, fvPatchField, volMesh > > ddt(const dimensioned< Type > dt, const fvMesh &mesh)
surfaceScalarField rhof(fvc::interpolate(rho, "div(phi,rho)"))
dimensioned< Type > min(const dimensioned< Type > &, const dimensioned< Type > &)