177 #ifndef functionObjects_pressure_H 178 #define functionObjects_pressure_H 189 namespace functionObjects
198 public fieldExpression
263 bool rhoInfInitialised_;
278 bool hRefInitialised_;
284 word resultName()
const;
290 tmp<volScalarField> rhoScale
293 const tmp<volScalarField>& tsf
297 void addHydrostaticContribution
304 tmp<volScalarField> calcPressure
307 const tmp<volScalarField>& tp
311 tmp<volScalarField> coeff(
const tmp<volScalarField>& tp)
const;
virtual ~pressure()=default
Destructor.
static const Enum< hydrostaticMode > hydrostaticModeNames
Forwards and collection of common volume field types.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
TypeName("pressure")
Runtime type information.
mode
Enumeration for pressure calculation mode.
dimensioned< vector > dimensionedVector
Dimensioned vector obtained from generic dimensioned type.
void operator=(const pressure &)=delete
No copy assignment.
pressure(const word &name, const Time &runTime, const dictionary &)
Construct from Time and dictionary.
const word & name() const noexcept
Return the name of this functionObject.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
hydrostaticMode
Enumeration for hydrostatic contributions.
virtual bool read(const dictionary &)
Read the pressure data.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
static const Enum< mode > modeNames