78 #ifndef phaseHydrostaticPressureFvPatchScalarField_H 79 #define phaseHydrostaticPressureFvPatchScalarField_H 92 class phaseHydrostaticPressureFvPatchScalarField
94 public mixedFvPatchScalarField
117 TypeName(
"phaseHydrostaticPressure");
126 const DimensionedField<scalar, volMesh>&
133 const DimensionedField<scalar, volMesh>&,
TypeName("phaseHydrostaticPressure")
Runtime type information.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
scalar rho_
Constant density in the far-field.
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...
scalar rho() const
Return the constant density in the far-field.
Vector< scalar > vector
A scalar version of the templated Vector.
const vector & pRefPoint() const
Return the pressure reference location.
This boundary condition provides a phase-based hydrostatic pressure condition, calculated as: ...
word phaseFraction_
Name of phase-fraction field.
A class for handling words, derived from string.
vector pRefPoint_
Reference pressure location.
Foam::fvPatchFieldMapper.
virtual tmp< fvPatchScalarField > clone(const DimensionedField< scalar, volMesh > &iF) const
Construct and return a clone setting internal field reference.
phaseHydrostaticPressureFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
virtual bool assignable() const
Return true: this patch field is altered by assignment.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
virtual void operator=(const fvPatchScalarField &pvf)
const word & phaseFraction() const
Return the phaseFraction.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
scalar pRefValue_
Reference pressure.
A class for managing temporary objects.
virtual void write(Ostream &) const
Write.
scalar pRefValue() const
Return the reference pressure.