Go to the documentation of this file.
123 #ifndef totalPressureFvPatchScalarField_H
124 #define totalPressureFvPatchScalarField_H
137 class totalPressureFvPatchScalarField
139 public fixedValueFvPatchScalarField
175 const DimensionedField<scalar, volMesh>&
182 const DimensionedField<scalar, volMesh>&,
192 const DimensionedField<scalar, volMesh>&,
193 const fvPatchFieldMapper&
203 virtual tmp<fvPatchScalarField>
clone()
const
205 return tmp<fvPatchScalarField>
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< scalar > scalarField
Specialisation of Field<T> for scalar.
A class for handling words, derived from Foam::string.
A class for managing temporary objects.
TypeName("totalPressure")
Runtime type information.
scalar & gamma()
Return reference to the heat capacity ratio to allow adjustment.
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.
const word & phiName() const
Return the name of the flux field.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
const word & UName() const
Return the name of the velocity field.
scalar gamma() const
Return the heat capacity ratio.
virtual tmp< fvPatchScalarField > clone() const
Construct and return a clone.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
const word & rhoName() const
Return the name of the density field.
const scalarField & p0() const
Return the total pressure.
const word & psiName() const
Return the name of the compressibility field.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
virtual void write(Ostream &) const
Write.
Foam::fvPatchFieldMapper.
totalPressureFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
scalarField & p0()
Return reference to the total pressure to allow adjustment.
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.