Go to the documentation of this file.
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;
347 virtual bool read(
const dictionary&);
TypeName("pressure")
Runtime type information.
mode
Enumeration for pressure calculation mode.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A class for handling words, derived from Foam::string.
A class for managing temporary objects.
virtual ~pressure()=default
Destructor.
static const Enum< hydrostaticMode > hydrostaticModeNames
Provides several methods to convert an input pressure field into derived forms, including:
dimensioned< vector > dimensionedVector
Dimensioned vector obtained from generic dimensioned type.
virtual bool read(const dictionary &)
Read the pressure data.
pressure(const word &name, const Time &runTime, const dictionary &)
Construct from Time and dictionary.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
hydrostaticMode
Enumeration for hydrostatic contributions.
Vector< scalar > vector
A scalar version of the templated Vector.
static const Enum< mode > modeNames
const word & name() const noexcept
Return the name of this functionObject.
Intermediate class for handling field expression function objects (e.g. blendingFactor etc....
void operator=(const pressure &)=delete
No copy assignment.