33 namespace saturationModels
57 template<
class FieldType>
59 Foam::saturationModels::ArdenBuck::xByTC(
const FieldType& TC)
const
61 return (
B - TC/
C)/(
D + TC);
65 template<
class FieldType>
67 Foam::saturationModels::ArdenBuck::pSat(
const FieldType&
T)
const
69 const FieldType TC(
T -
zeroC);
71 return A*
exp(TC*xByTC(TC));
75 template<
class FieldType>
77 Foam::saturationModels::ArdenBuck::pSatPrime(
const FieldType&
T)
const
79 const FieldType TC(
T -
zeroC);
80 const FieldType
x(xByTC(TC));
86 template<
class FieldType>
88 Foam::saturationModels::ArdenBuck::lnPSat(
const FieldType&
T)
const
90 const FieldType TC(
T -
zeroC);
static const Foam::dimensionedScalar A("A", Foam::dimPressure, 611.21)
IMPLEMENT_PSAT(ArdenBuck, volScalarField::Internal)
static const Foam::dimensionedScalar B("B", Foam::dimless, 18.678)
static const Foam::dimensionedScalar D("D", Foam::dimTemperature, 257.14)
static const Foam::dimensionedScalar zeroC("zeroC", Foam::dimTemperature, 273.15)
static const Foam::dimensionedScalar C("C", Foam::dimTemperature, 234.5)
Macros for easy insertion into run-time selection tables.
Graphite solid properties.
DimensionedField< Type, GeoMesh > Internal
Type of the internal field from which this GeometricField is derived.
A list of keyword definitions, which are a keyword followed by any number of values (e....
const Type & value() const
Return const reference to value.
ArdenBuck equation for the vapour pressure of moist air.
ArdenBuck(const dictionary &dict)
Construct from a dictionary.
virtual ~ArdenBuck()
Destructor.
Model to describe the dependence of saturation pressure on temperature, and vice versa.
A class for managing temporary objects.
addToRunTimeSelectionTable(saturationPressureModel, Antoine, dictionary)
defineTypeNameAndDebug(Antoine, 0)
dimensionedScalar exp(const dimensionedScalar &ds)
const dimensionSet dimPressure
const dimensionSet dimless
const dimensionSet dimTemperature
dimensionedScalar log(const dimensionedScalar &ds)
VolField< scalar > volScalarField
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)