123#ifndef totalPressureFvPatchScalarField_H
124#define totalPressureFvPatchScalarField_H
139 public fixedValueFvPatchScalarField
175 const DimensionedField<scalar, volMesh>&
182 const DimensionedField<scalar, volMesh>&,
192 const DimensionedField<scalar, volMesh>&,
193 const fvPatchFieldMapper&
206 const DimensionedField<scalar, volMesh>&
210 virtual tmp<fvPatchField<scalar>>
clone()
const
216 virtual tmp<fvPatchField<scalar>>
clone
218 const DimensionedField<scalar, volMesh>& iF
230 const word&
UName()
const
311 const fvPatchFieldMapper&
325 using fixedValueFvPatchScalarField::updateCoeffs;
340 virtual void write(Ostream&)
const;
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.
static tmp< fvPatchField< Type > > Clone(const DerivedPatchField &pf, Args &&... args)
Clone a patch field, optionally with internal field reference etc.
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.
word & phiName()
Return reference to the name of the flux field.
const scalarField & p0() const
Return the total pressure.
scalar & gamma()
Return reference to the heat capacity ratio to allow adjustment.
virtual tmp< fvPatchField< scalar > > clone(const DimensionedField< scalar, volMesh > &iF) const
Clone with an internal field reference.
virtual tmp< fvPatchField< scalar > > clone() const
Return a clone.
const word & phiName() const
Return the name of the flux field.
word & UName()
Return reference to the name of the velocity field.
word & rhoName()
Return reference to the name of the density field.
const word & psiName() const
Return the name of the compressibility field.
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.
word & psiName()
Return reference to the name of the compressibility 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.
List< label > labelList
A List of labels.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
Field< vector > vectorField
Specialisation of Field<T> for vector.
fvPatchField< scalar > fvPatchScalarField
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.