41 #ifndef dynamicPressureFvPatchScalarField_H
42 #define dynamicPressureFvPatchScalarField_H
57 public fixedValueFvPatchScalarField
79 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 any number of values (e....
This boundary condition provides a dynamic pressure condition. It subtracts a kinetic energy term fro...
TypeName("dynamicPressure")
Runtime type information.
scalarField p0_
Reference pressure.
virtual void write(Ostream &) const
Write.
virtual void reset(const fvPatchScalarField &)
Reset the fvPatchField to the given fvPatchField.
const scalar gamma_
Heat capacity ratio.
virtual void map(const fvPatchScalarField &, const fvPatchFieldMapper &)
Map the given fvPatchField onto this fvPatchField.
void updateCoeffs(const scalarField &p0p, const scalarField &K0mKp)
Update the coefficients associated with the patch field.
dynamicPressureFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &)
Construct from patch, internal field and dictionary.
const word rhoName_
Name of the density field used to normalise the mass flux.
const word psiName_
Name of the compressibility field used to calculate the wave speed.
Foam::fvPatchFieldMapper.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
A class for handling words, derived from string.