Skip to content

Tiny finite-volume framework for solving 2D nonlinear shallow water equations with source terms and wet/dry fronts

License

Notifications You must be signed in to change notification settings

NikitaMatckevich/SWE_FVM

Repository files navigation

Thacker benchmark; parabolic free surface in parabolic basin

SWE_FVM extensively exploits the ideas from the article Liu et al.,2018 to build a robust positivity-preserving well-balanced interpolation of the unknown fields.

To build the project, you will need:

  • C/C++ compiler that supports the C++17 standard;
  • Cmake version >= 3.8.

Simply clone this repository to your machine and run Cmake:

$ mkdir build
$ cd build 
$ cmake -DCMAKE_BUILD_TYPE=Debug .. # or =Release
$ make

You will get the executable called SWE_FVM in your build directory.

Program supports the parameter input from standard .ini files. Also it is able to read .msh files provided by Gmsh version >= 4.1.

New flux discretizations, as well as time discretizations, can be added to the framework very simply.

The Eigen library is used for algebraic operations.

The author of the code apologizes for the amount of provided Doxygen documentation. It will be detailed as soon as possible.

About

Tiny finite-volume framework for solving 2D nonlinear shallow water equations with source terms and wet/dry fronts

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages