Intro to FEniCS SolverΒΆ
At its core, FEniCS is a package that can be used to solve numerically solve PDEs. There are many examples for how to use FEniCS to solve PDEs modelling thermal conductivity, solving the Navier-Stokes equation, etc. but at Sofa we focus on structural optimization and for that we first need to be able to model the behavior of structures under loads using the laws of continuum mechanics. We recommend reading the Numerical tours of continuum mechanics using FEniCS by Jeremy Bleyer for more advanced models using FEniCS, but the following examples cover what we will use in Sofa.
Examples: