27 #ifndef OPM_FULLERMETHOD_HPP
28 #define OPM_FULLERMETHOD_HPP
36 namespace BinaryCoeff {
55 template <
class Scalar,
class Evaluation = Scalar>
56 inline Evaluation fullerMethod(
const Scalar* M,
57 const Scalar* SigmaNu,
58 const Evaluation& temperature,
59 const Evaluation& pressure)
62 Scalar Mab = Opm::harmonicMean(M[0], M[1]);
65 const Evaluation& tmp = std::pow(SigmaNu[0], 1./3) + std::pow(SigmaNu[1], 1./3);
66 return 1e-4 * (143.0*Opm::pow(temperature, 1.75))/(pressure*std::sqrt(Mab)*tmp*tmp);
Implements some common averages.