97 #ifndef hTabulatedThermo_H
98 #define hTabulatedThermo_H
109 template<
class EquationOfState>
110 class hTabulatedThermo;
112 template<
class EquationOfState>
116 const hTabulatedThermo<EquationOfState>&
124 template<
class EquationOfState>
125 class hTabulatedThermo
127 public EquationOfState
169 return "hTabulated<" + EquationOfState::typeName() +
'>';
173 inline scalar
limit(
const scalar)
const;
179 inline scalar
Cp(
const scalar
p,
const scalar
T)
const;
182 inline scalar
Cv(
const scalar
p,
const scalar
T)
const;
185 inline scalar
hs(
const scalar
p,
const scalar
T)
const;
188 inline scalar
ha(
const scalar
p,
const scalar
T)
const;
191 inline scalar
es(
const scalar
p,
const scalar
T)
const;
194 inline scalar
ea(
const scalar
p,
const scalar
T)
const;
197 inline scalar
hf()
const;
200 inline scalar
s(
const scalar
p,
const scalar
T)
const;
203 inline scalar
gStd(
const scalar
T)
const;
209 inline scalar
dCpdT(
const scalar
p,
const scalar
T)
const;
220 friend Ostream& operator<< <EquationOfState>
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A list of keyword definitions, which are a keyword followed by any number of values (e....
Enthalpy based thermodynamics package using uniform tabulated data for enthalpy and heat capacity vs ...
scalar gStd(const scalar T) const
Gibbs free energy of the mixture in the standard state [J/kg].
scalar s(const scalar p, const scalar T) const
Entropy [J/kg/K].
static word typeName()
Return the instantiated type name.
scalar dCpdT(const scalar p, const scalar T) const
Temperature derivative of heat capacity at constant pressure.
scalar Cp(const scalar p, const scalar T) const
Heat capacity at constant pressure [J/kg/K].
scalar ea(const scalar p, const scalar T) const
Absolute internal energy [J/kg].
void write(Ostream &os) const
Write to Ostream.
scalar Cv(const scalar p, const scalar T) const
Heat capacity at constant volume [J/kg/K].
scalar ha(const scalar p, const scalar T) const
Absolute enthalpy [J/kg].
scalar hf() const
Enthalpy of formation [J/kg].
hTabulatedThermo(const word &name, const dictionary &dict)
Construct from name and dictionary.
scalar limit(const scalar) const
Limit the temperature to be in the range Tlow_ to Thigh_.
scalar es(const scalar p, const scalar T) const
Sensible internal energy [J/kg].
scalar hs(const scalar p, const scalar T) const
Sensible enthalpy [J/kg].
A class for handling words, derived from string.
word name(const bool)
Return a word representation of a bool.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)