Tutorials & Examples

Note: please check you’re referencing the intended version of the documentation. This documentation is in reference to v2 of the code. The latest documentation for v3 can be accessed through the sidebar.

Tutorial Notebooks

This tutorial on using Dedalus consists of four short IPython notebooks, which can be downloaded and ran interactively, or viewed on-line through the links below.

The notebooks cover the basics of setting up and interacting with the primary facets of the code, culminating in the setup and simulation of the 1D KdV-Burgers equation.

Example Notebooks

Below are several notebooks that walk through the setup and execution of more complicated multidimensional example problems.

Example Scripts

A wider range of examples are available under the examples subdirectory of the main code repository, which you can browse here. These example scripts can be copied to any working directory with the command python3 -m dedalus get_examples. These examples cover a wider range of use cases, including larger multidimensional problems designed for parallel execution. Basic post-processing and plotting scripts are also provided with many problems. These simulation and processing scripts may be useful as a starting point for implementing different problems and equation sets.