SCIANTIX is an open-source 0D simulation code developed at Politecnico di Milano, designed to model the behavior of a single grain of nuclear fuel, with a particular focus on fission gas behavior.
The code employs physics-based rate-theory models rather than empirical correlations, enabling better integration with lower-length scale calculations and improved predictive capability. SCIANTIX is designed to operate both as an independent tool and as an embedded module within industrial fuel performance codes (FPCs) such as TRANSURANUS, FRAPCON/FRAPTRAN, and OFFBEAT.
Currently, SCIANTIX is validated against experimental data for:
- Intragranular gaseous swelling
- Intergranular gaseous swelling
- Fission gas release (Xe, Kr)
- Helium behavior and release under annealing conditions
- High-burnup structure (HBS) formation and porosity evolution
The validation database and testing suite are available in the verification/ and validation/ directories.
Training material — tutorials, hands-on cases, and the OperaHPC online training — is maintained in a dedicated repository:
Requirements to build SCIANTIX:
- C++17 compatible compiler (tested: GCC ≥ 9, Clang ≥ 10)
- CMake ≥ 3.6
Additional requirements to run the testing suite (not needed to build the code):
- Python ≥ 3.8
- NumPy, pandas and Matplotlib, installed with:
python3 -m pip install -r testing/requirements.txt
-
Obtain the code:
git clone https://github.com/sciantix/sciantix-official.git cd sciantix-official -
Build the code:
mkdir -p build && cd build cmake .. make -j
The compiled executable
sciantix.xwill be located in thebuild/directory. To check that the build succeeded, run./sciantix.x --version(frombuild/).For the optional OpenCalphad thermochemistry coupling (checked out as
../opencalphad-for-sciantix, next to this repository), build instead, from the repository root, with:./Allmake.sh --oc
Shortcut:
./Allmake.shruns exactly these CMake steps from the repository root, and./Allclean.shremovesbuild/,obj/, compiled binaries and Python caches.
The recommended approach for Windows users is to use the Windows Subsystem for Linux (WSL2). Follow the Quick installation steps within your WSL terminal.
To compile SCIANTIX as a static library for coupling with codes like TRANSURANUS:
mkdir -p build && cd build
cmake -DCOUPLING_TU=ON ..
make -j$(nproc)The static library libsciantix.a will be generated in the build/ directory.
Execute sciantix.x within the directory containing your input files, or provide the path to the input folder:
./build/sciantix.x [path_to_input_folder]Run ./build/sciantix.x --help to list the expected input files.
The format of the input files is described in the Input Files page of the documentation, and a step-by-step tutorial on a complete case is given in Examples.
Generation scripts for template input files are available in utilities/inputExample/:
python3 utilities/inputExample/print_input_settings.py
python3 utilities/inputExample/print_input_initial_conditions.py
python3 utilities/inputExample/print_input_scaling_factors.pyTest cases live in two top-level directories:
verification/(to test specific models)validation/(to test comparison with experimental data)
Unit, verification and validation tests are registered with CTest. From the build/ directory:
ctest --output-on-failure -j $(nproc)or, equivalently, make check. Use ctest -L unit, ctest -L verification or ctest -L validation to run a single category, and ctest -R validation_baker to run a single test group.
The testing runner can also be called directly from the repository root (no flags = run everything), e.g. to select individual cases or regenerate gold files:
python3 -m testing.runner -j $(nproc)Shortcut:
./runTesting.shperforms a clean rebuild (Allclean.sh+Allmake.sh) and then runs the testing runner.
Some groups use the OpenCalphad coupling; they're attempted on every run and degrade gracefully if it isn't built.
To require OpenCalphad instead, build with it and pass --oc to the runner, so any of these groups that still can't use it fails loudly instead of degrading:
./Allmake.sh --oc
python3 -m testing.runner --ocShortcut:
./runTesting.sh --ocperforms both steps after a clean rebuild.
Online documentation is available at sciantix.github.io/sciantix-official.
The online documentation is built with Sphinx, which runs Doxygen automatically to include the source-code API reference. To build it locally, install Doxygen and the Python packages in docs/requirements.txt, then run make html in docs/:
sudo apt install doxygen
python3 -m pip install -r docs/requirements.txt
cd docs
make htmlThe HTML documentation is written to docs/build/html/ (open index.html).
- Questions, bug reports and feature requests: open an issue on the GitHub issue tracker. Please include the output of
sciantix.x --versionand, for a bug, the input files of the case. - Contributing: see CONTRIBUTING.md.
Please cite SCIANTIX using the Zenodo DOI:
@software{SCIANTIX_v2,
title = {SCIANTIX},
year = {2024},
publisher = {Zenodo},
doi = {10.5281/zenodo.17748425},
url = {https://doi.org/10.5281/zenodo.17748425}
}We also encourage citing the scientific publications associated with SCIANTIX, listed below and in references/references.md, when relevant.
Citation metadata is also available in the CITATION.cff file.
For a deeper understanding of the SCIANTIX code and its underlying models, refer to the following publications:
@article{Zullo2023,
author = {Zullo, Giovanni and Pizzocri, Davide and Luzzi, Lelio},
title = {The SCIANTIX code for fission gas behaviour: Status, upgrades, separate-effect validation, and future developments},
journal = {Journal of Nuclear Materials},
volume = {587},
pages = {154744},
year = {2023},
issn = {0022-3115},
doi = {10.1016/j.jnucmat.2023.154744},
url = {https://www.sciencedirect.com/science/article/pii/S0022311523005111}
}@article{Pizzocri2020,
author = {Pizzocri, Davide and Barani, Tommaso and Luzzi, Lelio},
title = {SCIANTIX: A new open source multi-scale code for fission gas behaviour modelling designed for nuclear fuel performance codes},
journal = {Journal of Nuclear Materials},
volume = {532},
pages = {152042},
year = {2020},
issn = {0022-3115},
doi = {10.1016/j.jnucmat.2020.152042},
url = {https://www.sciencedirect.com/science/article/pii/S0022311519313868}
}SCIANTIX is developed and maintained by:
- Giovanni Zullo
- Elisa Cappellari
- Giovanni Nicodemo
- Aya Zayat
- Davide Pizzocri
- Lelio Luzzi
Politecnico di Milano, Nuclear Engineering Division.
Mini guide for the generalized spectral diffusion solver with non-uniform source: https://polimi365-my.sharepoint.com/:b:/g/personal/10884872_polimi_it/EUT-2KKVWdBNgbRhSLts3LYB44YjGkc51bAKPb6uTe0oHg?e=YH19AK
SCIANTIX is released under the MIT License.