37 #ifndef thermophysicalPropertiesSelector_H 38 #define thermophysicalPropertiesSelector_H 51 template<
class ThermophysicalProperties>
74 ThermophysicalProperties::incompressible;
78 ThermophysicalProperties::isochoric;
87 "thermophysicalPropertiesSelector<" 88 + ThermophysicalProperties::typeName
93 inline const ThermophysicalProperties&
properties()
const;
99 inline scalar
W()
const;
102 inline scalar
limit(
const scalar
T)
const;
108 inline scalar
rho(scalar
p, scalar T)
const;
112 inline scalar
psi(scalar p, scalar T)
const;
117 inline scalar
CpMCv(scalar p, scalar T)
const;
123 inline scalar
Cp(
const scalar p,
const scalar T)
const;
126 inline scalar
Ha(
const scalar p,
const scalar T)
const;
129 inline scalar
Hs(
const scalar p,
const scalar T)
const;
132 inline scalar
Hc()
const;
135 inline scalar
S(
const scalar p,
const scalar T)
const;
147 inline scalar
mu(scalar p, scalar T)
const;
150 inline scalar
kappa(scalar p, scalar T)
const;
153 inline scalar
alphah(
const scalar p,
const scalar T)
const;
scalar kappa(scalar p, scalar T) const
Liquid thermal conductivity [W/(m K)].
scalar Cp(const scalar p, const scalar T) const
Heat capacity at constant pressure [J/(kg K)].
static const bool incompressible
Is the equation of state is incompressible i.e. rho != f(p)
thermophysicalPropertiesSelector(const word &name)
Construct from name.
A list of keyword definitions, which are a keyword followed by any number of values (e...
scalar CpMCv(scalar p, scalar T) const
Return (Cp - Cv) [J/(kg K].
scalar alphah(const scalar p, const scalar T) const
Liquid thermal diffusivity of enthalpy [kg/ms].
scalar rho(scalar p, scalar T) const
Liquid density [kg/m^3].
scalar W() const
Molecular weight [kg/kmol].
A class for handling words, derived from string.
scalar Ha(const scalar p, const scalar T) const
Absolute Enthalpy [J/kg].
scalar S(const scalar p, const scalar T) const
An Ostream is an abstract base class for all output systems (streams, files, token lists...
static word typeName()
Return the instantiated type name.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
word name(const complex &)
Return a string representation of a complex.
scalar psi(scalar p, scalar T) const
Liquid compressibility rho/p [s^2/m^2].
const ThermophysicalProperties & properties() const
Return reference to the selected physical properties class.
scalar mu(scalar p, scalar T) const
Liquid viscosity [Pa s].
void write(Ostream &os) const
Write to Ostream.
scalar limit(const scalar T) const
Limit the temperature to be in the range Tlow_ to Thigh_.
static const bool isochoric
Is the equation of state is isochoric i.e. rho = const.
scalar Hs(const scalar p, const scalar T) const
Sensible enthalpy [J/kg].
scalar Hc() const
Chemical enthalpy [J/kg].
Wrapper class providing run-time selection of thermophysicalProperties for the templated thermodynami...