.. image:: https://github.com/gerlero/foamlib/blob/main/logo.png?raw=true :alt: foamlib logo :width: 300 px :target: https://github.com/gerlero/foamlib :align: center ========================================================================= **foamlib** is a modern Python package that simplifies working with OpenFOAM input/output data by providing a standalone parser for OpenFOAM's own file format. It also includes robust case-handling capabilities that reduce boilerplate code and enable efficient pre-processing, post-processing, and simulation management directly from Python. With support for ASCII- and binary-formatted fields, a fully type-hinted API, and asynchronous operations, **foamlib** offers a streamlined, Pythonic approach to automating and managing OpenFOAM workflows. .. note:: **foamlib** is published in the Journal of Open Source Software (JOSS). `Read the paper `_ for more details about the design and implementation. 📚 Documentation guide ======================= .. toctree:: :maxdepth: 2 files cases example parametricstudy postprocessing typing 🔍 Indices and search ====================== * :ref:`genindex` * :ref:`modindex` * :ref:`search`