37 #ifndef thermophysicalPropertiesSelector_H
38 #define thermophysicalPropertiesSelector_H
51 template<
class ThermophysicalProperties>
89 ThermophysicalProperties::incompressible;
93 ThermophysicalProperties::isochoric;
102 "thermophysicalPropertiesSelector<"
103 + ThermophysicalProperties::typeName
114 inline const ThermophysicalProperties&
properties()
const;
120 inline scalar
W()
const;
123 inline scalar
limit(
const scalar
T)
const;
129 inline scalar
rho(scalar
p, scalar
T)
const;
133 inline scalar
psi(scalar
p, scalar
T)
const;
138 inline scalar
CpMCv(scalar
p, scalar
T)
const;
144 inline scalar
Cp(
const scalar
p,
const scalar
T)
const;
147 inline scalar
Hs(
const scalar
p,
const scalar
T)
const;
150 inline scalar
Hf()
const;
153 inline scalar
Ha(
const scalar
p,
const scalar
T)
const;
156 inline scalar
Cv(
const scalar
p,
const scalar
T)
const;
159 inline scalar
Es(
const scalar
p,
const scalar
T)
const;
162 inline scalar
Ea(
const scalar
p,
const scalar
T)
const;
165 inline scalar
S(
const scalar
p,
const scalar
T)
const;
177 inline scalar
mu(scalar
p, scalar
T)
const;
180 inline scalar
kappa(scalar
p, scalar
T)
const;
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A list of keyword definitions, which are a keyword followed by any number of values (e....
Wrapper class providing run-time selection of thermophysicalProperties for the templated thermodynami...
scalar Hf() const
Enthalpy of formation [J/kg].
scalar limit(const scalar T) const
Limit the temperature to be in the range Tlow_ to Thigh_.
scalar Hs(const scalar p, const scalar T) const
Sensible enthalpy [J/kg].
scalar psi(scalar p, scalar T) const
Liquid compressibility [s^2/m^2].
scalar mu(scalar p, scalar T) const
Liquid viscosity [Pa s].
static word typeName()
Return the instantiated type name.
scalar Cp(const scalar p, const scalar T) const
Heat capacity at constant pressure [J/kg/K].
void write(Ostream &os) const
Write to Ostream.
scalar rho(scalar p, scalar T) const
Liquid density [kg/m^3].
scalar S(const scalar p, const scalar T) const
scalar Ha(const scalar p, const scalar T) const
Absolute enthalpy [J/kg].
scalar kappa(scalar p, scalar T) const
Liquid thermal conductivity [W/m/K].
scalar CpMCv(scalar p, scalar T) const
Return (Cp - Cv) [J/kg/K].
scalar Cv(const scalar p, const scalar T) const
Heat capacity at constant volume [J/kg/K].
const ThermophysicalProperties & properties() const
Return the physical properties model.
scalar W() const
Molecular weight [kg/kmol].
static const bool isochoric
Is the equation of state is isochoric i.e. rho = const.
thermophysicalPropertiesSelector(const word &name)
Construct from name.
static const bool incompressible
Is the equation of state is incompressible i.e. rho != f(p)
scalar Es(const scalar p, const scalar T) const
Sensible internal energy [J/kg].
const word & name() const
Return the specie name.
scalar Ea(const scalar p, const scalar T) const
Absolute internal energy [J/kg].
A class for handling words, derived from string.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)