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 keyword definitions, which are a keyword followed by any number of values (e....
T lookupOrDefault(const word &, const T &, bool recursive=false, bool patternMatch=true) const
Find and return a T, if not found return the given default.
const dictionary & subDict(const word &) const
Find and return a sub-dictionary.
bool add(entry *, bool mergeEntry=false)
Add a new entry.
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 bool)
Return a word representation of a bool.
Ostream & indent(Ostream &os)
Indent stream.