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