Please update the tutorial of a system of advection–diffusion–reaction equations by the dolfinx

I am interested in the multiphysical simulation. The advection–diffusion–reaction equations are the key equations in my multiphysical model. I got the tutorial in the legacy Fenics. However, lots of modules in the legacy Fenics were missing or difficult to install in Conda.
Therefore, request an update for this tutorial in the dolfinx. Thank you.

1 Like

Please note that the FEniCS project is an open source project with 5-10 active developers. It is an impossible task for a handful of developers to maintain all tutorials that has ever been made over the last 20 years.

For an almost up to date advection-diffusion-reaction demo, see

At some point, a similar kind of tutorial, with a more advanced discretization of the advection-diffusion equations will appear at: Overview of project — FEniCS-in-the-wild

What specific modules were missing or difficult to install?

For checkpointing (storing and loading solutions in DOLFINx), one should use adios4dolfinx: ADIOS4DOLFINx - A framework for checkpointing in DOLFINx — ADIOS2Wrappers
which is available on conda (Adios4Dolfinx | Anaconda.org), spack (Spack Packages), debian Debian -- Details of package python3-adios4dolfinx in sid) and to some extent pypi (if adios2 has been correctly installed on your system): adios4dolfinx · PyPI.

The web-page ADIOS4DOLFINx - A framework for checkpointing in DOLFINx — ADIOS2Wrappers covers most ways of storing and loading solutions.
Next, to solve the advection diffusion equations, there shouldn’t really be much syntax difference between legacy fenics and DOLFINx, as they both rely on UFL for setting up the variational forms.

Thank you. I will attempt to update Legacy Fencis code to Fenicsx.