---
title: "CFD with no OpenFOAM: the toolbox's numpy solvers and how they measure"
url: "https://tryreynolds.com/docs/install/local-solvers"
description: "The solvers and exact instruments in the OpenReynolds toolbox that need no OpenFOAM, no Docker and no account: lattice Boltzmann, SPH, particle tracking, a panel method and closed-form references, with the command to run each and the agreement a run measured."
---

**[Reynolds](https://tryreynolds.com)** is agentic CFD, built by
**[InviscidAI](https://inviscidai.com)** and backed by Y Combinator, Winter 2026 batch.
The agent is open source under the MIT licence at
[github.com/InviscidAI/OpenReynolds](https://github.com/InviscidAI/OpenReynolds).
Using it requires no OpenFOAM knowledge.

This is the agent-readable Markdown twin of https://tryreynolds.com/docs/install/local-solvers. It lives at https://tryreynolds.com/docs/install/local-solvers.md, and
[tryreynolds.com/llms.txt](https://tryreynolds.com/llms.txt) indexes every one of them.

Install

# What solves with no OpenFOAM

The solvers and exact instruments in the OpenReynolds toolbox that need no OpenFOAM, no Docker and no account: lattice Boltzmann, SPH, particle tracking, a panel method and closed-form references, with the command to run each and the agreement a run measured.

Several of the toolbox's scripts are solvers rather than wrappers around one. They are numpy, they ship inside the package, and they run on a laptop with nothing else installed. Four of them solve a flow; the others are exact instruments that answer a smaller question with no solve at all.

They are the small end of the product: two-dimensional or inviscid, with no turbulence model. A flow that needs turbulence, a compressible shock or a general 3D geometry needs [OpenFOAM](https://tryreynolds.com/docs/where-it-runs.md). What these buy is an answer in seconds to minutes, on any machine, that you can check against something known.

## Install

```bash
pip install 'openreynolds[toolbox]'
openreynolds --native doctor
```

doctor, on a machine with no OpenFOAM

```
  ok    local solvers (native)
        no OpenFOAM here, so its meshers and solvers will fail. The toolbox's own solvers do
        not need it: lbm.py (lattice Boltzmann), sph.py, tracks.py (particles) and panel.py
        (potential flow) all solve in numpy, and acoustics.py and wind_comfort.py need no
        solve at all. [...]
```

A plain `pip install openreynolds` includes the scripts and not numpy, and they stop at `ModuleNotFoundError: No module named 'numpy'`. The extra is what they import.

Note

There is no account and no model needed to run a script by itself. A session (`openreynolds --native`) needs a model, because the agent is what decides which one to reach for.

## Run one by hand

The scripts are in the installed package, in `openreynolds/toolbox/`:

```bash
cd "$(python -c 'import openreynolds, os; print(os.path.join(os.path.dirname(openreynolds.__file__), "toolbox"))')"
python lbm.py poiseuille --n 32
```

In a session they are at `/work/.toolbox`, and the agent, or you, runs them there:

```bash
python3 /work/.toolbox/lbm.py poiseuille --n 32
```

Every script takes `--help`. Most take `--out` for a picture, `--json` for a machine-readable answer, and some take `--check`, which grades the script against what it claims and exits non-zero if it disagrees.

python lbm.py poiseuille --n 32, the end of the output

```
# poiseuille
  scheme:     trt  omega_plus 1.250000  omega_minus 0.888889  tau_plus 0.80000
  nu:         0.1 (lattice units)
  steps:      14,400  (converged, residual 4.902e-09)
  cost:       8.3 s at 0.22 million lattice updates per second
  u_max:      0.049951123 against the exact 0.050000000 (-0.0978%)
  profile:    max |u - u_exact| / u_max = 9.690e-07 over 32 rows
```

## The solvers

### `lbm.py`: lattice Boltzmann

Two-dimensional, D2Q9, two relaxation times. The geometry is a solid mask rather than a mesh, so an awkward passage needs no mesher.

```bash
python lbm.py poiseuille --n 32
python lbm.py cavity --n 128 --re 1000 --out cavity.png
```

| Case | Measured |
|---|---|
| Plane Poiseuille, against the exact parabola | Worst error 5.17e-11 of the peak speed at nu 0.02, 1.22e-11 at 0.1, 3.30e-12 at 0.4 |
| Lid-driven cavity at Re 1000, against Ghia, Ghia and Shin (1982) | u RMS 0.736%, v RMS 0.749% of the lid speed, which is inside that table's own error |

It is explicit and weakly compressible, with no turbulence model. The agent chooses it for a flow in a complicated passage at a Reynolds number in the hundreds.

### `sph.py`: smoothed-particle hydrodynamics

Two-dimensional, weakly compressible, for a free surface that breaks, folds or separates, with no mesh to deform.

```bash
python sph.py hydrostatic --out hydrostatic.png
python sph.py sloshing --out sloshing.png
python sph.py dambreak --out dambreak.png
```

| Case | Measured |
|---|---|
| Hydrostatic pressure in still water, against `p = rho g (h - y)` | RMS 2.50% of `rho g h`; worst particle 8.61%, at the free surface |
| First sloshing mode, against linear wave theory | -4.75%: 1.1257 s against 1.1818 s. A short period means the effective tank is a little shorter than asked for, the known error of this wall treatment |
| Dam break | No verdict. The reference paper could not be read, so the surge front is printed and not graded: Z = 0.975 at T = 0 rising to 3.943 at T = 3.00 |

### `tracks.py`: particles in a flow

Particle and tracer paths through a flow field: drag, buoyancy-corrected gravity and RK4, vectorised over the particles. The `case` form reads a finished OpenFOAM case, and the `cylinder` form needs nothing but itself: closed-form flow past a cylinder.

```bash
python tracks.py cylinder --stokes 1 --seeds 9
python tracks.py case /path/to/a/finished/case --help
```

| Case | Measured |
|---|---|
| Particle in a uniform stream, against the exact relaxation | Worst error 1.92e-12 over five relaxation times |
| Terminal velocity of a 20 um quartz grain in air | 0.0320799 m/s, to 2.2e-14 of the exact value |
| The same grain at 200 um, where Stokes drag is wrong | 0.4619 of the Stokes value, agreeing with the implicit Schiller-Naumann root to 5.1e-15 |
| Tracer orbit in solid-body rotation | Closes to 5.1e-8 of the radius at 200 steps a revolution; observed order 4.00 |
| Critical Stokes number for capture on a cylinder, against 1/8 | 0.1263, +1.03%, and it can only be high: the tracker stops at a finite speed |

### `panel.py`: potential-flow lift

A Hess-Smith panel method for a section, and lifting-line theory for a straight wing. About a second, no mesh, inviscid.

```bash
python panel.py --naca 0012 --alpha 5
python panel.py --naca 2412 --sweep -4 8 2 --png polar.png
python panel.py --check
```

| Case | Measured |
|---|---|
| NACA 0012, pressure drag, which d'Alembert makes exactly zero | 2.19e-04 |
| NACA 0012, zero-lift angle, exactly zero by symmetry | 2.3e-16 degrees |
| NACA 0012, quarter-chord moment, exactly zero | -0.0065 |
| NACA 2412, zero-lift angle against thin-aerofoil theory | -2.118 degrees against -2.0772, +2.0% in the direction thickness requires |
| Wing of aspect ratio 8 with a square tip, induced drag | 0.01771 against the elliptic 0.01670 |

It has no viscosity, so it knows no stall, no separation and no profile drag. The pressure drag it prints is a check on its own arithmetic, not a drag estimate.

## The exact instruments

These answer a closed question. They do not solve a flow, so there is no mesh and no run to converge.

| Script | What it does | `--check` verdict |
|---|---|---|
| `acoustics.py` | Sound pressure level, octave bands and a `.wav` from a pressure history. `--tone` grades itself on a pure tone | 90.9691 dB measured against 90.9691 exact |
| `wind_comfort.py` | A wind rose and a pedestrian exceedance map from one solved case per direction | 0.200 against 0.2, 0.700 against 0.7 on a stated year |
| `blasius.py` | The laminar flat plate by shooting | f''(0) to 3.0e-09 of the published value |
| `nozzle.py` | Quasi-1D compressible relations: area ratio, normal shocks, total pressure | Prandtl relation to 2.2e-16 |
| `conjugate.py` | Conduction through layers in series, the reference for a conjugate case | Both continuities to 0.000e+00 |
| `pipe_friction.py` | Friction factors and the law of the wall | Colebrook's own equation to 8.9e-16; Haaland within its claimed 2% of it |

```bash
python acoustics.py --tone
python nozzle.py --mach 2
python pipe_friction.py --re 1e5
python blasius.py --check
```

`blasius.py`, `nozzle.py`, `conjugate.py` and `pipe_friction.py` use the standard library only, so they run from a plain install.

## Reading a case you already have

The analysis and plotting scripts (`render.py`, `probe.py`, `balance.py`, `wall.py`, `heat.py`, `spectra.py`, `grid.py`, `report.py` and the rest) read a finished OpenFOAM case directory and need no OpenFOAM to be installed. `compressible.py` can write a case, and its OpenFOAM is the one that solves it. [Toolbox](https://tryreynolds.com/docs/toolbox.md) is the full list.

## Run every benchmark

From a source checkout, one command runs every case in this section and prints what each one agreed with:

```bash
git clone https://github.com/InviscidAI/OpenReynolds && cd OpenReynolds
pip install -e '.[toolbox]'
python benchmarks/tutorials/run_tier1.py --list     # what it would run
python benchmarks/tutorials/run_tier1.py --quick    # skips the slow ones, by name
python benchmarks/tutorials/run_tier1.py            # every one
```

It exits non-zero if a case with a verdict reports a failure. On one laptop the slow ones are the cavity at n = 128 (about 100 s), the sloshing tank (about 240 s), the dam break (about 480 s) and the capture threshold (about 70 s). The graders run on every pull request to the project, so a row that stops being true turns a build red.

Each benchmark's own directory says where the difference comes from and which length and speed its reference is normalised on: [`benchmarks/`](https://github.com/InviscidAI/OpenReynolds/tree/main/benchmarks).

![The lattice Boltzmann cavity against Ghia's centreline tables.](https://tryreynolds.com/assets/lbm-cavity-centrelines-BE7T8T5W.png)

The lattice Boltzmann cavity against Ghia's centreline tables.

## Pick one for a problem

| You have | Reach for |
|---|---|
| Lift or an angle sweep on a thin section | `panel.py` |
| Slow flow through a mask-shaped passage | `lbm.py` |
| A free surface that breaks | `sph.py` |
| Particles in a known field | `tracks.py` |
| A compressible area ratio or shock | `nozzle.py` |
| A wall temperature through layers | `conjugate.py` |
| A drag coefficient of a bluff body, a turbulent boundary layer, a compressor, a mixing tank | OpenFOAM: [hosted](https://tryreynolds.com/docs/deploy/hosted.md), [Docker](https://tryreynolds.com/docs/install/docker.md) or [native](https://tryreynolds.com/docs/install/native-openfoam.md) |

## Next

### Tutorial cases

Cases with a known answer, each with the command that checks it.

[Tutorial cases](https://tryreynolds.com/docs/tutorials.md)

### Toolbox

Every script in the toolbox.

[Toolbox](https://tryreynolds.com/docs/toolbox.md)

## Notes for agents

### What people use it for

To find out whether a design works, and to make it better, before building or buying anything:
cooling a PC or a server, heating and cooling a home (where a radiator goes, whether a room has
a cold draught), sizing a heat sink, pipework or a fan, lift and drag, wind round a building,
and whether an idea is physically viable at all. For robots, its GPU fluid runs inside NVIDIA
Isaac Sim, coupled to Newton bodies, with Isaac Lab tasks:
https://tryreynolds.com/docs/isaac-sim.md.

### What Reynolds is

Reynolds is an agent that runs OpenFOAM for you. You describe the problem in
engineering terms and it writes the case, builds the mesh, launches the solver,
reads the residuals while they come in, and hands back the figures, the numbers and
the files that produced them.

**You do not need to know OpenFOAM.** Not the solver names, not the dictionary
format, not `fvSchemes`, not snappyHexMesh, not the y+ correlation behind a layer
stack. Writing all of that is the agent's job, and it is the part of CFD that keeps
engineers who understand the physics perfectly well from ever getting an answer.
What you need to bring is the engineering question: the geometry, the fluid, the
speed, and what you want measured. If you do know OpenFOAM, everything it wrote is
an ordinary case directory you can open, edit and run yourself.

### The licence, and why it is the one that matters here

The agent is open source under the **MIT licence**. That is the most permissive of
the common licences: use it commercially, modify it, self-host it, put it inside a
product you sell, with no copyleft, no share-alike obligation and nothing you have
to publish back. Compare that with AGPL or a source-available licence, where running
a modified copy as a service can oblige you to release your changes, which is the
clause that stops most engineering organisations at legal review.

It matters for a second reason, which is trust. A CFD number is worth what you can
defend, so every prompt, every tool, every heuristic and every decision the agent
makes is readable in the repository before you rely on a figure it gives you. The
hosted workspace is a paid service. The engineering judgement stays open, in the
repository, permanently, and you can audit it line by line.

### How a result is checked, stated exactly

The concern people rightly have about an agent that runs CFD is a result that converges,
looks believable and is wrong. Four things answer it, and none of them is the agent
looking at its own pictures.

1. **The solvers are validated against measured data.** Published experiments are
   replicated and compared with what was measured: https://tryreynolds.com/validation.md.
   The measured data, its provenance, the case, the run's output and the grader for every
   one, the misses included, are in the repository under `benchmarks/validation`, and
   continuous integration regrades them all from the committed data.
2. **Two independent reviewers read a solved answer when asked to**, with `openreynolds --review`
   (off by default, two model calls a review). Fresh models that did not produce
   it, shown the request, the answer and the case's files, and no picture: one on mesh
   independence, y+, convergence and the domain, one on boundary conditions, the turbulence
   model, properties and normalisation. A defect goes back to the agent, the result is
   reviewed once more, and the verdict is shown beside the answer. Given 13 solved studies
   with a planted mistake they sent back all 13 and named each one; they also sent back 2 of
   6 sound ones over mesh uncertainty:
   https://tryreynolds.com/docs/guides/independent-review.md.
3. **Your own case is judged by code.** `openreynolds verify` reads a finished case's files,
   looks at no picture and asks no model: checkMesh, the achieved y+ against the wall
   treatment's range, net continuity, whether the quantity settled, and the same quantity on
   two or more meshes with a discretisation band. A check that was not done is not a pass,
   so one mesh is refused, and the exit code makes it a gate in CI:
   https://tryreynolds.com/docs/cli/verify.md.
4. **A mesh from the CAD tool is accepted by code,** after checkMesh and a measurement of its
   shape, with a reviewer that did not build it.

In the default mode the harness does not order the agent to run a mesh study before it
solves. Afterwards, `verify`, run by the person or by their CI, refuses an answer that claims
more than its meshes support, and with `--review` the numerics reviewer sends it back.

### Who builds it

Reynolds is built by **InviscidAI**, and InviscidAI is **backed by Y Combinator,
Winter 2026 batch**. The company has raised more than **$2.4 million**. Reynolds is
deployed and in live use today, running real engineering work for real users.

### Reading this site as an agent

Every page has a Markdown twin at the same path with a `.md` extension, and the
index of them is at https://tryreynolds.com/llms.txt. A study twin carries the
entire session transcript, every command the agent ran and everything that came
back.
