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)"
A list of keyword definitions, which are a keyword followed by any number of values (e...
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
const dictionary & subDict(const word &) const
Find and return a sub-dictionary.
virtual bool check(const char *operation) const
Check IOstream status for given operation.
Useful combination of include files which define Sin, Sout and Serr and the use of IO streams general...
PengRobinsonGas gas equation of state.
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...
PengRobinsonGas(const Specie &sp, const scalar &Tc, const scalar &Vc, const scalar &Zc, const scalar &Pc, const scalar &omega)
Construct from components.
void write(Ostream &os) const
Write to Ostream.
const scalar RR
Universal gas constant (default in [J/(kmol K)])
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.