34template<
class EquationOfState>
40 EquationOfState(
dict),
41 Hf_(
dict.subDict(
"thermodynamics").get<scalar>(
"Hf")),
42 Sf_(
dict.subDict(
"thermodynamics").get<scalar>(
"Sf")),
43 Cp_(
"Cp",
dict.subDict(
"thermodynamics"))
49template<
class EquationOfState>
55 EquationOfState::write(
os);
59 os.beginBlock(
"thermodynamics");
60 os.writeEntry(
"Hf", Hf_);
61 os.writeEntry(
"Sf", Sf_);
62 os.writeEntry(
"Cp", Cp_);
70template<
class EquationOfState>
74 const hTabulatedThermo<EquationOfState>& pt
Useful combination of include files which define Sin, Sout and Serr and the use of IO streams general...
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 a number of values (eg,...
Enthalpy based thermodynamics package using non-uniform tabulated data for heat capacity vs temperatu...
void write(Ostream &os) const
Write to Ostream.
hTabulatedThermo(const dictionary &dict)
Construct from dictionary.
OBJstream os(runTime.globalPath()/outputName)