Towards FESTIM 2.0: A powerful and accessible hydrogen transport code built on FEniCSx
FESTIM (Finite Element Simulation of Tritium In Materials) is a flexible, open-source finite element code developed in Python to model hydrogen transport within materials (Delaporte-Mathurin et al., 2024). It is an effective and open tool and capable of facilitating multi-dimensional simulations involving multiple materials using the FEniCS library.
With the launch of FeniCSx, the chance was seized to re-define FESTIM’s object-oriented framework, clearing away accumulated technical debt and paving the way for smoother future enhancements. The revamped implementation supports the modelling of multiple species, allowing for more physical phenomena such as multi-level trapping and isotopic exchange. Simultaneously, this new open development phase has prompted us to establish a robust community infrastructure, enabling the alignment of the code with the community’s requirements.
The updated approach for simulating the diffusion and trapping of hydrogen is presented alongside other enhancements made to re-build FESTIM with FEniCSx. Additionally, our strategy for employing innovative DG methods is outlined to accurately model the discontinuous concentrations that occur at the boundaries between different materials.
References¶
Delaporte-Mathurin, R., Dark, J., Ferrero, G., Hodille, E. A., Kulagin, V., & Meschini, S. (2024). Festim: An open-source code for Hydrogen Transport Simulations. International Journal of Hydrogen Energy, 63, 786–802. doi:10.1016/j.ijhydene.2024.03.184