31 template<
class EquationOfState,
int PolySize>
42 .subDict(
"thermodynamics")
43 .lookupBackwardsCompatible<scalar>({
"hf",
"Hf"})
48 .subDict(
"thermodynamics")
49 .lookupBackwardsCompatible<scalar>({
"sf",
"Sf"})
61 hCoeffs_ = CpCoeffs_.integral();
62 sCoeffs_ = CpCoeffs_.integralMinus1();
65 hCoeffs_[0] += hf_ - hCoeffs_.value(
Tstd);
68 sCoeffs_[0] += sf_ - sCoeffs_.value(
Tstd);
74 template<
class EquationOfState,
int PolySize>
96 template<
class EquationOfState,
int PolySize>
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....
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
const dictionary & subDict(const word &) const
Find and return a sub-dictionary.
bool add(entry *, bool mergeEntry=false)
Add a new entry.
Enthalpy based thermodynamics package using a polynomial function of temperature for the constant hea...
hPolynomialThermo(const EquationOfState &pt, const scalar hf, const scalar sf, const Polynomial< PolySize > &CpCoeffs, const typename Polynomial< PolySize >::intPolyType &hCoeffs, const Polynomial< PolySize > &sCoeffs)
Construct from components.
void write(Ostream &os) const
Write to Ostream.
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.