Go to the documentation of this file.
151 template<
class Liqu
id>
158 l.liquidProperties::readIfPresent(
dict);
159 readIfPresent(l.rho_,
"rho",
dict);
160 readIfPresent(l.pv_,
"pv",
dict);
161 readIfPresent(l.hl_,
"hl",
dict);
162 readIfPresent(l.Cp_,
"Cp",
dict);
163 readIfPresent(l.h_,
"h",
dict);
164 readIfPresent(l.Cpg_,
"Cpg",
dict);
165 readIfPresent(l.B_,
"B",
dict);
166 readIfPresent(l.mu_,
"mu",
dict);
167 readIfPresent(l.mug_,
"mug",
dict);
168 readIfPresent(l.kappa_,
"K",
dict);
169 readIfPresent(l.kappag_,
"kappag",
dict);
170 readIfPresent(l.sigma_,
"sigma",
dict);
171 readIfPresent(l.D_,
"D",
dict);
175 template<
class Liqu
id>
182 l.liquidProperties::writeData(os); os <<
nl;
183 l.rho_.writeData(os); os <<
nl;
184 l.pv_.writeData(os); os <<
nl;
185 l.hl_.writeData(os); os <<
nl;
186 l.Cp_.writeData(os); os <<
nl;
187 l.h_.writeData(os); os <<
nl;
188 l.Cpg_.writeData(os); os <<
nl;
189 l.B_.writeData(os); os <<
nl;
190 l.mu_.writeData(os); os <<
nl;
191 l.mug_.writeData(os); os <<
nl;
192 l.kappa_.writeData(os); os <<
nl;
193 l.kappag_.writeData(os); os <<
nl;
194 l.sigma_.writeData(os); os <<
nl;
195 l.D_.writeData(os); os <<
endl;
scalar CpMCv(scalar p, scalar T) const
Return (Cp - Cv) [J/(kg K].
A class for handling words, derived from Foam::string.
bool found(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Search for an entry (const access) with the given keyword.
scalar Ha(const scalar p, const scalar T) const
Absolute Enthalpy [J/kg].
virtual void writeData(Ostream &os) const =0
Write the function coefficients.
scalar Zc() const
Critical compressibility factor.
Ostream & endl(Ostream &os)
Add newline and flush stream.
const dimensionedScalar kappa
Coulomb constant: default SI units: [N.m2/C2].
scalar alphah(const scalar p, const scalar T) const
Liquid thermal diffusivity of enthalpy [kg/ms].
volScalarField & h
Planck constant.
scalar Hs(const scalar p, const scalar T) const
Sensible enthalpy [J/kg].
scalar Tb() const
Normal boiling temperature [K].
scalar Tt() const
Triple point temperature [K].
word name(const complex &c)
Return string representation of complex.
scalar Y() const
No of moles of this species in mixture.
const dictionary & subDict(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Find and return a sub-dictionary.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
scalar dipm() const
Dipole moment [].
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
scalar Vc() const
Critical volume [m^3/kmol].
scalar Pt() const
Triple point pressure [Pa].
void readIfPresent(const dictionary &dict)
Read and set the properties present it the given dictionary.
scalar delta() const
Solubility parameter [(J/m^3)^(1/2)].
scalar omega() const
Pitzer's acentric factor [].
scalar Hc() const
Chemical enthalpy [J/kg].
scalar Tc() const
Critical temperature [K].
const volScalarField & Cp
scalar limit(const scalar T) const
Limit the temperature to be in the range Tlow_ to Thigh_.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
scalar psi(scalar p, scalar T) const
Liquid compressibility rho/p [s^2/m^2].
scalar Pc() const
Critical pressure [Pa].