2 if (
pimple.nCorrPIMPLE() == 1)
25 while (
pimple.correctNonOrthogonal())
36 pEqn.solve(
mesh.solver(
p.select(
pimple.finalInnerIter())));
38 if (
pimple.finalNonOrthogonalIter())
44 Info<<
"Predicted p max-min : " <<
max(
p).value()
51 + ((alphav*psiv +
alphal*psil) -
psi)*pSat,
61 - ((alphav*psiv +
alphal*psil) -
psi)*pSat
64 p.correctBoundaryConditions();
66 Info<<
"Phase-change corrected p max-min : " <<
max(
p).value()
74 if (
pimple.dict().found(
"removeSwirl"))
78 Info<<
"Removing swirl component-" << swirlCmpt <<
" of U" <<
endl;
79 U.field().replace(swirlCmpt, 0.0);
82 U.correctBoundaryConditions();
tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh >> grad(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
fvMatrix< scalar > fvScalarMatrix
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
surfaceScalarField rhof(fvc::interpolate(rho,"div(phi,rho)"))
tmp< GeometricField< Type, fvPatchField, volMesh > > div(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
PtrList< dimensionedScalar > rhoMin(fluidRegions.size())
tmp< GeometricField< typename flux< Type >::type, fvsPatchField, surfaceMesh > > ddtCorr(const GeometricField< Type, fvPatchField, volMesh > &U, const GeometricField< Type, fvsPatchField, surfaceMesh > &Uf)
const dictionary & pimple
Ostream & endl(Ostream &os)
Add newline and flush stream.
tmp< surfaceScalarField > interpolate(const RhoType &rho)
GeometricField< vector, fvPatchField, volMesh > volVectorField
tmp< GeometricField< Type, fvPatchField, volMesh > > laplacian(const GeometricField< Type, fvPatchField, volMesh > &vf, const word &name)
surfaceScalarField rhorAUf("rhorAUf", fvc::interpolate(rho *rAU))
tmp< GeometricField< Type, fvPatchField, volMesh > > ddt(const dimensioned< Type > dt, const fvMesh &mesh)
GeometricField< scalar, fvPatchField, volMesh > volScalarField
surfaceScalarField phiGradp(rhorAUf *mesh.magSf()*fvc::snGrad(p))
tmp< volVectorField > constrainHbyA(const tmp< volVectorField > &tHbyA, const volVectorField &U, const volScalarField &p)
label readLabel(Istream &is)
dimensioned< Type > min(const dimensioned< Type > &, const dimensioned< Type > &)
dimensioned< scalar > mag(const dimensioned< Type > &)
const volScalarField & psi
tmp< surfaceScalarField > flux(const volVectorField &vvf)
Return the face-flux field obtained from the given volVectorField.
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > snGrad(const GeometricField< Type, fvPatchField, volMesh > &vf, const word &name)
volScalarField rAU(1.0/UEqn.A())