31 template<
class Specie>
42 omega_(dict.
subDict(
"equationOfState").
lookup<scalar>(
"omega"))
44 Zc_ = Pc_*Vc_/(
RR*Tc_);
51 template<
class Specie>
60 template<
class Specie>
void write(Ostream &os) const
Write to Ostream.
virtual Ostream & write(const char)=0
Write character.
A list of keyword definitions, which are a keyword followed by any number of values (e...
const dictionary & subDict(const word &) const
Find and return a sub-dictionary.
Useful combination of include files which define Sin, Sout and Serr and the use of IO streams general...
const dimensionedScalar RR
Universal gas constant: default SI units: [J/kmol/K].
void write(std::ostream &os, const bool binary, List< floatScalar > &fField)
Write floats ascii or binary.
PengRobinsonGas cubic equation of state for gases.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
PengRobinsonGas(const Specie &sp, const scalar &Tc, const scalar &Vc, const scalar &Zc, const scalar &Pc, const scalar &omega)
Construct from components.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.