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 |
||
Time Dependent Problem |
||
Adding boundary data |
||
Using different linear solver packages |
||
One and three dimensional grids |
||
Parallelization |
||
Checkpointing |
||
Full Grid Interface |
||
Discontinuous Galerkin method |
||
Bending beam (linear elasticity) |
||
Spiral wave (reaction diffusion system) |
||
Slit domain (wave equation) |
||
Saddle point solver (monolithic solver) |
||
Saddle point solver (fieldsplit precond.) |
||
Saddle point solver (uzawa solver) |
||
Eigenvalue problems |
||
Adaptive FE (laplace problem) |
||
Adaptive FE (using DWR) |
||
Crystal growth (phase field model) |
||
Time dependent surface (mean curvature flow) |
||
DG for advection-diffusion systems |
||
DG for hyperbolic systems (Euler equations) |
||
HP adaptive DG (two phase flow) |
||
Virtual element method |
||
VEM method for Cahn-Hilliard |
Mesh Files used in the Examples
Description |
Grid (mesh) file |
---|---|
Unit cube grid file |
|
Sphere grid file |
|
Three quarters sphere grid with boundary |
|
Slit domain mesh |
|
Quadrilateral mesh |
|
Converter Gmsh-to-DGF |
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
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.)