Go to the documentation of this file.
31 template<
class EquationOfState>
38 is.check(
"eConstThermo<EquationOfState>::eConstThermo(Istream&)");
45 template<
class EquationOfState>
48 EquationOfState(
dict),
59 template<
class EquationOfState>
73 template<
class EquationOfState>
80 os << static_cast<const EquationOfState&>(ct) <<
tab
81 << ct.Cv_/ct.W() <<
tab << ct.Hf_/ct.W();
83 os.check(
"Ostream& operator<<(Ostream&, const eConstThermo&)");
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...
Constant properties thermodynamics package templated on an equation of state.
void write(Ostream &os) const
Write to Ostream.
eConstThermo(const EquationOfState &st, const scalar cv, const scalar hf)
Construct from components.
scalar Hf_
Heat of formation.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Ostream & indent(Ostream &os)
Indent stream.
bool readScalar(const char *buf, doubleScalar &s)
Read whole of buf as a scalar. Return true if succesful.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
bool add(entry *, bool mergeEntry=false)
Add a new entry.
scalar Cv_
Heat capacity at constant volume.
stressControl lookup("compactNormalStress") >> compactNormalStress