Introductory demos

These demos illustrate core DOLFIN/FEniCS usage and are a good way to begin learning FEniCS. We recommend that you go through these examples in the given order.

  1. Getting started: Solving the Poisson equation.

  2. Solving nonlinear PDEs: Solving a nonlinear Poisson equation

  3. Using mixed elements: Solving the Stokes equations

  4. Using iterative linear solvers: Solving the Stokes equations more efficiently

More advanced demos

These examples typically demonstrate how to solve a certain PDE using more advanced techniques. We recommend that you take a look at these demos for tips and tricks on how to use more advanced or lower-level functionality and optimizations.