Go to the documentation of this file.
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>
Ostream & writeEntryIfDifferent(const word &key, const T &value1, const T &value2)
Write a keyword/value entry only when the two values differ.
Useful combination of include files which define Sin, Sout and Serr and the use of IO streams general...
Constant properties thermodynamics package templated on an equation of state.
void write(Ostream &os) const
Write to Ostream.
virtual Ostream & beginBlock(const keyType &kw)
Write begin block group with the given name.
const dimensionedScalar Tstd
Standard temperature.
virtual Ostream & endBlock()
Write end block group.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
OBJstream os(runTime.globalPath()/outputName)
virtual bool write(const token &tok)=0
Write token to stream or otherwise handle it.
Ostream & writeEntry(const keyType &key, const T &value)
Write a keyword/value entry.
void write(vtk::formatter &fmt, const Type &val, const label n=1)
Component-wise write of a value (N times)
List< ReturnType > get(const UPtrList< T > &list, const AccessOp &aop)
An Ostream is an abstract base class for all output systems (streams, files, token lists,...