Go to the documentation of this file.
2 if (
pimple.nCorrPIMPLE() == 1)
30 while (
pimple.correctNonOrthogonal())
41 pEqn.solve(
mesh.solver(
p.select(
pimple.finalInnerIter())));
43 if (
pimple.finalNonOrthogonalIter())
63 p.correctBoundaryConditions();
65 Info<<
"Phase-change corrected p max-min : " <<
max(
p).
value()
73 if (
pimple.dict().found(
"removeSwirl"))
77 Info<<
"Removing swirl component-" << swirlCmpt <<
" of U" <<
endl;
78 U.field().replace(swirlCmpt, 0.0);
81 U.correctBoundaryConditions();
volScalarField rho0(rho - psi *p)
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.
tmp< fvMatrix< Type > > correction(const fvMatrix< Type > &)
Return the correction form of the given matrix.
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
surfaceVectorField n(mesh.Sf()/mesh.magSf())
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
MRF makeRelative(phiHbyA)
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)
GeometricField< vector, fvsPatchField, surfaceMesh > surfaceVectorField
surfaceScalarField rhof(fvc::interpolate(rho, "div(phi,rho)"))
dimensioned< Type > min(const dimensioned< Type > &, const dimensioned< Type > &)