The two-dimensional shallow-water equations (SWEs) are widely used to approximate flows for a wide range of rapidly (and slowly) varying free-surface flows, such as dam breaks, river flooding, and tidal flows including storm surge and wave overtopping causing inundation in estuaries and coastal regions. Grid-based solvers are now widely available. Although accurate and robust wetting and drying routines have been developed, grid-based solvers are limited in simulating multi-phase effects, most importantly flows with rapid distortion in flood modelling. Particle methods are quite flexible in this respect and are also naturally adaptive for modelling complex domains.
Here, the SPHysics numerical scheme, originally developed to solve Navier-Stokes Equations has been extended to shallow water equations.
Key code features:
The code comes with the following test cases:
1-D Test Cases
|
2-D Test Cases
|
How to reference: How to reference SWE-SPHysics.