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
Hs(
const scalar p,
const scalar T)
const;
129 inline scalar
Hf()
const;
132 inline scalar
Ha(
const scalar p,
const scalar T)
const;
135 inline scalar
Cv(
const scalar p,
const scalar T)
const;
138 inline scalar
Es(
const scalar p,
const scalar T)
const;
141 inline scalar
Ea(
const scalar p,
const scalar T)
const;
144 inline scalar
S(
const scalar p,
const scalar T)
const;
156 inline scalar
mu(scalar p, scalar T)
const;
159 inline scalar
kappa(scalar p, scalar T)
const;
scalar Es(const scalar p, const scalar T) const
Sensible internal energy [J/kg].
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 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 Ea(const scalar p, const scalar T) const
Absolute internal energy [J/kg].
scalar psi(scalar p, scalar T) const
Liquid compressibility [s^2/m^2].
scalar Hf() const
Enthalpy of formation [J/kg].
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_.
scalar Cv(const scalar p, const scalar T) const
Heat capacity at constant volume [J/kg/K].
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].
Wrapper class providing run-time selection of thermophysicalProperties for the templated thermodynami...