35 #ifndef liquidProperties_H 36 #define liquidProperties_H 180 inline scalar
W()
const;
183 inline scalar
Tc()
const;
186 inline scalar
Pc()
const;
189 inline scalar
Vc()
const;
192 inline scalar
Zc()
const;
195 inline scalar
Tt()
const;
198 inline scalar
Pt()
const;
201 inline scalar
Tb()
const;
204 inline scalar
dipm()
const;
207 inline scalar
omega()
const;
210 inline scalar
delta()
const;
216 virtual scalar
rho(scalar
p, scalar
T)
const;
219 virtual scalar
pv(scalar p, scalar T)
const;
222 virtual scalar
hl(scalar p, scalar T)
const;
225 virtual scalar
Cp(scalar p, scalar T)
const;
228 virtual scalar
h(scalar p, scalar T)
const;
231 virtual scalar
Cpg(scalar p, scalar T)
const;
234 virtual scalar
mu(scalar p, scalar T)
const;
237 virtual scalar
mug(scalar p, scalar T)
const;
240 virtual scalar
K(scalar p, scalar T)
const;
243 virtual scalar
Kg(scalar p, scalar T)
const;
246 virtual scalar
sigma(scalar p, scalar T)
const;
249 virtual scalar
D(scalar p, scalar T)
const;
252 virtual scalar
D(scalar p, scalar T, scalar Wb)
const;
256 virtual scalar
pvInvert(scalar p)
const;
scalar Vc() const
Critical volume [m^3/kmol].
scalar Tt() const
Triple point temperature [K].
A list of keyword definitions, which are a keyword followed by any number of values (e...
virtual scalar h(scalar p, scalar T) const
Liquid enthalpy [J/kg] - reference to 298.15 K.
scalar Pt() const
Triple point pressure [Pa].
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
virtual void writeData(Ostream &os) const
Write the function coefficients.
virtual ~liquidProperties()
Destructor.
virtual autoPtr< liquidProperties > clone() const
Construct and return clone.
virtual scalar hl(scalar p, scalar T) const
Heat of vapourisation [J/kg].
virtual scalar mu(scalar p, scalar T) const
Liquid viscosity [Pa s].
declareRunTimeSelectionTable(autoPtr, liquidProperties,,(),())
virtual scalar Kg(scalar p, scalar T) const
Vapour thermal conductivity [W/(m K)].
virtual scalar Cpg(scalar p, scalar T) const
Ideal gas heat capacity [J/(kg K)].
liquidProperties(scalar W, scalar Tc, scalar Pc, scalar Vc, scalar Zc, scalar Tt, scalar Pt, scalar Tb, scalar dipm, scalar omega, scalar delta)
Construct from components.
Useful combination of include files which define Sin, Sout and Serr and the use of IO streams general...
friend Ostream & operator<<(Ostream &os, const liquidProperties &l)
Ostream Operator.
scalar dipm() const
Dipole moment [].
TypeName("liquidProperties")
virtual scalar sigma(scalar p, scalar T) const
Surface tension [N/m].
The thermophysical properties of a liquidProperties.
virtual scalar Cp(scalar p, scalar T) const
Liquid heat capacity [J/(kg K)].
scalar Pc() const
Critical pressure [Pa].
virtual scalar rho(scalar p, scalar T) const
Liquid rho [kg/m^3].
virtual scalar pv(scalar p, scalar T) const
Vapour pressure [Pa].
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)
virtual scalar K(scalar p, scalar T) const
Liquid thermal conductivity [W/(m K)].
virtual scalar pvInvert(scalar p) const
Invert the vapour pressure relationship to retrieve the.
static autoPtr< liquidProperties > New(Istream &is)
Return a pointer to a new liquidProperties created from input.
scalar W() const
Molecular weight [kg/kmol].
scalar delta() const
Solubility parameter [(J/m^3)^(1/2)].
scalar Tb() const
Normal boiling temperature [K].
scalar Zc() const
Critical compressibilty factor.
virtual scalar mug(scalar p, scalar T) const
Vapour viscosity [Pa s].
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
virtual scalar D(scalar p, scalar T) const
Vapour diffussivity [m2/s].
Macros to ease declaration of run-time selection tables.
scalar omega() const
Pitzer's ascentric factor [].
scalar Tc() const
Critical temperature [K].