31 template<
class EquationOfState>
39 Cv_(
dict.subDict(
"thermodynamics").lookup<scalar>(
"Cv")),
43 .subDict(
"thermodynamics")
44 .lookupBackwardsCompatible<scalar>({
"hf",
"Hf"})
50 .subDict(
"thermodynamics")
51 .lookupOrDefaultBackwardsCompatible<scalar>({
"esRef",
"Esref"}, 0)
58 template<
class EquationOfState>
80 template<
class EquationOfState>
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,...
virtual Ostream & write(const char)=0
Write character.
const word dictName() const
Return the local dictionary name (final part of scoped name)
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
const dictionary & subDict(const word &) const
Find and return a sub-dictionary.
bool add(entry *, bool mergeEntry=false)
Add a new entry.
T lookupOrDefault(const word &, const T &, const bool writeDefault=writeOptionalEntries > 0) const
Find and return a T, if not found return the given default.
Internal energy based thermodynamics package using a constant heat capacity at constant volume.
void write(Ostream &os) const
Write to Ostream.
eConstThermo(const EquationOfState &st, const scalar Cv, const scalar hf, const scalar Tref, const scalar esRef)
Construct from components.
A class for handling words, derived from string.
const dimensionedScalar Tstd
Standard temperature.
void write(std::ostream &os, const bool binary, List< floatScalar > &fField)
Write floats ascii or binary.
word name(const LagrangianState state)
Return a string representation of a Lagrangian state enumeration.
Ostream & indent(Ostream &os)
Indent stream.