Go to the documentation of this file.
37 #ifndef hRefConstThermo_H
38 #define hRefConstThermo_H
49 template<
class EquationOfState>
56 template<
class EquationOfState>
63 template<
class EquationOfState>
70 template<
class EquationOfState>
77 template<
class EquationOfState>
89 template<
class EquationOfState>
92 public EquationOfState
107 const EquationOfState& st,
143 return "hRefConst<" + EquationOfState::typeName() +
'>';
147 inline scalar
limit(
const scalar
T)
const;
153 inline scalar
cp(
const scalar
p,
const scalar
T)
const;
156 inline scalar
ha(
const scalar
p,
const scalar
T)
const;
159 inline scalar
hs(
const scalar
p,
const scalar
T)
const;
162 inline scalar
hc()
const;
165 inline scalar
s(
const scalar
p,
const scalar
T)
const;
209 friend Ostream& operator<< <EquationOfState>
hRefConstThermo(const EquationOfState &st, const scalar cp, const scalar hf, const scalar tref, const scalar href)
Construct from components.
A class for handling words, derived from string.
autoPtr< hRefConstThermo > clone() const
Construct and return a clone.
static word typeName()
Return the instantiated type name.
void operator-=(const hRefConstThermo &)
scalar hc() const
Chemical enthalpy [J/kmol].
scalar cp(const scalar p, const scalar T) const
Heat capacity at constant pressure [J/(kmol K)].
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
void operator+=(const hRefConstThermo &)
scalar s(const scalar p, const scalar T) const
Entropy [J/(kmol K)].
A list of keyword definitions, which are a keyword followed by any number of values (e....
void write(Ostream &os) const
Write to Ostream.
scalar ha(const scalar p, const scalar T) const
Absolute Enthalpy [J/kmol].
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
scalar limit(const scalar T) const
Limit the temperature to be in the range Tlow_ to Thigh_.
Constant properties thermodynamics package templated into the EquationOfState.
scalar hs(const scalar p, const scalar T) const
Sensible enthalpy [J/kmol].
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
static autoPtr< hRefConstThermo > New(Istream &is)
Selector from Istream.