81 #ifndef prghTotalPressureFvPatchScalarField_H 82 #define prghTotalPressureFvPatchScalarField_H 95 class prghTotalPressureFvPatchScalarField
97 public fixedValueFvPatchScalarField
129 const DimensionedField<scalar, volMesh>&
136 const DimensionedField<scalar, volMesh>&,
201 const fvPatchFieldMapper&
219 virtual void write(Ostream&)
const;
const scalarField & p0() const
Return the total pressure.
virtual void autoMap(const fvPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
virtual tmp< fvPatchField< scalar > > clone() const
Return a clone.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
word UName_
Name of the velocity field.
This boundary condition provides static pressure condition for p_rgh, calculated as: ...
static tmp< fvPatchField< Type > > Clone(const DerivedPatchField &pf, Args &&... args)
Clone a patch field, optionally with internal field reference etc.
fvPatchField< scalar > fvPatchScalarField
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
A FieldMapper for finite-volume patch fields.
scalarField p0_
Total pressure.
prghTotalPressureFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
word phiName_
Name of the flux transporting the field.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
TypeName("prghTotalPressure")
Runtime type information.
List< label > labelList
A List of labels.
A class for managing temporary objects.
virtual void rmap(const fvPatchScalarField &, const labelList &)
Reverse map the given fvPatchField onto this fvPatchField.
word rhoName_
Name of phase-fraction field.
virtual void write(Ostream &) const
Write.