Skip to main content

ibfoamrig

Immersed Boundary OpenFOAM Rig is a Python library for managing and post-processing OpenFOAM cases.

ibfoamrig was built to verify and validate the OpenHFDIB-RANS solver against body-fitted reference solutions such as simpleFoam. It reads fields, function-object tables, residuals and IBM interpolation data into Polars frames and plots them with matplotlib.

IBM interpolation lines around an immersed sphere, in 3D and in a cross-section

Installation

Requires Python 3.12 or newer.

pip install ibfoamrig
# or
pip install git+https://github.com/vecerniv/ibfoamrig.git

Example

Plot the IBM interpolation lines around an immersed sphere:

import ibfoamrig as ifr
from ibfoamrig.plot import finish_figure, plot_geometry_3d

case = ifr.FoamCase("tests/data/3d_hfdibrans")
cells = case.fields_at(["U"])
info = case.interpolation("ZZ_python/interpolationInfo_boundary.dat", cells)

ax = plot_geometry_3d(
    info,
    color_by="yOrtho",
    points=True,
    surface=case.surface("constant/triSurface/sphere.stl")
)
finish_figure(ax.figure, show=True)

Documentation

The documentation covers:

  • API reference: every public class and function, with Google-style docstrings.

Metadata

Release files for ibfoamrig 2.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ibfoamrig 2.2.0
File Size Uploaded Provenance Actions
ibfoamrig-2.2.0.tar.gz 41.9 kB Without provenance Details for ibfoamrig-2.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ibfoamrig 2.2.0
File Interpreter ABI Platform Actions
ibfoamrig-2.2.0-py3-none-any.whl Python 3 none any Details for ibfoamrig-2.2.0-py3-none-any.whl

Total release size: 90.8 kB

Release files / ibfoamrig-2.2.0.tar.gz

Download URL ibfoamrig-2.2.0.tar.gz
Size 41.9 kB
Tags Source
SHA-256 checksum
How to use checksums
806bd4406dbe86bb30a196d769533bc8e46e33697627a77b30b6d5906e5d048f
BLAKE2b-256 checksum
How to use checksums
0a2e576ee0e3a05f47e802116de67d9b8aacb662a0b22e29efd44c7331861f3c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / ibfoamrig-2.2.0-py3-none-any.whl

Download URL ibfoamrig-2.2.0-py3-none-any.whl
Size 48.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ccd9a3047e34e4bd81864c79c3f4b323dff018d79d970b634a6d8fa25e5c6842
BLAKE2b-256 checksum
How to use checksums
ae33c462ad262993d982fc7764e0ecac40954be5782ab809df10a566cd534461
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for ibfoamrig 2.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page