12#ifndef DUMUX_FULLERMETHOD_HH
13#define DUMUX_FULLERMETHOD_HH
18namespace BinaryCoeff {
35template <
class Scalar>
37 const Scalar *SigmaNu,
38 const Scalar temperature,
39 const Scalar pressure)
47 Scalar tmp = pow(SigmaNu[0], 1./3) + pow(SigmaNu[1], 1./3);
48 return 1e-4 * (143.0*pow(temperature, 1.75))/(pressure*sqrt(Mab)*tmp*tmp);
Scalar fullerMethod(const Scalar *M, const Scalar *SigmaNu, const Scalar temperature, const Scalar pressure)
Estimate binary diffusion coefficients in gases according to the method by Fuller.
Definition fullermethod.hh:36
constexpr Scalar harmonicMean(Scalar x, Scalar y, Scalar wx=1.0, Scalar wy=1.0) noexcept
Calculate the (weighted) harmonic mean of two scalar values.
Definition math.hh:57
Define some often used mathematical functions.