How to get started with Dune
You want to install and use Dune on your machine and are a complete novice? Then this is the right place to start!
We will give a short introduction to Dune and guide you through the installation process.
Dune is a software framework for the numerical solution of partial differential equations (PDEs) written in C++. This means that it provides a set of classes that help you to write your own PDE solver. It is not an application with a fancy graphical user interface that you can just run, type in your PDE and look at the result. Instead you write a C++ program that includes various pieces from the framework and glues them together to solve a particular PDE with a particular method. It is, however, quite flexible in letting you implement various different solution procedures. Dune does also provide Python bindings for a large part of its core features which can help with the rapid prototyping of new code or for pre- and postprocessing tasks.
There are a number of different ways how to install and use Dune on your computer (click on the links to follow the instructions):
Follow the detailed instructions in Oliver Sander’s document on how to get started with Dune. This document describes installation from binary packages and installation from the source repository. It also describes how to solve a simple PDE with the Dune core modules.
Installation of Dune from binary packages on Debian and Ubuntu systems. This is the most convenient way if you have such a system and do not want to modify the Dune sources.
Installation from source via a shell script. This is the proper way if binary packages are not available for your machine and/or you want to modify the Dune sources.
It is important to note that installation of Dune requires a computer system with a relatively recent operating system, either Linux or Apple MacOS. Windows is not officially supported. Installation on Windows has been managed by some but it is definitely not something to try if you are a beginner.