33 namespace saturationModels
44 template<
class FieldType>
46 Foam::saturationModels::Antoine::pSat(
const FieldType&
T)
const
52 template<
class FieldType>
54 Foam::saturationModels::Antoine::pSatPrime(
const FieldType&
T)
const
56 return - pSat(
T)*B_/
sqr(C_ +
T);
60 template<
class FieldType>
62 Foam::saturationModels::Antoine::lnPSat(
const FieldType&
T)
const
64 return A_ + B_/(C_ +
T);
68 template<
class FieldType>
70 Foam::saturationModels::Antoine::Tsat(
const FieldType&
p)
const
IMPLEMENT_TSAT(Antoine, volScalarField::Internal)
IMPLEMENT_PSAT(Antoine, volScalarField::Internal)
Macros for easy insertion into run-time selection tables.
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....
Antoine equation for the vapour pressure.
Antoine(const dictionary &dict)
Construct from a dictionary.
virtual ~Antoine()
Destructor.
Model to describe the dependence of saturation pressure on temperature, and vice versa.
Model to describe the dependence of saturation pressure on temperature, and vice versa.
addToRunTimeSelectionTable(saturationPressureModel, Antoine, dictionary)
defineTypeNameAndDebug(Antoine, 0)
dimensionedScalar exp(const dimensionedScalar &ds)
const dimensionSet dimPressure
dimensionedSymmTensor sqr(const dimensionedVector &dv)
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)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.