38Foam::prghTotalHydrostaticPressureFvPatchScalarField::
39prghTotalHydrostaticPressureFvPatchScalarField
45 fixedValueFvPatchScalarField(
p, iF),
53Foam::prghTotalHydrostaticPressureFvPatchScalarField::
54prghTotalHydrostaticPressureFvPatchScalarField
61 fixedValueFvPatchScalarField(
p, iF,
dict),
62 UName_(
dict.getOrDefault<
word>(
"U",
"U")),
63 phiName_(
dict.getOrDefault<
word>(
"phi",
"phi")),
64 rhoName_(
dict.getOrDefault<
word>(
"rho",
"rho")),
65 ph_rghName_(
dict.getOrDefault<
word>(
"ph_rgh",
"ph_rgh"))
69Foam::prghTotalHydrostaticPressureFvPatchScalarField::
70prghTotalHydrostaticPressureFvPatchScalarField
78 fixedValueFvPatchScalarField(ptf,
p, iF, mapper),
80 phiName_(ptf.phiName_),
81 rhoName_(ptf.rhoName_),
82 ph_rghName_(ptf.ph_rghName_)
86Foam::prghTotalHydrostaticPressureFvPatchScalarField::
87prghTotalHydrostaticPressureFvPatchScalarField
92 fixedValueFvPatchScalarField(ptf),
94 phiName_(ptf.phiName_),
95 rhoName_(ptf.rhoName_),
96 ph_rghName_(ptf.ph_rghName_)
100Foam::prghTotalHydrostaticPressureFvPatchScalarField::
101prghTotalHydrostaticPressureFvPatchScalarField
107 fixedValueFvPatchScalarField(ptf, iF),
109 phiName_(ptf.phiName_),
110 rhoName_(ptf.rhoName_),
111 ph_rghName_(ptf.ph_rghName_)
142 fixedValueFvPatchScalarField::updateCoeffs();
156 writeEntry(
"value",
os);
Macros for easy insertion into run-time selection tables.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Ostream & writeEntryIfDifferent(const word &key, const T &value1, const T &value2)
Write a keyword/value entry only when the two values differ.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
virtual bool write()
Write the output fields.
A FieldMapper for finite-volume patch fields.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
This boundary condition provides static pressure condition for p_rgh, calculated as:
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
A class for handling words, derived from Foam::string.
OBJstream os(runTime.globalPath()/outputName)
#define makePatchTypeField(PatchTypeField, typePatchTypeField)
GeometricField< vector, fvPatchField, volMesh > volVectorField
dimensionedScalar pos0(const dimensionedScalar &ds)
GeometricField< scalar, fvPatchField, volMesh > volScalarField
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
dimensioned< typename typeOfMag< Type >::type > magSqr(const dimensioned< Type > &dt)