33 namespace saturationModels
54 C_(
dict.lookup(
"C<8>"))
77 Tsat[celli] = C_.value(
p[celli]);
95 TsatPrime[celli] = C_.derivative(
p[celli]);
#define forAll(list, i)
Loop across all elements in list.
Macros for easy insertion into run-time selection tables.
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
Polynomial equation for the saturation vapour temperature in terms of the vapour pressure (in Pa).
virtual ~polynomialTemperature()
Destructor.
virtual tmp< scalarField > Tsat(const scalarField &p) const
Saturation temperature for scalarField.
virtual tmp< scalarField > TsatPrime(const scalarField &p) const
Saturation temperature derivative w.r.t. pressure for scalarField.
polynomialTemperature(const dictionary &dict)
Construct from a dictionary.
Model to describe the dependence of saturation temperature on pressure.
A class for managing temporary objects.
T & ref() const
Return non-const reference or generate a fatal error.
addToRunTimeSelectionTable(saturationPressureModel, Antoine, dictionary)
defineTypeNameAndDebug(Antoine, 0)
Field< scalar > scalarField
Specialisation of Field<T> for scalar.