132 if (dict.
found(name))
134 f = Func(name, dict.
subDict(name));
139 template<
class Liqu
id>
146 l.liquidProperties::readIfPresent(dict);
163 template<
class Liqu
id>
170 l.liquidProperties::write(os);
scalar delta() const
Solubility parameter [(J/m^3)^(1/2)].
virtual scalar Hs(scalar p, scalar T) const =0
Liquid sensible enthalpy [J/kg].
bool found(const word &, bool recursive=false, bool patternMatch=true) const
Search dictionary for given keyword.
A list of keyword definitions, which are a keyword followed by any number of values (e...
void readIfPresent(const dictionary &dict)
Read and set the properties present it the given dictionary.
scalar Y() const
Mass fraction of this specie in mixture.
scalar Pt() const
Triple point pressure [Pa].
scalar dipm() const
Dipole moment [].
const dictionary & subDict(const word &) const
Find and return a sub-dictionary.
scalar Ea(scalar p, scalar T) const
Absolute internal energy [J/kg].
scalar limit(const scalar T) const
Limit the temperature to be in the range Tlow_ to Thigh_.
scalar Tc() const
Critical temperature [K].
scalar Zc() const
Critical compressibility factor.
scalar psi(scalar p, scalar T) const
Liquid compressibility [s^2/m^2].
A class for handling words, derived from string.
virtual scalar Ha(scalar p, scalar T) const =0
Liquid absolute enthalpy [J/kg].
scalar CpMCv(scalar p, scalar T) const
Return (Cp - Cv) [J/(kg K].
scalar Vc() const
Critical volume [m^3/kmol].
An Ostream is an abstract base class for all output systems (streams, files, token lists...
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
scalar omega() const
Pitzer's acentric factor [].
scalar Pc() const
Critical pressure [Pa].
scalar Es(scalar p, const scalar T) const
Sensible internal energy [J/kg].
virtual void write(Ostream &os) const =0
Write the function coefficients.
scalar Tb() const
Normal boiling temperature [K].
scalar Tt() const
Triple point temperature [K].