24#ifndef DUMUX_MATERIAL_DIFFUSIVITY_CONSTANT_TORTUOSITY_HH
25#define DUMUX_MATERIAL_DIFFUSIVITY_CONSTANT_TORTUOSITY_HH
59 template<
class VolumeVariables>
66 const Scalar diffCoeff = volVars.diffusionCoefficient(phaseIdx, compIdxI, compIdxJ);
67 return volVars.porosity() * volVars.saturation(phaseIdx) * tau * diffCoeff;
The infrastructure to retrieve run-time parameters from Dune::ParameterTrees.
T getParam(Args &&... args)
A free function to get a parameter from the parameter tree singleton.
Definition parameters.hh:348
Relation for the saturation-dependent effective diffusion coefficient.
Definition diffusivityconstanttortuosity.hh:49
static Scalar effectiveDiffusionCoefficient(const VolumeVariables &volVars, const int phaseIdx, const int compIdxI, const int compIdxJ)
Returns the effective diffusion coefficient based on a constant tortuosity value.
Definition diffusivityconstanttortuosity.hh:60