27 #ifndef OPM_FULLERMETHOD_HPP
28 #define OPM_FULLERMETHOD_HPP
36 namespace BinaryCoeff {
55 template <
class Scalar,
class Evaluation = Scalar>
57 const Scalar* SigmaNu,
58 const Evaluation& temperature,
59 const Evaluation& pressure)
65 const Evaluation& tmp = std::pow(SigmaNu[0], 1./3) + std::pow(SigmaNu[1], 1./3);
66 return 1e-4 * (143.0*pow(temperature, 1.75))/(pressure*std::sqrt(Mab)*tmp*tmp);
Evaluation fullerMethod(const Scalar *M, const Scalar *SigmaNu, const Evaluation &temperature, const Evaluation &pressure)
Estimate binary diffusion coefficents in gases according to the method by Fuller.
Definition: FullerMethod.hpp:56
Implements some common averages.
Scalar harmonicMean(Scalar x, Scalar y)
Computes the harmonic average of two values.
Definition: Means.hpp:74