37 #ifndef eConstThermo_H 38 #define eConstThermo_H 49 template<
class EquationOfState>
53 const eConstThermo<EquationOfState>&
56 template<
class EquationOfState>
57 inline eConstThermo<EquationOfState>
operator*
60 const eConstThermo<EquationOfState>&
63 template<
class EquationOfState>
64 inline eConstThermo<EquationOfState>
operator==
66 const eConstThermo<EquationOfState>&,
67 const eConstThermo<EquationOfState>&
70 template<
class EquationOfState>
74 const eConstThermo<EquationOfState>&
82 template<
class EquationOfState>
85 public EquationOfState
107 const EquationOfState& st,
137 return "eConst<" + EquationOfState::typeName() +
'>';
141 inline scalar
limit(
const scalar
T)
const;
147 inline scalar
Cv(
const scalar
p,
const scalar T)
const;
150 inline scalar
Es(
const scalar p,
const scalar T)
const;
153 inline scalar
Ea(
const scalar p,
const scalar T)
const;
156 inline scalar
Hf()
const;
159 inline scalar
S(
const scalar p,
const scalar T)
const;
162 inline scalar
Gstd(
const scalar T)
const;
170 inline scalar
dCpdT(
const scalar p,
const scalar T)
const;
176 void write(Ostream& os)
const;
192 friend eConstThermo
operator* <EquationOfState>
198 friend eConstThermo
operator== <EquationOfState>
207 friend Ostream& operator<< <EquationOfState>
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...
void operator+=(const eConstThermo &)
scalar Ea(const scalar p, const scalar T) const
Absolute internal energy [J/kg].
static word typeName()
Return the instantiated type name.
scalar Hf() const
Enthalpy of formation [J/kg].
Constant properties thermodynamics package templated on an equation of state.
scalar Es(const scalar p, const scalar T) const
Sensible internal energy [J/kg].
A class for handling words, derived from string.
scalar Gstd(const scalar T) const
Gibbs free energy of the mixture in the standard state [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)
autoPtr< eConstThermo > clone() const
Construct and return a clone.
scalar Cv(const scalar p, const scalar T) const
Heat capacity at constant volume [J/kg/K].
scalar S(const scalar p, const scalar T) const
Entropy [J/kg/K].
void write(Ostream &os) const
Write to Ostream.
scalar dCpdT(const scalar p, const scalar T) const
Temperature derivative of heat capacity at constant pressure.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
static autoPtr< eConstThermo > New(const dictionary &dict)
Selector from dictionary.