Skip to main content

Finite element simulations of hydrogen transport

Project description

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.

:point_right: Documentation

:point_right: 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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

FESTIM-0.10.3.tar.gz (956.1 kB view hashes)

Uploaded Source

Built Distribution

FESTIM-0.10.3-py3-none-any.whl (121.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page