Macros for easy insertion into run-time selection tables.
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.
static tmp< GeometricField< scalar, fvPatchField, volMesh > > New(const word &name, IOobjectOption::registerOption regOpt, const Mesh &mesh, const dimensionSet &dims, const word &patchFieldType=fvPatchField< scalar >::calculatedType())
const objectRegistry & db() const noexcept
Return the local objectRegistry.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Registry of regIOobjects.
Constant saturation pressure and temperature.
virtual tmp< volScalarField > lnPSat(const volScalarField &T) const
Natural log of the saturation pressure.
constantSaturationConditions(const dictionary &dict, const objectRegistry &db)
Construct from a dictionary.
dimensionedScalar pSat_
Constant saturation pressure.
virtual tmp< volScalarField > Tsat(const volScalarField &p) const
Saturation temperature.
virtual tmp< volScalarField > pSatPrime(const volScalarField &T) const
Saturation pressure derivetive w.r.t. temperature.
virtual tmp< volScalarField > pSat(const volScalarField &T) const
Saturation pressure.
virtual ~constantSaturationConditions()
Destructor.
dimensionedScalar Tsat_
Constant saturation temperature.
A class for managing temporary objects.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
const dimensionSet dimPressure
const dimensionSet dimless
Dimensionless.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
dimensionedScalar log(const dimensionedScalar &ds)
const dimensionSet dimTemperature(0, 0, 0, 1, 0, 0, 0)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)