43 #ifndef hPowerThermo_H 44 #define hPowerThermo_H 57 template<
class EquationOfState>
61 const hPowerThermo<EquationOfState>&
64 template<
class EquationOfState>
65 inline hPowerThermo<EquationOfState>
operator*
68 const hPowerThermo<EquationOfState>&
72 template<
class EquationOfState>
73 inline hPowerThermo<EquationOfState>
operator==
75 const hPowerThermo<EquationOfState>&,
76 const hPowerThermo<EquationOfState>&
80 template<
class EquationOfState>
84 const hPowerThermo<EquationOfState>&
92 template<
class EquationOfState>
95 public EquationOfState
108 inline void checkT(
const scalar
T)
const;
113 const EquationOfState& st,
147 return "hPower<" + EquationOfState::typeName() +
'>';
151 inline scalar
limit(
const scalar
T)
const;
157 inline scalar
Cp(
const scalar
p,
const scalar T)
const;
160 inline scalar
Ha(
const scalar p,
const scalar T)
const;
163 inline scalar
Hs(
const scalar p,
const scalar T)
const;
166 inline scalar
Hf()
const;
169 inline scalar
S(
const scalar p,
const scalar T)
const;
172 inline scalar
Gstd(
const scalar T)
const;
180 inline scalar
dCpdT(
const scalar p,
const scalar T)
const;
196 friend hPowerThermo
operator* <EquationOfState>
203 friend hPowerThermo
operator== <EquationOfState>
212 friend Ostream& operator<< <EquationOfState>
A list of keyword definitions, which are a keyword followed by any number of values (e...
static word typeName()
Return the instantiated type name.
scalar Gstd(const scalar T) const
Gibbs free energy of the mixture in the standard state [J/kg].
void operator+=(const hPowerThermo &)
scalar limit(const scalar T) const
Limit the temperature to be in the range Tlow_ to Thigh_.
scalar Ha(const scalar p, const scalar T) const
Absolute enthalpy [J/kg].
scalar S(const scalar p, const scalar T) const
Entropy [J/kg/K].
autoPtr< hPowerThermo > clone() const
Construct and return a clone.
scalar dCpdT(const scalar p, const scalar T) const
Temperature derivative of heat capacity at constant pressure.
A class for handling words, derived from string.
scalar Hf() const
Enthalpy of formation [J/kg].
scalar Hs(const scalar p, const scalar T) const
Sensible enthalpy [J/kg].
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)
static autoPtr< hPowerThermo > New(const dictionary &dict)
Selector from dictionary.
scalar Cp(const scalar p, const scalar T) const
Heat capacity at constant pressure [J/kg/K].
Power-function based thermodynamics package templated on EquationOfState.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...