34 namespace saturationModels
51 template<
class FieldType>
53 Foam::saturationModels::ArdenBuck::xByTC(
const FieldType& TC)
const
55 return (
B - TC/
C)/(
D + TC);
59 template<
class FieldType>
61 Foam::saturationModels::ArdenBuck::pSat(
const FieldType&
T)
const
63 const FieldType TC(
T -
zeroC);
65 return A*
exp(TC*xByTC(TC));
69 template<
class FieldType>
71 Foam::saturationModels::ArdenBuck::pSatPrime(
const FieldType&
T)
const
73 const FieldType TC(
T -
zeroC);
74 const FieldType
x(xByTC(TC));
80 template<
class FieldType>
82 Foam::saturationModels::ArdenBuck::lnPSat(
const FieldType&
T)
const
84 const FieldType TC(
T -
zeroC);
IMPLEMENT_PSAT(saturationModels::ArdenBuck, scalarField)
Macros for easy insertion into run-time selection tables.
Graphite solid properties.
DimensionedField< Type, GeoMesh, PrimitiveField > Internal
Type of the internal field from which this GeometricField is derived.
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
const Type & value() const
Return const reference to value.
ArdenBuck equation for the vapour pressure of moist air.
ArdenBuck()
Construct default.
virtual ~ArdenBuck()
Destructor.
Model to describe the dependence of saturation pressure on temperature.
A class for managing temporary objects.
static const coefficient zeroC("zeroC", dimTemperature, 273.15)
addToRunTimeSelectionTable(saturationPressureModel, Antoine, dictionary)
static const coefficient C("C", dimTemperature, 234.5)
static const coefficient D("D", dimTemperature, 257.14)
static const coefficient B("B", dimless, 18.678)
defineTypeNameAndDebug(Antoine, 0)
static const coefficient A("A", dimPressure, 611.21)
dimensionedScalar exp(const dimensionedScalar &ds)
const dimensionSet & dimless
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
dimensionedScalar log(const dimensionedScalar &ds)
VolField< scalar > volScalarField
const dimensionSet & dimPressure
void T(GeometricField< Type, GeoMesh, PrimitiveField1 > &gf, const GeometricField< Type, GeoMesh, PrimitiveField2 > &gf1)
const dimensionSet & dimTemperature
Structure to store a dimensioned coefficient of the saturation model.