The FEniCS-X tutorial

Author: Jørgen S. Dokken

This web-page gives a concise overview of the functionality of Dolfin-X, including a gentle introduction to the finite element method. This web-page is an adaptation of the FEniCS tutorial [LL16].

Dolfin-X can be used as either a C++ or Python software, but this tutorial will focus on Python programming, as it is the simplest and most effective approach for beginners. After having gone through this tutorial, the reader should familiarize themselves with the Dolfin-X documentation, which includes the API and numerous demos.

Comments and corrections to this web-page should be submitted to the issue tracker by going to the relevant page in the tutorial, then click the git-symbol in the top right corner and “open issue”.

Interactive tutorials

As this book has been published as a Jupyter Book, we provide interactive notebooks that can be run in the browser. To start such a notebook click the Binder symbol-symbol in the top right corner of the relevant tutorial.

import dolfinx
print(f"Dolfin-X version: {dolfinx.__version__} is installed")
Dolfin-X version: 0.1.0 is installed

References

LL16

Hans Petter Langtangen and Anders Logg. Solving PDEs in Python: The FEniCS Tutorial I. Springer International Publishing, Cham, 2016. ISBN 978-3-319-52462-7. doi:10.1007/978-3-319-52462-7.