35namespace saturationModels
51Foam::saturationModels::ArdenBuck::xByTC
53 const volScalarField& TC
56 return (
B - TC/
C)/(
D + TC);
88 return A*
exp(TC*xByTC(TC));
102 return A*
exp(TC*
x)*(
D*
x - TC/
C)/(
D + TC);
114 return log(
A.value()) + TC*xByTC(TC);
static const Foam::dimensionedScalar C("", Foam::dimTemperature, 234.5)
static const Foam::dimensionedScalar A("", Foam::dimPressure, 611.21)
static const Foam::dimensionedScalar zeroC("", Foam::dimTemperature, 273.15)
static const Foam::dimensionedScalar D("", Foam::dimTemperature, 257.14)
static const Foam::dimensionedScalar B("", Foam::dimless, 18.678)
Macros for easy insertion into run-time selection tables.
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.
Graphite solid properties.
static const this_type & null() noexcept
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.
ArdenBuck equation for the vapour pressure of moist air.
virtual tmp< volScalarField > lnPSat(const volScalarField &T) const
Natural log of the saturation pressure.
ArdenBuck(const dictionary &dict, const objectRegistry &db)
Construct from a dictionary.
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 ~ArdenBuck()
Destructor.
A class for managing temporary objects.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
const dimensionSet dimPressure
dimensionedScalar exp(const dimensionedScalar &ds)
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)
const dimensionedScalar & D