97 #ifndef eTabulatedThermo_H
98 #define eTabulatedThermo_H
109 template<
class EquationOfState>
110 class eTabulatedThermo;
112 template<
class EquationOfState>
116 const eTabulatedThermo<EquationOfState>&
124 template<
class EquationOfState>
125 class eTabulatedThermo
127 public EquationOfState
169 return "eTabulated<" + 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
es(
const scalar
p,
const scalar
T)
const;
188 inline scalar
ea(
const scalar
p,
const scalar
T)
const;
191 inline scalar
hs(
const scalar
p,
const scalar
T)
const;
194 inline scalar
ha(
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....
Internal energy based thermodynamics package using uniform tabulated data for internal energy and hea...
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].
eTabulatedThermo(const word &name, const dictionary &dict)
Construct from name and dictionary.
void write(Ostream &os) const
Write to Ostream.
scalar Cv(const scalar p, const scalar T) const
Heat capacity at constant pressure [J/kg/K].
scalar ha(const scalar p, const scalar T) const
Absolute enthalpy [J/kg].
scalar hf() const
Enthalpy of formation [J/kg].
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)