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);
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 GeometricField< scalar, fvPatchField, volMesh > & null()
Return a null geometric field.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
const Type & value() const
Return const reference to value.
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.
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.
dimensionedScalar log(const dimensionedScalar &ds)
const dimensionSet dimTemperature(0, 0, 0, 1, 0, 0, 0)
const dimensionedScalar & D