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

Institutions

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
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

foamlib: A modern Python package for working with OpenFOAM

Gabriel S. Gerlero, Pablo A. Kler
3 links
The Journal of Open Source Software
Computational Physics and Python Applications
article

foamlib: A modern Python package for working with OpenFOAM

Gabriel S. Gerlero, Pablo A. Kler
article en

Abstract

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.

The Journal of Open Source SoftwareVol. 10(109)
National Technological University (AR), Consejo Nacional de Investigaciones Científicas y Técnicas (AR), Centro de Investigación de Métodos Computacionales (AR)
Openalex Percentile: Top 95%
Computational Physics and Python Applications
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.