24#ifndef DUMUX_MATERIAL_DIFFUSIVITY_MILLINGTON_QUIRK_HH
25#define DUMUX_MATERIAL_DIFFUSIVITY_MILLINGTON_QUIRK_HH
60 [[deprecated(
"Signature deprecated. Use effectiveDiffusionCoefficient(volvars, phaseIdx, comp1dxI, compIdxJ)!")]]
63 const Scalar diffCoeff)
81 template<
class VolumeVariables>
93 const Scalar diffCoeff = volVars.diffusionCoefficient(phaseIdx, compIdxI, compIdxJ);
94 const Scalar
porosity = volVars.porosity();
95 const Scalar sat = max(volVars.saturation(phaseIdx), 0.0);
std::string saturation(int phaseIdx) noexcept
I/O name of saturation for multiphase systems.
Definition: name.hh:43
std::string porosity() noexcept
I/O name of porosity.
Definition: name.hh:139
Relation for the saturation-dependent effective diffusion coefficient.
Definition: diffusivitymillingtonquirk.hh:51
static Scalar effectiveDiffusivity(const Scalar porosity, const Scalar saturation, const Scalar diffCoeff)
Returns the effective diffusion coefficient after Millington Quirk.
Definition: diffusivitymillingtonquirk.hh:61
static Scalar effectiveDiffusionCoefficient(const VolumeVariables &volVars, const int phaseIdx, const int compIdxI, const int compIdxJ)
Returns the effective diffusion coefficient after Millington Quirk.
Definition: diffusivitymillingtonquirk.hh:82