24#ifndef DUMUX_MATERIAL_DIFFUSIVITY_CONSTANT_TORTUOSITY_HH
25#define DUMUX_MATERIAL_DIFFUSIVITY_CONSTANT_TORTUOSITY_HH
59 template<
class VolumeVariables>
65 static const Scalar tau = getParam<Scalar>(
"SpatialParams.Tortuosity", 0.5);
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.
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