33 template<
class Specie>
40 Tc_(
dict.subDict(
"equationOfState").
get<scalar>(
"Tc")),
41 Vc_(
dict.subDict(
"equationOfState").
get<scalar>(
"Vc")),
43 Pc_(
dict.subDict(
"equationOfState").
get<scalar>(
"Pc")),
44 omega_(
dict.subDict(
"equationOfState").
get<scalar>(
"omega"))
46 Zc_ = Pc_*Vc_/(
RR*Tc_);
53 template<
class Specie>
62 template<
class Specie>
66 const PengRobinsonGas<Specie>& pg
List< ReturnType > get(const UPtrList< T > &list, const AccessOp &aop)
List of values generated by applying the access operation to each list item.
void write(Ostream &os) const
Write to Ostream.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
Useful combination of include files which define Sin, Sout and Serr and the use of IO streams general...
void write(vtk::formatter &fmt, const Type &val, const label n=1)
Component-wise write of a value (N times)
virtual bool write(const token &tok)=0
Write token to stream or otherwise handle it.
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.
OBJstream os(runTime.globalPath()/outputName)
const scalar RR
Universal gas constant: default in [J/(kmol K)].