31 template<
class Specie>
39 Tc_(
dict.subDict(
"equationOfState").lookup<scalar>(
"Tc")),
40 Vc_(
dict.subDict(
"equationOfState").lookup<scalar>(
"Vc")),
42 Pc_(
dict.subDict(
"equationOfState").lookup<scalar>(
"Pc")),
43 omega_(
dict.subDict(
"equationOfState").lookup<scalar>(
"omega"))
45 Zc_ = Pc_*Vc_/(
RR*Tc_);
52 template<
class Specie>
61 template<
class Specie>
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.
PengRobinsonGas cubic equation of state for gases.
void write(Ostream &os) const
Write to Ostream.
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....
A class for handling words, derived from string.
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.
word name(const bool)
Return a word representation of a bool.