Author: | Daniele Panico, Daniele Tomatis |
---|---|
Contributor: | Gabriele Ottino, Lucie Kerleau, Chloé Largeron |
Date: | 04/04/2024 |
lbh15 (Lead Bismuth Handbook 2015) is a Python package that implements the thermo-physical and the thermo-chemical properties of lead, bismuth and lead-bismuth eutectic (lbe) metal alloy available from the handbook edited by OECD/NEA.
lbh15 offers a standard implementation for use of these properties in scientific applications. In particular, this package is used for numerical simulation and experimental activities supporting the development of nuclear reactors that employ heavy liquid metals as primary coolant.
lbh15 is developed by the Codes & Methods group of newcleo and it is released under the GNU Lesser General Public License 3.
lbh15 is listed among the Open-source Nuclear Codes for Reactor Analysis (ONCORE) by IAEA.
The project is organized according to the following folder structure:
<lbh15 parent folder>
├── docs/
├── lbh15/
├── tests/
├── tutorials/
├── CHANGELOG.rst
├── LICENSE
├── MANIFEST.in
├── README.rst
├── pyproject.toml
└── setup.py
lbh15
: contains all modules, classes and methods implemented in lbh15;docs
: contains files for the generation of the documentation by Sphinx;tests
: collection of tests used to verify the correct implementation;tutorials
: collection of tutorials and examples, each one into a dedicated sub-folder.
To run the code, the following dependencies must be satisfied:
Python
>= 3.8.10SciPy
>= 1.8.1NumPy
>= 1.22.3
To build the documentation in both html and LaTeX formats, the following dependencies must be satisfied:
sphinx
>= 6.2.1sphinx-rtd-theme
>= 1.3.0myst-parser
>= 1.0.0sphinxcontrib-bibtex
>= 2.5.0
To install the lbh15 package, please type the following command:
pip install lbh15
Or use https://github.com/newcleo-dev-team/lbh15.git to clone the package. After cloning the package, execute the following command inside the base folder:
pip install .
To upgrade the lbh15 package, please type the install
command along with the --upgrade
or -U
flag:
pip install --upgrade lbh15
The Sphinx documentation can be built in html and LaTeX formats by executing
the following command in the folder docs/
:
make htmlmake latexpdf
The html documentation is available on GitHub Pages at newcleo-dev-team.github.io/lbh15.
To see the available templates for generating the documentation in PDF format and to choose among them, please
look at the docs/conf.py
file.
For anyone wishing to contribute to the development of the project, report issues or problems with the software, or request support, please refer to this web page.
@inproceedings{NURETH20lbh15,
author = {Panico, Daniele and Tomatis, Daniele},
title = {{lbh15: a Python package implementing lead, bismuth, and lead-bismuth eutectic thermophysical properties for fast reactor applications}},
booktitle = {Proc. of 20th International Topical Meeting on Nuclear Reactor Thermal Hydraulics (NURETH-20), Washington DC, USA},
pages = {1--12},
year = {2023},
month = {Aug 20--25},
editor = {ANS}
}
@article{ottino2024lbh15,
title={lbh15: a Python package for standard use and implementation of physical data of heavy liquid metals used in nuclear reactors},
author={Ottino, Gabriele and Panico, Daniele and Tomatis, Daniele and Pantel, Pierre-Alexandre},
journal={Journal of Open Source Software},
volume={9},
number={96},
pages={6383},
year={2024}
}