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

Introduction

notebook

script

Time Dependent Problem

notebook

script

Adding boundary data

notebook

script

Using different linear solver packages

notebook

script

One and three dimensional grids

notebook

script

Parallelization

notebook

script

Checkpointing

notebook

script

Full Grid Interface

notebook

script

Discontinuous Galerkin method

notebook

script

Bending beam (linear elasticity)

notebook

script

Spiral wave (reaction diffusion system)

notebook

script

Slit domain (wave equation)

notebook

script

Saddle point solver (monolithic solver)

notebook

script

Saddle point solver (fieldsplit precond.)

notebook

script

Saddle point solver (uzawa solver)

notebook

script

Eigenvalue problems

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

Mesh Files used in the Examples

Description

Grid (mesh) file

Unit cube grid file

unit cube grid file

Sphere grid file

sphere grid file

Three quarters sphere grid with boundary

three quarters sphere grid with boundary

Slit domain mesh

slit domain mesh

Quadrilateral mesh

quadrilateral mesh

Converter Gmsh-to-DGF

convert gmsh file to dgf format.

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 some more details on the forms for upwinding

(The original entry is located in /builds/infrastructure/dune-website/tmp/sphinx/dune-fem/build/dune-fempy/doc/discontinuousgalerkin_nb.ipynb, line 59.)

Todo

add some remarks on spectral dg

(The original entry is located in /builds/infrastructure/dune-website/tmp/sphinx/dune-fem/build/dune-fempy/doc/discontinuousgalerkin_nb.ipynb, line 373.)

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 15.)

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 16.)

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 169.)

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