version 3.10-dev
Dumux::ShallowWaterFlux< NumEqVector > Class Template Reference

Prepare and compute the shallow water advective flux. More...

#include <dumux/flux/shallowwaterflux.hh>

Description

template<class NumEqVector>
class Dumux::ShallowWaterFlux< NumEqVector >

Prepares the Riemann problem for the advective flux for the 2D shallow water model. The actual model uses an exact Riemann solver after Torro and the reconstruction after Audusse. A flux limiter is applied to limit water flow for small water depths.

The computed water flux of the Riemann solver is given in m^2/s, the momentum fluxes are given in m^3/s^2. The Riemann flux is multiplied by scvf.area() (given in m) to obtain the flux over the face.

Public Types

using Cache = FluxVariablesCaching::EmptyAdvectionCache
 
using CacheFiller = FluxVariablesCaching::EmptyCacheFiller
 

Static Public Member Functions

template<class Problem , class FVElementGeometry , class ElementVolumeVariables >
static NumEqVector flux (const Problem &problem, const typename FVElementGeometry::GridGeometry::GridView::template Codim< 0 >::Entity &element, const FVElementGeometry &fvGeometry, const ElementVolumeVariables &elemVolVars, const typename FVElementGeometry::SubControlVolumeFace &scvf)
 Prepares and compute the shallow water advective flux. More...
 

Member Typedef Documentation

◆ Cache

◆ CacheFiller


The documentation for this class was generated from the following file: