Go to the documentation of this file.
34 template<
class EquationOfState,
int PolySize>
40 EquationOfState(
dict),
41 Hf_(
dict.subDict(
"thermodynamics").
get<scalar>(
"Hf")),
42 Sf_(
dict.subDict(
"thermodynamics").
get<scalar>(
"Sf")),
43 CpCoeffs_(
dict.subDict(
"thermodynamics").
lookup(coeffsName(
"Cp"))),
44 Tref_(
dict.subDict(
"thermodynamics").getOrDefault<scalar>(
"Tref",
Tstd)),
45 Href_(
dict.subDict(
"thermodynamics").getOrDefault<scalar>(
"Href", 0)),
46 Sref_(
dict.subDict(
"thermodynamics").getOrDefault<scalar>(
"Sref", 0)),
47 Pref_(
dict.subDict(
"thermodynamics").getOrDefault<scalar>(
"Pref",
Pstd)),
59 Sref_ - sCoeffs_.
value(Tref_) - EquationOfState::S(
Pstd, Tref_);
65 template<
class EquationOfState,
int PolySize>
90 template<
class EquationOfState,
int PolySize>
94 const hPolynomialThermo<EquationOfState, PolySize>& pt
polyType integralMinus1(const scalar intConstant=0.0) const
Useful combination of include files which define Sin, Sout and Serr and the use of IO streams general...
const dimensionedScalar Pstd
volScalarField H(IOobject("H", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE), mesh, dimensionedScalar(dimLength, Zero))
virtual Ostream & beginBlock(const keyType &kw)
const dimensionedScalar Tstd
void write(Ostream &os) const
scalar integral(const scalar x1, const scalar x2) const
Lookup type of boundary radiation properties.
scalar value(const scalar x) const
virtual Ostream & endBlock()
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
Thermodynamics package templated on the equation of state, using polynomial functions for cp,...
Ostream & writeEntry(const keyType &key, const T &value)
void write(vtk::formatter &fmt, const Type &val, const label n=1)
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,...