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