12#ifndef DUMUX_MATERIAL_FLUIDMATRIX_FRICTIONLAW_VISCOUS_NOSLIP_HH
13#define DUMUX_MATERIAL_FLUIDMATRIX_FRICTIONLAW_VISCOUS_NOSLIP_HH
17#include <dune/common/math.hh>
34template <
typename VolumeVariables>
37 using Scalar =
typename VolumeVariables::PrimaryVariables::value_type;
53 Dune::FieldVector<Scalar, 2> shearStress(0.0);
54 shearStress[0] = volVars.viscosity()*volVars.velocity(0) * 3.0 / volVars.waterDepth();
55 shearStress[1] = volVars.viscosity()*volVars.velocity(1) * 3.0 / volVars.waterDepth();
Implementation of the abstract base class for friction laws.
Definition: frictionlaw.hh:31
Implementation of a viscous no-slip bottom friction law.
Definition: viscousnoslip.hh:36
Dune::FieldVector< Scalar, 2 > bottomShearStress(const VolumeVariables &volVars) const final
Compute the bottom shear stress.
Definition: viscousnoslip.hh:48