59 #ifndef hPowerThermo_H 60 #define hPowerThermo_H 71 template<
class EquationOfState>
class hPowerThermo;
73 template<
class EquationOfState>
74 inline hPowerThermo<EquationOfState>
operator+
76 const hPowerThermo<EquationOfState>&,
77 const hPowerThermo<EquationOfState>&
80 template<
class EquationOfState>
81 inline hPowerThermo<EquationOfState>
operator*
84 const hPowerThermo<EquationOfState>&
88 template<
class EquationOfState>
89 inline hPowerThermo<EquationOfState>
operator==
91 const hPowerThermo<EquationOfState>&,
92 const hPowerThermo<EquationOfState>&
96 template<
class EquationOfState>
100 const hPowerThermo<EquationOfState>&
108 template<
class EquationOfState>
111 public EquationOfState
124 inline void checkT(
const scalar
T)
const;
129 const EquationOfState& st,
163 return "hPower<" + EquationOfState::typeName() +
'>';
167 inline scalar
limit(
const scalar T)
const;
173 inline scalar
Cp(
const scalar
p,
const scalar T)
const;
176 inline scalar
Ha(
const scalar p,
const scalar T)
const;
179 inline scalar
Hs(
const scalar p,
const scalar T)
const;
182 inline scalar
Hf()
const;
185 inline scalar
S(
const scalar p,
const scalar T)
const;
188 inline scalar
Gstd(
const scalar T)
const;
196 inline scalar
dCpdT(
const scalar p,
const scalar T)
const;
212 friend hPowerThermo
operator* <EquationOfState>
219 friend hPowerThermo
operator== <EquationOfState>
228 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].
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...