An exercise to implement a FEM solver using python and JAX Jaxlib only works under Linux so this whole software is only usable under Linux-based operating systems. Some functions are written in Rust for better performance but are kept in another repo. Run the setup_environment.py script first to ensure your enviroment has all the necessary requirements.
Currently main_poisson.py
solves a poisson equation with a right hand side equal to -1 and homogenous Dirichlet b.c.
Result is:
main_fick.py
Solves the simplest form of the diffusion equation in 2D with homogenous Neumann b.c.
Output is:
This builds on the previous example by adding an advection term.
main_advection.py
is the solver for:
Where the particular choice for