Prepare and compute the shallow water advective flux. More...
#include <dumux/flux/shallowwaterflux.hh>
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.
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... | |
using Dumux::ShallowWaterFlux< NumEqVector >::Cache = FluxVariablesCaching::EmptyAdvectionCache |
using Dumux::ShallowWaterFlux< NumEqVector >::CacheFiller = FluxVariablesCaching::EmptyCacheFiller |