Go to the documentation of this file.
82 #ifndef phaseHydrostaticPressureFvPatchScalarField_H
83 #define phaseHydrostaticPressureFvPatchScalarField_H
96 class phaseHydrostaticPressureFvPatchScalarField
98 public mixedFvPatchScalarField
121 TypeName(
"phaseHydrostaticPressure");
130 const DimensionedField<scalar, volMesh>&
137 const DimensionedField<scalar, volMesh>&,
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
fvPatchField< scalar > fvPatchScalarField
A class for handling words, derived from string.
A class for managing temporary objects.
TypeName("phaseHydrostaticPressure")
Runtime type information.
virtual tmp< fvPatchScalarField > clone() const
Construct and return a clone.
const vector & pRefPoint() const
Return the pressure reference location.
scalar rho() const
Return the constant density in the far-field.
vector pRefPoint_
Reference pressure location.
word & phaseName()
Return reference to the phaseName to allow adjustment.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
scalar pRefValue() const
Return the reference pressure.
This boundary condition provides a phase-based hydrostatic pressure condition, calculated as:
A list of keyword definitions, which are a keyword followed by any number of values (e....
scalar & pRefValue()
Return reference to the reference pressure to allow adjustment.
phaseHydrostaticPressureFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
Vector< scalar > vector
A scalar version of the templated Vector.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
const word & phaseName() const
Return the phaseName.
scalar rho_
Constant density in the far-field.
scalar pRefValue_
Reference pressure.
Foam::fvPatchFieldMapper.
word phaseName_
Name of phase-fraction field.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
virtual void write(Ostream &) const
Write.
virtual void operator=(const fvPatchScalarField &pvf)
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...