Go to the documentation of this file.
34 template<
class EquationOfState,
int PolySize>
40 EquationOfState(
dict),
41 Hf_(
dict.subDict(
"thermodynamics").get<scalar>(
"Hf")),
42 Sf_(
dict.subDict(
"thermodynamics").get<scalar>(
"Sf")),
43 CpCoeffs_(
dict.subDict(
"thermodynamics").lookup(coeffsName(
"Cp"))),
47 hCoeffs_ = CpCoeffs_.integral();
48 sCoeffs_ = CpCoeffs_.integralMinus1();
51 hCoeffs_[0] += Hf_ - hCoeffs_.value(
Tstd);
54 sCoeffs_[0] += Sf_ - sCoeffs_.value(
Tstd);
60 template<
class EquationOfState,
int PolySize>
81 template<
class EquationOfState,
int PolySize>
Useful combination of include files which define Sin, Sout and Serr and the use of IO streams general...
virtual Ostream & beginBlock(const keyType &kw)
Write begin block group with the given name.
const dimensionedScalar Tstd
Standard temperature.
void write(Ostream &os) const
Write to Ostream.
virtual Ostream & endBlock()
Write end block group.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
virtual bool write(const token &tok)=0
Write token to stream or otherwise handle it.
Thermodynamics package templated on the equation of state, using polynomial functions for cp,...
Ostream & writeEntry(const keyType &key, const T &value)
Write a keyword/value entry.
void write(vtk::formatter &fmt, const Type &val, const label n=1)
Component-wise write of a value (N times)
An Ostream is an abstract base class for all output systems (streams, files, token lists,...