Go to the documentation of this file.
37 #ifndef eConstThermo_H
38 #define eConstThermo_H
51 template<
class EquationOfState>
58 template<
class EquationOfState>
65 template<
class EquationOfState>
72 template<
class EquationOfState>
79 template<
class EquationOfState>
91 template<
class EquationOfState>
94 public EquationOfState
112 const EquationOfState& st,
146 return "eConst<" + EquationOfState::typeName() +
'>';
150 inline scalar
limit(
const scalar
T)
const;
156 inline scalar
cp(
const scalar
p,
const scalar
T)
const;
159 inline scalar
ha(
const scalar
p,
const scalar
T)
const;
162 inline scalar
hs(
const scalar
p,
const scalar
T)
const;
165 inline scalar
hc()
const;
168 inline scalar
s(
const scalar
p,
const scalar
T)
const;
212 friend Ostream& operator<< <EquationOfState>
autoPtr< eConstThermo > clone() const
Construct and return a clone.
A class for handling words, derived from string.
Constant properties thermodynamics package templated on an equation of state.
scalar ha(const scalar p, const scalar T) const
Absolute Enthalpy [J/kmol].
scalar limit(const scalar T) const
Limit the temperature to be in the range Tlow_ to Thigh_.
void write(Ostream &os) const
Write to Ostream.
scalar hs(const scalar p, const scalar T) const
Sensible Enthalpy [J/kmol].
void operator+=(const eConstThermo &)
scalar cp(const scalar p, const scalar T) const
Heat capacity at constant pressure [J/(kmol K)].
static autoPtr< eConstThermo > New(Istream &is)
static word typeName()
Return the instantiated type name.
scalar s(const scalar p, const scalar T) const
Entropy [J/(kmol K)].
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
eConstThermo(const EquationOfState &st, const scalar cv, const scalar hf)
Construct from components.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
scalar Hf_
Heat of formation.
scalar hc() const
Chemical enthalpy [J/kmol].
void operator-=(const eConstThermo &)
A list of keyword definitions, which are a keyword followed by any number of values (e....
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
scalar Cv_
Heat capacity at constant volume.