34 template<
class EquationOfState>
37 EquationOfState(
dict),
38 Cv_(
dict.subDict(
"thermodynamics").
get<scalar>(
"Cv")),
39 Hf_(
dict.subDict(
"thermodynamics").
get<scalar>(
"Hf")),
40 Tref_(
dict.subDict(
"thermodynamics").getOrDefault<scalar>(
"Tref",
Tstd)),
41 Esref_(
dict.subDict(
"thermodynamics").getOrDefault<scalar>(
"Eref", 0))
47 template<
class EquationOfState>
66 template<
class EquationOfState>
70 const eConstThermo<EquationOfState>& ct
A list of keyword definitions, which are a keyword followed by a number of values (eg...
Ostream & writeEntry(const keyType &key, const T &value)
Write a keyword/value entry.
Ostream & writeEntryIfDifferent(const word &key, const T &refValue, const T &value)
Write a keyword/value entry only if the value differs from the reference value.
Constant properties thermodynamics package templated on an equation of state.
Useful combination of include files which define Sin, Sout and Serr and the use of IO streams general...
constexpr T & get(FixedList< T, N > &list) noexcept
virtual Ostream & endBlock()
Write end block group.
virtual bool write(const token &tok)=0
Write token to stream or otherwise handle it.
const dimensionedScalar Tstd
Standard temperature.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
void write(Ostream &os) const
Write to Ostream.
virtual Ostream & beginBlock(const keyType &kw)
Write begin block group with the given name.
void write(vtk::formatter &fmt, const Type &val, const label n=1)
Component-wise write of a value (N times)