45 fixedValueFvPatchScalarField(
p, iF),
61 fixedValueFvPatchScalarField(
p, iF,
dict),
78 fixedValueFvPatchScalarField(ptf,
p, iF, mapper),
92 fixedValueFvPatchScalarField(ptf),
107 fixedValueFvPatchScalarField(ptf, iF),
109 phiName_(ptf.phiName_),
142 fixedValueFvPatchScalarField::updateCoeffs();
152 os.writeEntryIfDifferent<
word>(
"U",
"U", UName_);
153 os.writeEntryIfDifferent<
word>(
"phi",
"phi", phiName_);
154 os.writeEntryIfDifferent<
word>(
"rho",
"rho", rhoName_);
155 os.writeEntryIfDifferent<
word>(
"ph_rgh",
"ph_rgh", ph_rghName_);
167 prghTotalHydrostaticPressureFvPatchScalarField
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,...
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
A FieldMapper for finite-volume patch fields.
virtual void write(Ostream &) const
Write.
void writeValueEntry(Ostream &os) const
Write *this field as a "value" entry.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
This boundary condition provides static pressure condition for p_rgh, calculated as:
word ph_rghName_
Name of hydrostatic pressure field.
word UName_
Name of the velocity field.
virtual void write(Ostream &) const
Write.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
word phiName_
Name of the flux transporting the field.
word rhoName_
Name of density field.
prghTotalHydrostaticPressureFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
A class for handling words, derived from Foam::string.
OBJstream os(runTime.globalPath()/outputName)
#define makePatchTypeField(PatchTypeField, typePatchTypeField)
Define a concrete fvPatchField type and add to run-time tables Example, (fvPatchScalarField,...
GeometricField< vector, fvPatchField, volMesh > volVectorField
GeometricField< scalar, fvPatchField, volMesh > volScalarField
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
Field< vector > vectorField
Specialisation of Field<T> for vector.
dimensionedScalar neg(const dimensionedScalar &ds)
dimensioned< typename typeOfMag< Type >::type > magSqr(const dimensioned< Type > &dt)
fvPatchField< scalar > fvPatchScalarField