Français Español

SWASHES

Download

SWASHES: Shallow Water Analytic Solutions for Hydraulic and Environmental Studies.

SWASHES is a library of Shallow Water Analytic Solutions for Hydraulic and Environmental Studies.
A significant number of analytic solutions to the Shallow Water equations is described in a unified formalism. They encompass a wide variety of flow conditions (supercritical, subcritical, shock, etc.), in 1 or 2 space dimensions, with or without rain and soil friction, for transitory flow or steady state.
The goal of this code is to help users of Shallow Water based models to easily find an adaptable benchmark library to validate numerical methods.

The SWASHES software can be downloaded on the website sourcesup.
This software is distributed under CeCILL-V2 (GPL compatible) free software license. So, you are authorized to use the Software, without any limitation as to its fields of application.

For more details we refer to the documentation of the code.
You can also read the following articles:
SWASHES: a compilation of Shallow Water Analytic Solutions for Hydraulic and Environmental Studies,
  O. Delestre, C. Lucas, P.-A. Ksinant, F. Darboux, C. Laguerre, T. N. T. Vo, F. James, S. Cordier,
  International Journal for Numerical Methods in Fluids, 72(3): 269-300, 2013, doi:10.1002/fld.3741
  http://hal.archives-ouvertes.fr/hal-00628246/fr/
  Errata:
  - in equation (4), read A(W) = F'(W) = (0   1 \\ -u^2+gh   2u),
  - in paragraphs 4.1.1, 4.1.2 and 4.1.3, in the expressions of h, u, alpha_1, alpha_2, x must be replaced by x-x0.
An analytical solution of the shallow water system coupled to the Exner equation,
  C. Berthon, S. Cordier, O. Delestre, M. H. Le,
  C. R. Acad. Sci. Paris, Ser. I 350(3-4):183-186, 2012, doi:10.1016/j.crma.2012.01.007
  http://hal.archives-ouvertes.fr/hal-00648343

Some examples (used in comparison with FullSWOF approximate solutions):
Transcritical flow with shock
Mac Donald's type solution with a smooth transition and a shock
Dam break on a dry domain without friction
Thacker's planar surface in a paraboloid
Mac Donald pseudo-2D supercritical solution
MacDonald pseudo-2d subcritical solution