Go to the documentation of this file.
71 #ifndef freeSurfacePressureFvPatchScalarField_H
72 #define freeSurfacePressureFvPatchScalarField_H
85 class freeSurfacePressureFvPatchScalarField
87 public fixedValueFvPatchScalarField
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
freeSurfacePressureFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
virtual void rmap(const fvPatchScalarField &, const labelList &)
Reverse map the given fvPatchField onto this fvPatchField.
A class for managing temporary objects.
virtual tmp< fvPatchScalarField > clone() const
Construct and return a clone.
const scalarField & pa() const
Return the ambient pressure.
scalarField pa_
Ambient pressure.
TypeName("freeSurfacePressure")
Runtime type information.
scalarField & pa()
Return reference to the ambient pressure to allow adjustment.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
This boundary condition provides static pressure condition for p_rgh, calculated as:
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
virtual void autoMap(const fvPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
Foam::fvPatchFieldMapper.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
virtual void write(Ostream &) const
Write.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...