3.6-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Public Types | Static Public Member Functions | List of all members
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 >

Prepare and compute the shallow water advective flux.

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.

Todo:
Add more numerical fluxes and reconstruction methods.

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: