Go to the documentation of this file.
52 template<
class EquationOfState>
59 template<
class EquationOfState>
66 template<
class EquationOfState>
73 template<
class EquationOfState>
80 template<
class EquationOfState>
92 template<
class EquationOfState>
95 public EquationOfState
133 const EquationOfState& st,
156 return "janaf<" + EquationOfState::typeName() +
'>';
160 inline scalar
limit(
const scalar
T)
const;
166 inline scalar
Tlow()
const;
169 inline scalar
Thigh()
const;
184 inline scalar
cp(
const scalar
p,
const scalar
T)
const;
187 inline scalar
ha(
const scalar
p,
const scalar
T)
const;
190 inline scalar
hs(
const scalar
p,
const scalar
T)
const;
193 inline scalar
hc()
const;
196 inline scalar
s(
const scalar
p,
const scalar
T)
const;
240 friend Ostream& operator<< <EquationOfState>
scalar s(const scalar p, const scalar T) const
Entropy [J/(kmol K)].
const coeffArray & highCpCoeffs() const
Return const access to the high temperature poly coefficients.
const coeffArray & coeffs(const scalar T) const
Return the coefficients corresponding to the given temperature.
janafThermo(const EquationOfState &st, const scalar Tlow, const scalar Thigh, const scalar Tcommon, const coeffArray &highCpCoeffs, const coeffArray &lowCpCoeffs)
Construct from components.
A class for handling words, derived from string.
scalar Tlow() const
Return const access to the low temperature limit.
static const int nCoeffs_
scalar ha(const scalar p, const scalar T) const
Absolute Enthalpy [J/kmol].
JANAF tables based thermodynamics package templated into the equation of state.
static word typeName()
Return the instantiated type name.
const coeffArray & lowCpCoeffs() const
Return const access to the low temperature poly coefficients.
scalar hc() const
Chemical enthalpy [J/kmol].
FixedList< scalar, nCoeffs_ > coeffArray
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
void operator+=(const janafThermo &)
A list of keyword definitions, which are a keyword followed by any number of values (e....
void checkInputData() const
Check that input data is valid.
scalar limit(const scalar T) const
Limit the temperature to be in the range Tlow_ to Thigh_.
scalar Tcommon() const
Return const access to the common temperature.
scalar cp(const scalar p, const scalar T) const
Heat capacity at constant pressure [J/(kmol K)].
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
void write(Ostream &os) const
Write to Ostream.
scalar Thigh() const
Return const access to the high temperature limit.
scalar hs(const scalar p, const scalar T) const
Sensible enthalpy [J/kmol].
void operator-=(const janafThermo &)