1-d MUSCL Solver for the Shallow Water Equations

A conservative finite-volume (FV) implementation of the Saint Venant equations, also known as the shallow water equations (SWE).
528 téléchargements
Mise à jour 6 août 2018

Solves the one-dimensional shallow water equations (SWE) for any initial condition, such as a dam break scenario, using a second-order MUSCL-LF, MUSCL-Rusanov and MUSCL-HLL implementations. This snippet includes an exact solver for Riemann problems of the SWE.
As always, I intend this snippet to be readable and easy to study, especially for beginners in the CFD community.

Note that the example with topography is not completed yet. I'll come back later to update this example.

Happy coding! ;D

Citation pour cette source

Manuel A. Diaz (2024). 1-d MUSCL Solver for the Shallow Water Equations (https://github.com/wme7/ShallowWaterEquations), GitHub. Récupéré le .

Compatibilité avec les versions de MATLAB
Créé avec R2016b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Remerciements

Inspiré par : MUSCL-THINC-BVD and WENO5-THINC-BVD solvers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Les versions qui utilisent la branche GitHub par défaut ne peuvent pas être téléchargées

Version Publié le Notes de version
1.0.1

Updated description

1.0.0

Pour consulter ou signaler des problèmes liés à ce module complémentaire GitHub, accédez au dépôt GitHub.
Pour consulter ou signaler des problèmes liés à ce module complémentaire GitHub, accédez au dépôt GitHub.