Foamlib

Foamlib is a Python package that provides a streamlined interface to OpenFOAM for setting up, running, and analyzing computational fluid dynamics simulations.

  • Automation
  • Tools & Utilities
Foamlib is a Python package that provides a streamlined interface to OpenFOAM for setting up, running, and analyzing computational fluid dynamics simulations.

Platform availability

Available on 0 of 10 platforms

  • Unraid (not listed)
  • TrueNAS (not listed)
  • Umbrel (not listed)
  • ZimaOS (not listed)
  • Proxmox (not listed)
  • Helm (not listed)
  • Mac (not listed)
  • Windows (not listed)
  • Linux (not listed)
  • Any server (not listed)

Health score?A 0-100 score computed nightly from four factors: maintained (40%: recent commits and steady activity), popular (25%: GitHub stars, log scale), easy to install (20%: platforms, install notes, setup guides, Docker image) and light to run (15%: minimum RAM, ARM support). When the source code has been checked, a fifth factor, security check (20%: automated scan for committed secrets, unsafe desktop-app settings, known-vulnerable dependencies and project hygiene; any serious finding caps it at 20), is added. Factors without data are left out and the rest are rescaled.

72/100 Good

Maintained
100last commit 5 days ago
Popular
47236 GitHub stars
Easy to install
250 install platforms, install notes, Docker image
Light to run
No data
Security check
95no serious findings, CI, tests

Based on 4 of 5 factors.

GitHub stars
236
Open issues
4
Last commit
2026-11-16
Latest release
v1.10.4
License
GPL-3.0
Activity
rising

Checked 3 days ago - source: GitHub (gerlero/foamlib)

Resources & Compatibility

ARM (e.g. Raspberry Pi) is supported.

Checked 54 days ago - source: Docker Hub image tags and published docs

First-install notes

  • Add preprocessing extras if you need studies If you plan to vary case values automatically (a parametric study), run pip install foamlib[preprocessing]. Without it, the preprocessing tools may not have the packages they need. source
  • Add post-processing extras for results If you want to analyze simulation result files, run pip install foamlib[postprocessing]. Without it, foamlib may not be able to load and process your output data. source
  • Point foamlib at your case folder An OpenFOAM case is a folder, such as path/to/case, that holds the settings and result files. Give foamlib the correct folder path, because if it cannot find the folder it cannot read or run the case. source
  • Install Install the Python package from PyPI or conda-forge, or pull the Docker image from Docker Hub. source

Fetched 41 days ago - each note links to its source

Alternatives

No alternatives collected yet.

Common questions

What extra installation is needed to analyze simulation result files?

Run pip install foamlib[postprocessing]. Without it, foamlib may not be able to load and process your output data.

What path must I give foamlib to work with an OpenFOAM case?

Give it the path to the OpenFOAM case folder, which holds the settings and result files. If it cannot find the folder, it cannot read or run the case.

Where can I ask development questions about foamlib?

Use the GitHub Discussions forum for the foamlib repository. It is for discussing code, asking questions, and collaborating with the developer community.

Answers sourced from foamlib.readthedocs.io, foamlib.readthedocs.io, github.com

Community

Collected 48 days ago - public community threads