The FEniCS Book

Automated Solution of Differential Equations by the Finite Element Method

This book is written by researchers and developers behind the FEniCS Project and explores an advanced, expressive approach to the development of mathematical software. The presentation spans mathematical background, software design and the use of FEniCS in applications. Theoretical aspects are complemented with computer code which is available as free/open source software. The book begins with a tutorial for readers who are new to the topic. Following the tutorial, chapters in Part I address fundamental aspects of the approach to automating the creation of finite element solvers. Chapters in Part II address the design and implementation of the FEnicS software. Chapters in Part III present the application of FEniCS to a wide range of applications, including fluid flow, solid mechanics, electromagnetics and geophysics.

Supplementary material

Some of the chapters in the book are accompanied by supplementary material in the form of code examples. Follow the links below to find the supplementary material.

Chapter 1 A FEniCS tutorial
Chapter 20 Finite elements for incompressible fluids


The above directories are currently empty. The above list will be expanded and material will be added as we collect it from the book authors.


Feedback on the book is welcome, and can be given at the Bitbucket page for the book. Use the Bitbucket issues system to file bug reports if you find errors in the text.