Go to the documentation of this file. 1 if (
pimple.dict().getOrDefault(
"hydrostaticInitialization",
false))
21 p = ph_rgh +
rho*
gh + pRef;
27 pimple.dict().getOrDefault<label>(
"nHydrostaticCorrectors", 5)
30 for (label i=0; i<
nCorr; i++)
50 p = ph_rgh +
rho*
gh + pRef;
54 Info<<
"Hydrostatic pressure variation "
55 << (
max(ph_rgh) -
min(ph_rgh)).value() <<
endl;
void constrainPressure(volScalarField &p, const RhoType &rho, const volVectorField &U, const surfaceScalarField &phiHbyA, const RAUType &rhorAU, const MRFType &MRF)
tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > snGrad(const GeometricField< Type, fvPatchField, volMesh > &vf, const word &name)
const surfaceScalarField & ghf
Basic thermodynamics type based on the use of fitting functions for cp, h, s obtained from the templa...
Ostream & endl(Ostream &os)
const volScalarField & gh
tmp< GeometricField< Type, faPatchField, areaMesh > > div(const GeometricField< Type, faePatchField, edgeMesh > &ssf)
label min(const labelHashSet &set, label minValue=labelMax)
fvMatrix< scalar > fvScalarMatrix
GeometricField< scalar, fvPatchField, volMesh > volScalarField
label max(const labelHashSet &set, label maxValue=labelMin)
virtual bool write(const token &tok)=0
surfaceScalarField phig("phig", -rhorAUf *ghf *fvc::snGrad(rho) *mesh.magSf())
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
tmp< GeometricField< Type, faPatchField, areaMesh > > laplacian(const GeometricField< Type, faPatchField, areaMesh > &vf, const word &name)
surfaceScalarField rhof(fvc::interpolate(rho, "div(phi,rho)"))
static tmp< GeometricField< Type, faePatchField, edgeMesh > > interpolate(const GeometricField< Type, faPatchField, areaMesh > &tvf, const edgeScalarField &faceFlux, Istream &schemeData)