Go to the documentation of this file.
81 #ifndef prghTotalPressureFvPatchScalarField_H
82 #define prghTotalPressureFvPatchScalarField_H
95 class prghTotalPressureFvPatchScalarField
97 public fixedValueFvPatchScalarField
129 const DimensionedField<scalar, volMesh>&
136 const DimensionedField<scalar, volMesh>&,
146 const DimensionedField<scalar, volMesh>&,
207 const fvPatchFieldMapper&
word phiName_
Name of the flux transporting the field.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
This boundary condition provides static pressure condition for p_rgh, calculated as:
prghTotalPressureFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
A class for handling words, derived from Foam::string.
scalarField & p0()
Return reference to the total pressure to allow adjustment.
A class for managing temporary objects.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
virtual void write(Ostream &) const
Write.
const scalarField & p0() const
Return the total pressure.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
virtual void autoMap(const fvPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
TypeName("prghTotalPressure")
Runtime type information.
word UName_
Name of the velocity field.
virtual tmp< fvPatchScalarField > clone() const
Construct and return a clone.
scalarField p0_
Total pressure.
word rhoName_
Name of phase-fraction field.
Foam::fvPatchFieldMapper.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
virtual void rmap(const fvPatchScalarField &, const labelList &)
Reverse map the given fvPatchField onto this fvPatchField.