33 namespace saturationModels
46 template<
class FieldType>
48 Foam::saturationModels::Antoine::pSat(
const FieldType&
T)
const
54 template<
class FieldType>
56 Foam::saturationModels::Antoine::pSatPrime(
const FieldType&
T)
const
58 return - pSat(
T)*B_/
sqr(C_ +
T);
62 template<
class FieldType>
64 Foam::saturationModels::Antoine::lnPSat(
const FieldType&
T)
const
66 return A_ + B_/(C_ +
T);
70 template<
class FieldType>
72 Foam::saturationModels::Antoine::Tsat(
const FieldType&
p)
const
78 template<
class FieldType>
80 Foam::saturationModels::Antoine::TsatPrime(
const FieldType&
p)
const
IMPLEMENT_PSAT(saturationModels::Antoine, scalarField)
IMPLEMENT_TSAT(saturationModels::Antoine, scalarField)
Macros for easy insertion into run-time selection tables.
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.
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.
Model to describe the dependence of saturation temperature on pressure.
A class for managing temporary objects.
addToRunTimeSelectionTable(saturationPressureModel, Antoine, dictionary)
static const coefficient oneP(dimPressure, 1)
defineTypeNameAndDebug(Antoine, 0)
dimensionedScalar exp(const dimensionedScalar &ds)
const dimensionSet dimPressure
const dimensionSet dimless
void T(LagrangianPatchField< Type > &f, const LagrangianPatchField< Type > &f1)
const dimensionSet dimTemperature
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
dimensionedScalar log(const dimensionedScalar &ds)
VolField< scalar > volScalarField
void sqr(LagrangianPatchField< typename outerProduct< Type, Type >::type > &f, const LagrangianPatchField< Type > &f1)
Structure to store a dimensioned coefficient of the saturation model.