Go to the documentation of this file.
48 #ifndef hPowerThermo_H
49 #define hPowerThermo_H
62 template<
class EquationOfState>
69 template<
class EquationOfState>
77 template<
class EquationOfState>
85 template<
class EquationOfState>
97 template<
class EquationOfState>
100 public EquationOfState
113 inline void checkT(
const scalar
T)
const;
118 const EquationOfState& st,
152 return "hPower<" + EquationOfState::typeName() +
'>';
156 inline scalar
limit(
const scalar
T)
const;
162 inline scalar
Cp(
const scalar
p,
const scalar
T)
const;
165 inline scalar
Ha(
const scalar
p,
const scalar
T)
const;
168 inline scalar
Hs(
const scalar
p,
const scalar
T)
const;
171 inline scalar
Hc()
const;
174 inline scalar
S(
const scalar
p,
const scalar
T)
const;
183 inline scalar
dGdT(
const scalar
p,
const scalar
T)
const;
186 inline scalar
dCpdT(
const scalar
p,
const scalar
T)
const;
219 friend Ostream& operator<< <EquationOfState>
A class for handling words, derived from Foam::string.
Power-function based thermodynamics package templated on EquationOfState.
void operator+=(const hPowerThermo &)
scalar limit(const scalar T) const
Limit the temperature to be in the range Tlow_ to Thigh_.
static word typeName()
Return the instantiated type name.
scalar Hs(const scalar p, const scalar T) const
Sensible enthalpy [J/kg].
autoPtr< hPowerThermo > clone() const
Construct and return a clone.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
scalar Hc() const
Chemical enthalpy [J/kg].
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)].
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
scalar dCpdT(const scalar p, const scalar T) const
Temperature derivative of heat capacity at constant pressure.
static autoPtr< hPowerThermo > New(const dictionary &dict)
Selector from dictionary.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
scalar Cp(const scalar p, const scalar T) const
Heat capacity at constant pressure [J/(kg K)].
scalar dGdT(const scalar p, const scalar T) const
Derivative of Gibbs free energy w.r.t. temperature.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...