Go to the documentation of this file.
31 template<
class Specie>
41 is.check(
"PengRobinsonGas<Specie>::PengRobinsonGas(Istream& is)");
45 template<
class Specie>
58 Zc_ = Pc_*Vc_/(
RR*Tc_);
65 template<
class Specie>
74 template<
class Specie>
81 os << static_cast<const Specie&>(pg)
90 "Ostream& operator<<(Ostream& os, const PengRobinsonGas<Specie>& st)"
const scalar RR
Universal gas constant (default in [J/(kmol K)])
Useful combination of include files which define Sin, Sout and Serr and the use of IO streams general...
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
PengRobinsonGas gas equation of state.
PengRobinsonGas(const Specie &sp, const scalar &Tc, const scalar &Vc, const scalar &Zc, const scalar &Pc, const scalar &omega)
Construct from components.
A list of keyword definitions, which are a keyword followed by any number of values (e....
bool readScalar(const char *buf, doubleScalar &s)
Read whole of buf as a scalar. Return true if succesful.
void write(Ostream &os) const
Write to Ostream.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
const dictionary & subDict(const word &) const
Find and return a sub-dictionary.