31 template<
class EquationOfState>
34 EquationOfState(dict),
35 Cp_(dict.subDict(
"thermodynamics").
lookup<scalar>(
"Cp")),
36 Hf_(dict.subDict(
"thermodynamics").
lookup<scalar>(
"Hf")),
37 Tref_(dict.subDict(
"thermodynamics").lookupOrDefault<scalar>(
"Tref",
Tstd)),
38 Hsref_(dict.subDict(
"thermodynamics").lookupOrDefault<scalar>(
"Hsref", 0))
44 template<
class EquationOfState>
54 dict.
add(
"Tref", Tref_);
58 dict.
add(
"Hsref", Hsref_);
66 template<
class EquationOfState>
virtual Ostream & write(const char)=0
Write character.
Constant properties thermodynamics package templated into the EquationOfState.
Ostream & indent(Ostream &os)
Indent stream.
A list of keyword definitions, which are a keyword followed by any number of values (e...
const dimensionedScalar Tstd
Standard temperature.
bool add(entry *, bool mergeEntry=false)
Add a new entry.
const word dictName() const
Return the local dictionary name (final part of scoped name)
Useful combination of include files which define Sin, Sout and Serr and the use of IO streams general...
stressControl lookup("compactNormalStress") >> compactNormalStress
void write(std::ostream &os, const bool binary, List< floatScalar > &fField)
Write floats ascii or binary.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
void write(Ostream &os) const
Write to Ostream.