Skip to content

Solstyce-LG/FESTIM

 
 

Repository files navigation

FESTIM

CircleCI codecov Code style: black GitHub stars GitHub forks

FESTIM (Finite Elements Simulation of Tritium in Materials) is a tool for modeling hydrogen transport in materials. It simulates the diffusion and trapping of hydrogen, coupled to heat transfer with FEniCS.

👉 Documentation

👉 Examples

Installation

FESTIM can be installed via pip

pip install FESTIM

FESTIM requires FEniCS to run. The FEniCS project provides a Docker image with FEniCS and its dependencies (python3, UFL, DOLFIN, numpy, sympy...) already installed. See their "FEniCS in Docker" manual.

For Windows users:

docker run -ti -v ${PWD}:/home/fenics/shared --name fenics quay.io/fenicsproject/stable:latest

For Linux users:

docker run -ti -v $(pwd):/home/fenics/shared --name fenics quay.io/fenicsproject/stable:latest

Run the tests:

pytest-3 test/

Visualisation

FESTIM results are exported to .csv, .txt or XDMF. The latter can then be opened in visualisation tools like ParaView or VisIt.

References

  • R. Delaporte-Mathurin, et al., Finite Element Analysis of Hydrogen Retention in ITER Plasma Facing Components using FESTIM. Nuclear Materials and Energy 21: 100709. DOI: 10.1016/j.nme.2019.100709.

  • R. Delaporte-Mathurin, et al., Parametric Optimisation Based on TDS Experiments for Rapid and Efficient Identification of Hydrogen Transport Materials Properties. Nuclear Materials and Energy, 26 mars 2021, 100984. https://doi.org/10.1016/j.nme.2021.100984.

  • R. Delaporte-Mathurin, et al., Parametric Study of Hydrogenic Inventory in the ITER Divertor Based on Machine Learning. Scientific Reports 10: 17798. https://doi.org/10.1038/s41598-020-74844-w.

  • R. Delaporte-Mathurin, et al., Influence of Interface Conditions on Hydrogen Transport Studies. Nuclear Fusion 61 (2021): 036038. https://doi.org/10.1088/1741-4326/abd95f.

  • R. Delaporte-Mathurin, et al., Fuel Retention in WEST and ITER Divertors Based on FESTIM Monoblock Simulations. Nuclear Fusion 61, nᵒ 12: 126001. https://doi.org/10.1088/1741-4326/ac2bbd.

  • E. A. Hodille et al., Modelling of Hydrogen Isotopes Trapping, Diffusion and Permeation in Divertor Monoblocks under ITER-like Conditions. Nuclear Fusion, 2021. https://doi.org/10.1088/1741-4326/ac2abc.

About

Coupled hydrogen transport and heat transfer using FEniCS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%