72 #ifndef ePolynomialThermo_H
73 #define ePolynomialThermo_H
85 template<
class EquationOfState,
int PolySize>
86 class ePolynomialThermo;
88 template<
class EquationOfState,
int PolySize>
89 inline ePolynomialThermo<EquationOfState, PolySize>
operator+
91 const ePolynomialThermo<EquationOfState, PolySize>&,
92 const ePolynomialThermo<EquationOfState, PolySize>&
95 template<
class EquationOfState,
int PolySize>
96 inline ePolynomialThermo<EquationOfState, PolySize>
operator*
99 const ePolynomialThermo<EquationOfState, PolySize>&
102 template<
class EquationOfState,
int PolySize>
109 template<
class EquationOfState,
int PolySize>
121 template<
class EquationOfState,
int PolySize=8>
124 public EquationOfState
151 const EquationOfState& pt,
176 return "ePolynomial<" + EquationOfState::typeName() +
'>';
180 inline scalar
limit(
const scalar)
const;
186 inline scalar
Cv(
const scalar
p,
const scalar
T)
const;
189 inline scalar
es(
const scalar
p,
const scalar
T)
const;
192 inline scalar
ea(
const scalar
p,
const scalar
T)
const;
195 inline scalar
hf()
const;
198 inline scalar
s(
const scalar
p,
const scalar
T)
const;
201 inline scalar
gStd(
const scalar
T)
const;
209 inline scalar
dCpdT(
const scalar
p,
const scalar
T)
const;
247 friend Ostream& operator<< <EquationOfState, PolySize>
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Polynomial templated on size (order):
A list of keyword definitions, which are a keyword followed by any number of values (e....
Internal energy based thermodynamics package using a polynomial function of temperature for the const...
scalar gStd(const scalar T) const
Gibbs free energy of the mixture in the standard state [J/kg].
void operator+=(const ePolynomialThermo &)
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 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 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].
void operator*=(const scalar)
A class for handling words, derived from string.
volScalarField sf(fieldObject, mesh)
word name(const bool)
Return a word representation of a bool.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)