---
title: "Post-processing: measuring, figures, animation and documents from a case"
url: "https://tryreynolds.com/docs/guides/post-processing"
description: "From a solved case to a number you can defend: sampling, integrals, flux balances, forces and their reference area, fixed-camera figures, animations, claims stamped into figures, and PDF, LaTeX and Word write-ups."
---

**[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/guides/post-processing. It lives at https://tryreynolds.com/docs/guides/post-processing.md, and
[tryreynolds.com/llms.txt](https://tryreynolds.com/llms.txt) indexes every one of them.

Guides

# Post-processing and reports

From a solved case to a number you can defend: sampling, integrals, flux balances, forces and their reference area, fixed-camera figures, animations, claims stamped into figures, and PDF, LaTeX and Word write-ups.

This guide is the workflow: which script answers which question, in the order they are usually wanted. [Results](https://tryreynolds.com/docs/results.md) has the same material as a tour, and the [measuring](https://tryreynolds.com/docs/toolbox/measuring.md), [figures](https://tryreynolds.com/docs/toolbox/figures.md) and [documents](https://tryreynolds.com/docs/toolbox/documents.md) pages have every option.

## First pass

```bash
python3 /work/.toolbox/explain.py /work/case              # what would make these numbers wrong
python3 /work/.toolbox/results.py /work/case --list       # the presets
python3 /work/.toolbox/results.py /work/case --preset external-flow-2d
python3 /work/.toolbox/log_digest.py log.simpleFoam
```

| Preset | What it draws |
|---|---|
| `duct-flow` | pressure, velocity and its components, streamlines, residuals |
| `external-flow-2d` | the same with vorticity and the force history |
| `transient-wake` | vorticity, velocity, coefficient history |
| `vehicle-aero` | a mesh cut, centreline slices, forces |
| `mesh-validation` | mesh cuts and quality histograms, before a solve |

An output whose inputs are missing is skipped with the reason. Run as many presets as you like; none of them replaces the others.

## Numbers

| Question | Tool |
|---|---|
| Value along a line, at points, on a section | `probe.py` |
| Mean over a region, section mean, flux through a plane | `probe.py --region`, `--section-mean`, `--flux` |
| Flux and pressure per patch, mass balance | `balance.py` |
| Total and static pressure drop, loss coefficient K, friction factor | `balance.py --drop FROM TO --rho ...` |
| Heat rate, Nusselt number, hot spots | `heat.py` |
| y+ the run reached | `wall.py` |
| Separation and reattachment | `reattach.py` |
| Frequency, settling, Strouhal | `spectra.py` |
| Amplitude, lock-in, work per cycle | `viv.py` |
| Discretisation error bar | `grid.py` |
| Wetted or frontal area | `reference_area.py` |

```bash
python3 /work/.toolbox/probe.py /work/case --fields
python3 /work/.toolbox/probe.py /work/case --line 0 -0.05 0 0.05 --field U --out profile.json
python3 /work/.toolbox/probe.py /work/case --section-mean --at-x 0.3 --weighted flux --field p_total
python3 /work/.toolbox/balance.py /work/case --drop inlet outlet --rho 998 --u-ref 1.2
python3 /work/.toolbox/reattach.py /work/case --patch floor --height 0.0127 --plot reattach.png
```

`probe.py` takes `--line X0 Y0 X1 Y1` on the plane `--z` (the mesh mid-plane by default). A point off the mesh returns null.

### Traps that a picture does not show

- **Kinematic pressure.** An incompressible `p` is m2/s2; a drop in pascals is rho times it. `balance.py` reads `p`'s own dimensions and prints the convention; `probe.py` derives `p_total` if the case did not write it.
- **Static or total.** Quoting one as the other is the classic duct error, and the gap is the velocity head. Both are printed.
- **Which area.** A half model with a symmetry plane carries half the body: the force doubles only for components in the plane, and the area has to match. `reference_area.py` reports the factor and its reason. [The submarine hull](https://tryreynolds.com/studies/suboff-submarine-hull.md) is the case that got this wrong by two and was caught by the ITTC-57 line.
- **Which length.** A reattachment length or a Reynolds number carries somebody's convention. Write which length is in each before comparing. [The backward-facing step](https://tryreynolds.com/studies/backward-facing-step.md) is the account of one mistake and two factors of two.

## Pictures

| Register | Script |
|---|---|
| To check: fixed cameras, two runs comparable | `render.py`, `--diff OTHER` for two runs on one colour scale |
| To show: Q isosurface, streamtubes, a lit surface | `showcase.py`, `--scene vortices` |
| A frame per write time | `animate.py`, then `encode.py` |
| A first look at an unrun mesh | `first_look.py` |
| A contact sheet | `gallery.py` |

```bash
python3 /work/.toolbox/render.py /work/case --fields U p vorticity --normal z --contours 8
python3 /work/.toolbox/showcase.py /work/case --scene surface --surface-field wallShearStress
python3 /work/.toolbox/animate.py /work/case --field vorticity --streamlines
python3 /work/.toolbox/encode.py /work/case_frames --format mp4 --fps 24
```

`--diff` refuses two runs whose domains differ, and two meshes of the same domain are differenced by resampling one onto the other. Rendering happens next to the data, through pyvista with OSMesa, so no display is needed. Frames are written as they are drawn and mirrored home, so a partial animation exists before the run ends. `showcase.py` has no soundtrack and will not invent one.

## Claims in figures

A figure and the sentence beside it can drift. `claims.py attach` stamps the number a figure was drawn from into the PNG, `read` prints it, and `check` reports two claims that disagree, and any claim the written answer contradicts or leaves out. It exits non-zero on a disagreement, and it does not guess a unit conversion: a pair in different units prints as not compared.

```bash
python3 /work/.toolbox/claims.py check --root . --answer results.md
```

## Documents

| Deliverable | Script |
|---|---|
| A PDF: cover, figures grouped, methods read out of the dictionaries, what was skipped | `report.py` |
| LaTeX or Word | `export_doc.py results.md --tex report.tex --docx report.docx` |
| A self-contained HTML page of every figure | `gallery.py` |
| A ParaView state, with the same camera and colour limits | `paraview_export.py` |

```bash
python3 /work/.toolbox/report.py /work/case --out study.pdf --hero figures/cp.png
python3 /work/.toolbox/export_doc.py results.md --tex report.tex --docx report.docx
python3 /work/.toolbox/paraview_export.py /work/case
```

`report.py` matches each cover number against the claim in a figure's own bytes: `verified` with the figure named, `disagrees` with both numbers, or `unverified` for a coefficient nobody drew. ParaView is not in the image, so `paraview_export.py` writes a script for your machine. `study_state.py` and `progress_report.py` answer where a study has got to.

## Ask the agent

```
Give me the pressure drop static and total, the loss coefficient on the inlet velocity, and
a mass balance.
```

```
Make the report, and refuse to put a number on the cover that no figure carries.
```

## 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.
