Go to the documentation of this file.
58 template<
class EquationOfState>
65 template<
class EquationOfState>
72 template<
class EquationOfState>
79 template<
class EquationOfState>
91 template<
class EquationOfState>
94 public EquationOfState
109 scalar Tlow_, Thigh_, Tcommon_;
118 void checkInputData()
const;
121 inline const coeffArray& coeffs(
const scalar
T)
const;
131 const EquationOfState& st,
137 const bool convertCoeffs =
false
152 return "janaf<" + EquationOfState::typeName() +
'>';
156 inline scalar
limit(
const scalar
T)
const;
162 inline scalar
Tlow()
const;
165 inline scalar
Thigh()
const;
180 inline scalar
Cp(
const scalar
p,
const scalar
T)
const;
183 inline scalar
Ha(
const scalar
p,
const scalar
T)
const;
186 inline scalar
Hs(
const scalar
p,
const scalar
T)
const;
189 inline scalar
Hc()
const;
192 inline scalar
S(
const scalar
p,
const scalar
T)
const;
195 inline scalar
Gstd(
const scalar
T)
const;
204 inline scalar
dCpdT(
const scalar
p,
const scalar
T)
const;
241 friend Ostream& operator<< <EquationOfState>
const coeffArray & highCpCoeffs() const
A class for handling words, derived from Foam::string.
JANAF tables based thermodynamics package templated into the equation of state.
const coeffArray & lowCpCoeffs() const
scalar Cp(const scalar p, const scalar T) const
static constexpr int nCoeffs_
FixedList< scalar, nCoeffs_ > coeffArray
scalar Ha(const scalar p, const scalar T) const
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 a number of values (eg,...
OBJstream os(runTime.globalPath()/outputName)
scalar limit(const scalar T) const
janafThermo(const EquationOfState &st, const scalar Tlow, const scalar Thigh, const scalar Tcommon, const coeffArray &highCpCoeffs, const coeffArray &lowCpCoeffs, const bool convertCoeffs=false)
scalar Hs(const scalar p, const scalar T) const
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
void write(Ostream &os) const
scalar dCpdT(const scalar p, const scalar T) const
scalar Gstd(const scalar T) const
scalar S(const scalar p, const scalar T) const