This repository contains a collection of notes on FEniCS using Jupyter Notebooks, which teach how to use finite element methods to solve PDEs and to solve difficult linear systems from PDE discretizations using FEniCS. These notes are under construction. They will cover the following topics:
- Fundamentals of finite element methods
- Modeling linear and nonlinear elasticity
- Solving the heat equation
- Solving incompressible Navier-Stokes equations
- Mixed finite element formulations for Stokes equations
- Advection-diffusion-reaction equations coupled with Navier-Stokes equations
- Convection-diffusion equations
- Generating meshes
- Specifying boundary conditions
- Controlling iterative solvers
Most of the materials were adapted from the FEniCS Tutorial the FEniCS Book, and the FEniCS demos. However, they have been rearranged and expanded for teaching and research at Stony Brook University.
To study the Notebooks, here is the recommended sequence:
- Fundamentals - Poisson equations
- Modeling linear elasticity
- Solving the heat equation
- Solving nonlinear problems
- Solving incompressible Navier-Stokes equations
- Mixed finite element formulations for Stokes equations
- Advection-diffusion-reaction equations coupled with Navier-Stokes equations
- Galerkin method with least-squares stablization for Convection-dominant equations
To run these notebooks interactively, use the ams529_jupyter.py script at https://github.com/compdatasci/ams529-desktop.