Go to the documentation of this file.
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"))
76 label swirlCmpt(
pimple.dict().get<label>(
"removeSwirl"));
78 Info<<
"Removing swirl component-" << swirlCmpt <<
" of U" <<
endl;
79 U.field().replace(swirlCmpt,
Zero);
82 U.correctBoundaryConditions();
tmp< volVectorField > constrainHbyA(const tmp< volVectorField > &tHbyA, const volVectorField &U, const volScalarField &p)
tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > snGrad(const GeometricField< Type, fvPatchField, volMesh > &vf, const word &name)
static constexpr const zero Zero
tmp< GeometricField< typename outerProduct< vector, Type >::type, faPatchField, areaMesh >> grad(const GeometricField< Type, faePatchField, edgeMesh > &ssf)
Ostream & endl(Ostream &os)
surfaceScalarField phiGradp(rhorAUf *mesh.magSf() *fvc::snGrad(p))
tmp< GeometricField< Type, faPatchField, areaMesh > > div(const GeometricField< Type, faePatchField, edgeMesh > &ssf)
label min(const labelHashSet &set, label minValue=labelMax)
fvMatrix< scalar > fvScalarMatrix
surfaceScalarField rhorAUf("rhorAUf", fvc::interpolate(rho *rAU))
const dimensionedScalar rhoMin
GeometricField< scalar, fvPatchField, volMesh > volScalarField
label max(const labelHashSet &set, label maxValue=labelMin)
volScalarField rAU(1.0/UEqn.A())
GeometricField< vector, fvPatchField, volMesh > volVectorField
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
tmp< GeometricField< Type, faPatchField, areaMesh > > ddt(const dimensioned< Type > dt, const faMesh &mesh)
tmp< GeometricField< Type, faPatchField, areaMesh > > laplacian(const GeometricField< Type, faPatchField, areaMesh > &vf, const word &name)
tmp< surfaceScalarField > flux(const volVectorField &vvf)
surfaceScalarField rhof(fvc::interpolate(rho, "div(phi,rho)"))
const volScalarField & psi