
DuMux course material
The material is organized as follows
- Exercises: click here to go to the exercise description
- Slides: click here to download the slides
- Links: click here to go to a list of useful links
Installation of the course
To get started with the course, you have two options. Depending on whether you already have DuMux installed or not, choose the one that fits your needs.
Install DuMux together with the course
The easiest way to install everything you need is to use the install scripts provided in DuMux, for instance, with this sequence of commands:
wget https://git.iws.uni-stuttgart.de/dumux-repositories/dumux/raw/releases/3.5/bin/installdumux.py
python3 installdumux.py --dumux-version 3.6 --dune-version 2.9
python3 dumux/bin/installexternal.py dumux-course --dune-branch releases/2.9
./dune-common/bin/dunecontrol --opts=./dumux/cmake.opts all
If you don't have wget
and don't want to install it, you can just manually download the
installdumux.py
script from the git repository.
Install the course into your existing DuMux project
If you already have an installation of DuMux, navigate to your DuMux root directory and then run the following commands:
python3 dumux/bin/installexternal.py dumux-course
./dune-common/bin/dunecontrol --opts=./dumux/cmake.opts all
This will download and then configure the course repository using dunecontrol
.
After this, you can start with the exercises.
Requirements
For a successful installation and the execution of all exercises, the following software packages are needed:
- gcc >= 7
- cmake >= 3.13
- git
- pkg-config
- paraview (to visualize the results)
- gnuplot (to plot some curves)
- wget (to download some config files during the installation)
For some excercises you might need UMFPack. UMFPack can be installed via Suitesparse.
For instance on Ubuntu use apt-get install libsuitesparse-dev
.
Last updated for: DuMux release 3.6 in Dec 2022.