foamlib: A modern Python package for working with OpenFOAM
foamlib is an open-source Python package that provides a high-level, modern, object-oriented programming interface for working with OpenFOAM cases and their files.It is designed to simplify the development of workflows that involve running OpenFOAM simulations, as well as pre-and post-processing steps.foamlib understands OpenFOAM's file formats and case structures, and provides an ergonomic, Pythonic API for manipulating cases and files, including a full parser and in-place editor for the latter.It also includes support for running OpenFOAM cases asynchronously and on Slurm-based HPC clusters.
Authors
- Gabriel S. Gerlero (ORCID: https://orcid.org/0000-0002-5138-0328)
- Pablo A. Kler (ORCID: https://orcid.org/0000-0003-4217-698X)
Institutions
- National Technological University (AR)
- Consejo Nacional de Investigaciones Científicas y Técnicas (AR)
- Centro de Investigación de Métodos Computacionales (AR)
Publication Details
- Journal
- The Journal of Open Source Software
- Published
- 2025-05-23
- DOI
- https://doi.org/10.21105/joss.07633
- Primary Topic
- Computational Physics and Python Applications
- Type
- article
- Field-Weighted Citation Impact
- 0.00