177#ifndef functionObjects_pressure_H
178#define functionObjects_pressure_H
189namespace 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;
337 void operator=(
const pressure&) =
delete;
347 virtual bool read(
const dictionary&);
Enum is a wrapper around a list of names/values that represent particular enumeration (or int) values...
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
const word & name() const noexcept
Return the name of this functionObject.
Intermediate class for handling field expression function objects (e.g. blendingFactor etc....
Provides several methods to convert an input pressure field into derived forms, including:
pressure(const pressure &)=delete
No copy construct.
pressure(const word &name, const Time &runTime, const dictionary &)
Construct from Time and dictionary.
static const Enum< hydrostaticMode > hydrostaticModeNames
hydrostaticMode
Enumeration for hydrostatic contributions.
void operator=(const pressure &)=delete
No copy assignment.
virtual ~pressure()=default
Destructor.
static const Enum< mode > modeNames
mode
Enumeration for pressure calculation mode.
@ COEFF
Coefficient manipulator.
@ ISENTROPIC
Isentropic pressure.
virtual bool read(const dictionary &)
Read the pressure data.
TypeName("pressure")
Runtime type information.
A class for managing temporary objects.
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
A class for handling words, derived from Foam::string.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
dimensioned< vector > dimensionedVector
Dimensioned vector obtained from generic dimensioned type.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.