41 #ifndef dynamicPressureFvPatchScalarField_H 42 #define dynamicPressureFvPatchScalarField_H 57 public fixedValueFvPatchScalarField
138 using fixedValueFvPatchScalarField::updateCoeffs;
const word psiName_
Name of the compressibility field used to calculate the wave speed.
A list of keyword definitions, which are a keyword followed by any number of values (e...
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
This boundary condition provides a dynamic pressure condition. It subtracts a kinetic energy term fro...
void updateCoeffs(const scalarField &p0p, const scalarField &Kp)
Update the coefficients associated with the patch field.
TypeName("dynamicPressure")
Runtime type information.
A class for handling words, derived from string.
Foam::fvPatchFieldMapper.
const scalar gamma_
Heat capacity ratio.
scalarField p0_
Reference pressure.
virtual void write(Ostream &) const
Write.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
virtual void rmap(const fvPatchScalarField &, const labelList &)
Reverse map the given fvPatchField onto this fvPatchField.
const word rhoName_
Name of the density field used to normalise the mass flux.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
dynamicPressureFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
virtual void autoMap(const fvPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.