Go to the documentation of this file.
75 #ifndef prghTotalPressureFvPatchScalarField_H
76 #define prghTotalPressureFvPatchScalarField_H
89 class prghTotalPressureFvPatchScalarField
91 public fixedValueFvPatchScalarField
123 const DimensionedField<scalar, volMesh>&
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
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 string.
scalarField & p0()
Return reference to the total pressure to allow adjustment.
word & rhoName()
Return reference to the rhoName 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.
Pre-declare SubField and related Field type.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
A list of keyword definitions, which are a keyword followed by any number of values (e....
virtual void autoMap(const fvPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
TypeName("prghTotalPressure")
Runtime type information.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
word UName_
Name of the velocity field.
virtual tmp< fvPatchScalarField > clone() const
Construct and return a clone.
const word & rhoName() const
Return the rhoName.
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.