31template <
class Scalar,
class Flu
idSystem>
38 static Scalar calcOmegaA(Scalar temperature,
unsigned compIdx)
40 Scalar Tr = temperature / FluidSystem::criticalTemperature(compIdx);
41 Scalar omega = FluidSystem::acentricFactor(compIdx);
42 Scalar f_omega = 0.48 + omega * (1.574 + omega * (-0.176));
45 Scalar tmp = 1 + f_omega*(1 - sqrt(Tr));
46 return 0.4274802 * tmp * tmp;
49 static Scalar calcOmegaB()
51 return Scalar(0.08664035);
54 static Scalar calcm1()
59 static Scalar calcm2()
OPM_HOST_DEVICE bool CheckDefined(const T &value)
Make valgrind complain if any of the memory occupied by an object is undefined.
Definition Valgrind.hpp:76
static constexpr Scalar R
The ideal gas constant [J/(mol K)].
Definition Constants.hpp:45
Definition SRKParams.hpp:33
This class implements a small container which holds the transmissibility mulitpliers for all the face...
Definition Exceptions.hpp:30