33 namespace saturationModels
48 template<
class FieldType>
50 Foam::saturationModels::AntoineExtended::pSat(
const FieldType&
T)
const
54 *
exp(A_ + B_/(C_ +
T) + E_*
pow(
T, F_))
59 template<
class FieldType>
61 Foam::saturationModels::AntoineExtended::pSatPrime(
const FieldType&
T)
const
63 return pSat(
T)*((D_ + E_*F_*
pow(
T, F_))/
T - B_/
sqr(C_ +
T));
67 template<
class FieldType>
69 Foam::saturationModels::AntoineExtended::lnPSat(
const FieldType&
T)
const
IMPLEMENT_PSAT(AntoineExtended, 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....
Extended Antoine equation for the vapour pressure.
AntoineExtended(const dictionary &dict)
Construct from a dictionary and an interface.
virtual ~AntoineExtended()
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)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
dimensionedScalar exp(const dimensionedScalar &ds)
const dimensionSet dimPressure
dimensionedSymmTensor sqr(const dimensionedVector &dv)
const dimensionSet dimless
const dimensionSet dimTemperature
dimensionedScalar log(const dimensionedScalar &ds)
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
VolField< scalar > volScalarField
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)