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>
96 template<
class EquationOfState>
108 template<
class EquationOfState>
111 public EquationOfState
124 inline void checkT(
const scalar
T)
const;
134 const EquationOfState& st,
160 return "hPower<" + EquationOfState::typeName() +
'>';
164 inline scalar
limit(
const scalar
T)
const;
170 inline scalar
Cp(
const scalar
p,
const scalar
T)
const;
173 inline scalar
Ha(
const scalar
p,
const scalar
T)
const;
176 inline scalar
Hs(
const scalar
p,
const scalar
T)
const;
179 inline scalar
Hf()
const;
182 inline scalar
S(
const scalar
p,
const scalar
T)
const;
185 inline scalar
Gstd(
const scalar
T)
const;
193 inline scalar
dCpdT(
const scalar
p,
const scalar
T)
const;
225 friend Ostream& operator<< <EquationOfState>
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A list of keyword definitions, which are a keyword followed by any number of values (e....
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].
autoPtr< hPowerThermo > clone() const
Construct and return a clone.
hPowerThermo(const EquationOfState &st, const scalar c0, const scalar n0, const scalar Tref, const scalar Hf)
Construct from components.
static word typeName()
Return the instantiated type name.
scalar dCpdT(const scalar p, const scalar T) const
Temperature derivative of heat capacity at constant pressure.
scalar Cp(const scalar p, const scalar T) const
Heat capacity at constant pressure [J/kg/K].
void operator+=(const hPowerThermo &)
scalar S(const scalar p, const scalar T) const
Entropy [J/kg/K].
scalar Ha(const scalar p, const scalar T) const
Absolute enthalpy [J/kg].
scalar Gstd(const scalar T) const
Gibbs free energy of the mixture in the standard state [J/kg].
A class for handling words, derived from string.
word name(const complex &)
Return a string representation of a complex.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)