Table of contents

  1. Front Matter
    Pages i-xi
  2. Hans Petter Langtangen, Anders Logg
    Pages 3-10 Open Access
  3. Hans Petter Langtangen, Anders Logg
    Pages 11-35 Open Access
  4. Hans Petter Langtangen, Anders Logg
    Pages 37-81 Open Access
  5. Hans Petter Langtangen, Anders Logg
    Pages 83-107 Open Access
  6. Hans Petter Langtangen, Anders Logg
    Pages 109-141 Open Access
  7. Back Matter
    Pages 143-148

About this book


This book offers a concise and gentle introduction to finite element programming in Python based on the popular FEniCS software library. Using a series of examples, including the Poisson equation, the equations of linear elasticity, the incompressible Navier–Stokes equations, and systems of nonlinear advection–diffusion–reaction equations, it guides readers through the essential steps to quickly solving a PDE in FEniCS, such as how to define a finite variational problem, how to set boundary conditions, how to solve linear and nonlinear systems, and how to visualize solutions and structure finite element Python programs.

This book is open access under a CC BY license.


Finite element FEniCS Partial Differential Equations Python Simulation Open access

Authors and affiliations

  • Hans Petter Langtangen
    • 1
  • Anders Logg
    • 2
  1. 1.Center for Biomedical ComputingSimula Research Laboratory, Center for Biomedical ComputingFornebuNorway
  2. 2.Dept. MathematicsChalmers University of Technologym Department of MathematicsGöteborgSweden

Bibliographic information