34 template<
class PressureFvPatchScalarField>
42 PressureFvPatchScalarField(p, iF)
46 template<
class PressureFvPatchScalarField>
55 PressureFvPatchScalarField(p, iF, dict)
59 template<
class PressureFvPatchScalarField>
69 PressureFvPatchScalarField(ptf, p, iF, mapper)
73 template<
class PressureFvPatchScalarField>
80 PressureFvPatchScalarField(ptf)
84 template<
class PressureFvPatchScalarField>
92 PressureFvPatchScalarField(ptf, iF)
98 template<
class PressureFvPatchScalarField>
102 if (PressureFvPatchScalarField::updated())
107 PressureFvPatchScalarField::updateCoeffs();
110 lookupPatchField<volScalarField, scalar>
116 this->db().template lookupObject<uniformDimensionedVectorField>(
"g");
119 this->db().template lookupObject<uniformDimensionedScalarField>(
"hRef");
125 *
this - rhop*((g.value() & this->patch().Cf()) - ghRef.value())
PrghPressureFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
A list of keyword definitions, which are a keyword followed by any number of values (e...
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
Macros for easy insertion into run-time selection tables.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
This boundary condition provides the p_rgh equivalent of a pressure boundary condition calculated as:...
Foam::fvPatchFieldMapper.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
dimensioned< scalar > mag(const dimensioned< Type > &)
const dimensionedVector & g