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.
SETUPnames the physical setup,NUMERICSan optional numerics file shared by many setups, andMESHthe mesh. A header that still saysSETorGEOMETRYis read with a notice, andpython -m cfdbender.migrate_setup_numericsmoves a workspace. - Run types. The
WORKFLOWcolumn selectssteady,qsteady_rotor,unsteadyorunsteady_rotorfor 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,SYMMETRYPERIODICwithPERIODIC_COPIES, the rotor table and the unsteady polar. - Products. The post-processing file declares sections, a volume section
and probes;
collectwrites them for every solver that supplies them. - Solver-agnostic numerics. The package
cfdbender.postholds time averages, per-revolution means, sections, volume sampling, a.vtureader and far-field numerics. - Clusters.
hpc.<name>replaces one value of an HPC profile for a row, andcfd-matrix run --batch Ngroups 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)
| 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)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| 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 logRelease 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 logSecurity 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.
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 logA 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.