Skip to main content

cfdbender

cfdbender is an early Python project for CFD workspaces. Version 0.7.0 provides workspace initialization, named setup, numerics, reference and post-processing files, read-only planning, local runs, neutral result collection, and HPC profiles with plan, run and collect. It includes a draft SRS and documentation.

What it offers:

  • Solvers. Mock and SU2 adapters (the SU2 executable route, and the pysu2 Python wrapper route run in a child interpreter), ESI OpenFOAM, XFOIL, PyFR, QPROP, FlightStream workspaces delegated to pyflightstream, and CFD++ (incomplete and not yet verified against the solver).
  • Matrix columns. SETUP names the physical setup, NUMERICS an optional numerics file shared by many setups, and MESH the mesh. A header that still says SET or GEOMETRY is read with a notice, and python -m cfdbender.migrate_setup_numerics moves a workspace.
  • Run types. The WORKFLOW column selects steady, qsteady_rotor, unsteady or unsteady_rotor for SU2, with the clock, the averaging window and the export window of a time-accurate row.
  • Rotors. ADVANCE_RATIO, the rotor block of the reference file, SYMMETRY PERIODIC with PERIODIC_COPIES, the rotor table and the unsteady polar.
  • Products. The post-processing file declares sections, a volume section and probes; collect writes them for every solver that supplies them.
  • Solver-agnostic numerics. The package cfdbender.post holds time averages, per-revolution means, sections, volume sampling, a .vtu reader and far-field numerics.
  • Clusters. hpc.<name> replaces one value of an HPC profile for a row, and cfd-matrix run --batch N groups rows into N scheduler jobs and writes the shell script each runs.
  • Large inputs. An optional identity mode leaves large meshes unread, and planning of large meshes is faster.

Quick start

pip install cfdbender
cfd-workspace init campaign --solver mock
cd campaign

Write inputs/matrices/first.fs, with one row per simulation:

POL  | RUN | FLIGHT_CONDITION      | SWEEP_VALUES | REF | SETUP | PPROC
-----|-----|-----------------------|--------------|-----|-------|------
1001 | 1   | MACH:0.2, ALPHA:sweep | 0,2,4        | 001 | 001   | 001

Then plan, run and collect it:

cfd-matrix plan first
cfd-matrix run first
cfd-matrix collect first

First campaign shows every file. Moving from 0.6 needs nothing: see Upgrading from 0.6.

FlightStream

Install the optional FlightStream support with pip install cfdbender[flightstream]. See FlightStream workspaces for initialization and the delegated commands.

The design keeps the first level independent of any solver. Each workspace declares one solver in its root init.toml. Supported solvers are SU2, FlightStream, OpenFOAM (ESI), XFOIL, PyFR and QPROP, and CFD++, which is incomplete. Fluent and other solvers are on the roadmap. See the SU2, OpenFOAM, XFOIL, PyFR, QPROP and CFD++ workspace guides.

See the documentation site and the workspace layout. This project is licensed under the MIT license.

Metadata

Release files for cfdbender 0.7.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 cfdbender 0.7.0
File Size Uploaded Provenance Actions
cfdbender-0.7.0.tar.gz 1.3 MB With provenance Details for cfdbender-0.7.0.tar.gz

Built distribution (wheel)

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

Total release size: 2.7 MB

Release files / cfdbender-0.7.0.tar.gz

Download URL cfdbender-0.7.0.tar.gz
Size 1.3 MB
Tags Source
SHA-256 checksum
How to use checksums
208588baa2574ccfa5c52d7e406a09284e56fd20c0f1d0b5b24816d03e06df40
BLAKE2b-256 checksum
How to use checksums
97b848ada1d5e86dee3f04ddb36b2678cc90b8152b46a8bdcc2c53db88592a1d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.

Transparency log

Release files / cfdbender-0.7.0-py3-none-any.whl

Download URL cfdbender-0.7.0-py3-none-any.whl
Size 1.4 MB
Tags Python 3
SHA-256 checksum
How to use checksums
0da654fe01ea76c724fd00d34a93feda485ffe12d1dc232b8acc6a34b578196d
BLAKE2b-256 checksum
How to use checksums
e848420cb993fb7bb4192e93906205bd4094758300ea0993022a03780b768a65
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.

Transparency log

Security for cfdbender 0.7.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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for cfdbender-0.7.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.

Transparency log

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