123#ifndef totalPressureFvPatchScalarField_H
124#define totalPressureFvPatchScalarField_H
137class totalPressureFvPatchScalarField
139 public fixedValueFvPatchScalarField
175 const DimensionedField<scalar, volMesh>&
182 const DimensionedField<scalar, volMesh>&,
190 const totalPressureFvPatchScalarField&,
192 const DimensionedField<scalar, volMesh>&,
193 const fvPatchFieldMapper&
199 const totalPressureFvPatchScalarField&
203 virtual tmp<fvPatchScalarField>
clone()
const
205 return tmp<fvPatchScalarField>
214 const totalPressureFvPatchScalarField&,
215 const DimensionedField<scalar, volMesh>&
219 virtual tmp<fvPatchScalarField>
clone
221 const DimensionedField<scalar, volMesh>& iF
224 return tmp<fvPatchScalarField>
236 const word&
UName()
const
317 const fvPatchFieldMapper&
331 using fixedValueFvPatchScalarField::updateCoeffs;
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.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
A class for managing temporary objects.
This boundary condition provides a total pressure condition. Four variants are possible:
virtual void autoMap(const fvPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
virtual tmp< fvPatchScalarField > clone(const DimensionedField< scalar, volMesh > &iF) const
Construct and return a clone setting internal field reference.
const scalarField & p0() const
Return the total pressure.
scalar & gamma()
Return reference to the heat capacity ratio to allow adjustment.
const word & phiName() const
Return the name of the flux field.
const word & psiName() const
Return the name of the compressibility field.
virtual tmp< fvPatchScalarField > clone() const
Construct and return a clone.
virtual void rmap(const fvPatchScalarField &, const labelList &)
Reverse map the given fvPatchField onto this fvPatchField.
const word & rhoName() const
Return the name of the density field.
const word & UName() const
Return the name of the velocity field.
TypeName("totalPressure")
Runtime type information.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
totalPressureFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
scalar gamma() const
Return the heat capacity ratio.
scalarField & p0()
Return reference to the total pressure to allow adjustment.
A class for handling words, derived from Foam::string.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.