142 if (dict.
found(name))
149 template<
class Liqu
id>
156 l.liquidProperties::readIfPresent(dict);
173 template<
class Liqu
id>
180 l.liquidProperties::writeData(os); os <<
nl;
181 l.rho_.writeData(os); os <<
nl;
182 l.pv_.writeData(os); os <<
nl;
183 l.hl_.writeData(os); os <<
nl;
184 l.Cp_.writeData(os); os <<
nl;
185 l.h_.writeData(os); os <<
nl;
186 l.Cpg_.writeData(os); os <<
nl;
187 l.B_.writeData(os); os <<
nl;
188 l.mu_.writeData(os); os <<
nl;
189 l.mug_.writeData(os); os <<
nl;
190 l.kappa_.writeData(os); os <<
nl;
191 l.kappag_.writeData(os); os <<
nl;
192 l.sigma_.writeData(os); os <<
nl;
193 l.D_.writeData(os); os <<
endl;
scalar delta() const
Solubility parameter [(J/m^3)^(1/2)].
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.
Ostream & endl(Ostream &os)
Add newline and flush stream.
scalar Y() const
No of moles of this species in mixture.
scalar Ha(const scalar p, const scalar T) const
Absolute Enthalpy [J/kg].
scalar Pt() const
Triple point pressure [Pa].
virtual scalar kappa(scalar p, scalar T) const =0
Liquid thermal conductivity [W/(m K)].
scalar dipm() const
Dipole moment [].
const dictionary & subDict(const word &) const
Find and return a sub-dictionary.
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 compressibilty factor.
scalar Hc() const
Chemical enthalpy [J/kg].
scalar psi(scalar p, scalar T) const
Liquid compressibility rho/p [s^2/m^2].
A class for handling words, derived from string.
virtual scalar h(scalar p, scalar T) const =0
Liquid enthalpy [J/kg] - reference to 298.15 K.
virtual scalar Cp(const scalar p, const scalar T) const =0
Heat capacity at constant pressure [J/(kg K)].
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...
scalar Hs(const scalar p, const scalar T) const
Sensible enthalpy [J/kg].
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
virtual void writeData(Ostream &os) const =0
Write the function coefficients.
scalar omega() const
Pitzer's ascentric factor [].
scalar Pc() const
Critical pressure [Pa].
scalar alphah(const scalar p, const scalar T) const
Liquid thermal diffusivity of enthalpy [kg/ms].
scalar Tb() const
Normal boiling temperature [K].
scalar Tt() const
Triple point temperature [K].