OpenFOAM-based solver for 2D shallow water equations.
It is important to note that this solver has been renamed to floodFoam (from shallowFoam). This branch has been updated to work on the latest version of OpenFOAM from the OpenFOAM Foundation (OpenFOAM-10). This code should work for the equivalent ESI group OpenFOAM version but requires testing.
- KM-Turbulenz GmbH (www.km-turbulenz.de), 2009
- Florian Mintgen, 2012
- Dr. Ed Barry, FloodMapp, 2022
- Solves the depth-averaged 2D shallow water equations:
with:
-
$H$ : flow depth -
$H\mathbf{U}$ : specific discharge -
$\mathbf{U}$ : depth averaged velocity -
$z_b$ : bottom elevation -
$\tau_b$ : bottom stresses
Notes:
-
Bottom stresses are modeled via Strickler-equation (and Manning's equation to be included).
-
Turbulence is captured by an eddy viscosity model
-
Works in parallel
-
Captures wet-dry fronts
-
Mesh should have a height of 1 m in z-direction (see tutorials)
-
Main advantages over shallowWaterFoam (the shallow water solver in the official OpenFOAM repository):
- Explicit formulation of flow depth and bottom elevation
- Bottom stresses / surface roughness taken into account
- Custom boundary conditions well suited for river hydraulics
- Avoids divide-by-zero errors for dry areas which shallowWaterFoam cannot handle