Notebooks and Scripts

All examples (both as scripts and notebooks) as well as grid files etc are available in the demo folder of the git repository https://gitlab.dune-project.org/dune-fem/dune-fempy or can be downloaded here:

Example

Notebooks

Scripts

General Concepts

notebook

script

Time Dependent Problem

notebook

script

Using different linear solver packages

notebook

script

Adding boundary data

notebook

script

Discontinuous Galerkin method

notebook

script

One and three dimensional grids

notebook

script

Checkpointing

notebook

script

Full Grid Interface

notebook

script

Bending beam (linear elasticity)

notebook

script

Spiral wave (reaction diffusion system)

notebook

script

Slit domain (wave equation)

notebook

script

Saddle point solver (stokes flow)

notebook

script

Adaptive FE (laplace problem)

notebook

script

Adaptive FE (using DWR)

notebook

script

Crystal growth (phase field model)

notebook

script

Time dependent surface (mean curvature flow)

notebook

script

DG for advection-diffusion systems

notebook

script

DG for hyperbolic systems (Euler equations)

notebook

script

HP adaptive DG (two phase flow)

notebook

script

Virtual element method

notebook

script

VEM method for Cahn-Hilliard

notebook

script

Citing this project

If you found this tutorial helpful for getting your own projects up and running please cite this project:

Title: Python Bindings for the DUNE-FEM module Authors: Andreas Dedner, Martin Nolte, and Robert Klöfkorn Publisher: Zenodoo, 2020 DOI 10.5281/zenodo.3706994

https://zenodo.org/badge/DOI/10.5281/zenodo.3706994.svg

List of things that need doing…

Todo

Add more examples on grid construction, i.e., dgf parser with boundary ids

(The original entry is located in /builds/infrastructure/dune-website/tmp/sphinx/dune-fem/build/dune-fempy/doc/corepy.rst, line 8.)

Todo

link to developers.rst

(The original entry is located in /builds/infrastructure/dune-website/tmp/sphinx/dune-fem/build/dune-fempy/doc/cpp.rst, line 9.)

Todo

add something on compilerflag setting (see also algorithm section , e.g., explain

(The original entry is located in /builds/infrastructure/dune-website/tmp/sphinx/dune-fem/build/dune-fempy/doc/developers.rst, line 5.)

Todo

mention use of ccache and gdb

(The original entry is located in /builds/infrastructure/dune-website/tmp/sphinx/dune-fem/build/dune-fempy/doc/developers.rst, line 16.)

Todo

mention rmgenerated script

(The original entry is located in /builds/infrastructure/dune-website/tmp/sphinx/dune-fem/build/dune-fempy/doc/developers.rst, line 18.)

Todo

mention fixes to config.opts e.g.

(The original entry is located in /builds/infrastructure/dune-website/tmp/sphinx/dune-fem/build/dune-fempy/doc/developers.rst, line 20.)

Todo

dune-fem-dg examples need more details in notebooks

(The original entry is located in /builds/infrastructure/dune-website/tmp/sphinx/dune-fem/build/dune-fempy/doc/femdg.rst, line 28.)

Todo

Give some details on the Uzawa algorithm, add dune-fempy version and an algorithm implementation

(The original entry is located in /builds/infrastructure/dune-website/tmp/sphinx/dune-fem/build/dune-fempy/doc/furtherexamples.rst, line 3.)

Todo

Add an example using mass lumping to show how to change quadrature

(The original entry is located in /builds/infrastructure/dune-website/tmp/sphinx/dune-fem/build/dune-fempy/doc/furtherexamples.rst, line 4.)

Todo

add a coupled surface diffusion/evolution problem

(The original entry is located in /builds/infrastructure/dune-website/tmp/sphinx/dune-fem/build/dune-fempy/doc/gridviews.rst, line 143.)

Todo

add more citations

(The original entry is located in /builds/infrastructure/dune-website/tmp/sphinx/dune-fem/build/dune-fempy/doc/index.rst, line 126.)

Todo

A bit more intro here and twophaseflow.py needs a lot more detail on the model method of solving etc.

(The original entry is located in /builds/infrastructure/dune-website/tmp/sphinx/dune-fem/build/dune-fempy/doc/twophaseflow_descr.rst, line 12.)

https://zenodo.org/badge/DOI/10.5281/zenodo.3706994.svg