49 #ifndef hPowerThermo_H 50 #define hPowerThermo_H 63 template<
class EquationOfState>
70 template<
class EquationOfState>
78 template<
class EquationOfState>
86 template<
class EquationOfState>
98 template<
class EquationOfState>
101 public EquationOfState
114 inline void checkT(
const scalar
T)
const;
119 const EquationOfState& st,
153 return "hPower<" + EquationOfState::typeName() +
'>';
157 inline scalar
limit(
const scalar
T)
const;
163 inline scalar
Cp(
const scalar
p,
const scalar
T)
const;
166 inline scalar
Ha(
const scalar
p,
const scalar
T)
const;
169 inline scalar
Hs(
const scalar
p,
const scalar
T)
const;
172 inline scalar
Hc()
const;
175 inline scalar
S(
const scalar
p,
const scalar
T)
const;
178 inline scalar
Gstd(
const scalar
T)
const;
188 inline scalar
dCpdT(
const scalar
p,
const scalar
T)
const;
221 friend Ostream& operator<< <EquationOfState>
A list of keyword definitions, which are a keyword followed by a number of values (eg...
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 temperature to be within the range.
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 Foam::string.
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)
scalar Hc() const
Chemical enthalpy [J/kg].
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.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...