Skip to content

cfdbender

cfdbender runs CFD campaigns from a table. You write a matrix with one row per simulation, and the same two commands plan it, run it on your machine or on a cluster, and collect the results into tables that have the same columns for every solver. One folder, the workspace, holds the whole campaign, and every run is recorded, so each result can be traced to the inputs that made it. Nothing that was computed is overwritten or deleted unless you run a command that says so.

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

The mock solver computes nothing and needs no installation. It is there to learn the commands before a real solver is involved.

Solvers

Solver Computes
CFD++ Steady compressible flow from a native grid folder; incomplete and not yet verified against the solver.
SU2 Compressible flow on a volume mesh, steady or time accurate, with rotors and declared post-processing products.
OpenFOAM Steady incompressible flow on a volume mesh.
PyFR High-order flow simulation with flux reconstruction.
XFOIL Polars of a two-dimensional airfoil.
QPROP Performance of an isolated propeller.
FlightStream FlightStream campaigns, handled by pyflightstream.

Where to start

  • New to cfdbender. Install it, then follow First campaign: one complete campaign with every command and every file shown.
  • Coming from 0.6. Upgrading from 0.6 says what changed for an existing workspace; nothing has to be done.
  • How a campaign works. The workflow explains the stages in order, and the pages beside it cover the workspace, the matrix, the records, the tables, cluster jobs and storage.
  • Your solver. Solvers, side by side compares what each solver needs, and each solver has a page with its mesh, its setup keys, its rule for convergence and a worked example.

Commands lists every command and option. Troubleshooting explains each refusal by its text. The architecture, the adapter contract and the requirements are for whoever changes cfdbender or adds a solver. The source code and the issues are on GitHub.