---
title: "Tutorial: Schafer-Turek 2D-1 cylinder in a channel with Felix"
url: "https://tryreynolds.com/docs/tutorials/felix-cylinder"
description: "Compute drag and lift on a cylinder in a channel with the Felix GPU solver against the Schafer-Turek benchmark, and see why drag passes while lift is reported without a verdict."
---

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

GPU and live

# Cylinder drag in a channel with Felix

Compute drag and lift on a cylinder in a channel with the Felix GPU solver against the Schafer-Turek benchmark, and see why drag passes while lift is reported without a verdict.

The Schafer and Turek benchmark 2D-1 is a cylinder in a channel at a Reynolds number of 20, and its domain, inflow and blockage are part of its definition. You will ask for the drag, and learn why the lift of the same solve is not graded.

**You will learn** to choose a benchmark whose answer does not depend on free choices, to read a small-difference quantity honestly, and to check a force history settled.

**You need** a hosted study, or a laptop with `pyvista` to grade the recorded run.

## The physics

A channel 2.2 m long and 0.41 m high, cylinder of diameter 0.1 m at (0.2, 0.2), parabolic inflow with peak 0.3 m/s, `nu = 1e-3 m2/s`. The Reynolds number is 20 on the **mean** inflow speed of 0.2 m/s and the diameter, so the flow is steady. The references are a drag coefficient of 5.5795, with an interval of 5.57 to 5.59, and a lift coefficient of 0.0104 to 0.0110.

Drag and lift are not on the same footing. The lift here comes from a 5 mm offset of the cylinder from the channel midline; it is a small difference of two large pressure integrals.

## Steps

### Ask

```bash
openreynolds --solver felix -p "$(cat benchmarks/felix/cylinder_re20.txt)"
```

### Grade

```bash
python benchmarks/felix/grade.py cylinder tests/data/felix/cylinder_2d1
```

Run here:

```
cylinder: tests/data/felix/cylinder_2d1/output/solution.vtu
  PASS  drag coefficient: 5.52164 (reference 5.5795)  -- -1.04% of 5.5795; outside Schafer-Turek's interval 5.57-5.59
  PASS  Reynolds number: 19.9993 (reference 20)
  PASS  inflow peak Um: 0.29999 (reference 0.3)
  PASS  cylinder diameter: 0.1 (reference 0.1)
  note: Cl 0.00104 (Schafer-Turek 0.0104-0.011; reported, not graded: it is a small difference of large pressure forces and needs a far finer mesh than Cd)
  note: Fx moved by 5.67e-09 (relative) over the last 11 of 110 rows
  note: Cd = 2 Fx / (Umean^2 D depth) with Umean = 2/3 Um = 0.199993, D = 0.1, depth = 0.02 (rho = 1)
PASSED
```

## Read the result

The drag coefficient is 1.04% low. That is **inside** the 2% bound the repository grades against and **outside** the published interval of 5.57 to 5.59. Both are true and the result says both.

The lift of 0.0010 against 0.0104 to 0.0110 is an order of magnitude out, and is reported rather than graded. The recorded mesh of 6,765 hexes, one layer thick with a cylinder edge of 0.004, resolves the drag and not the difference of pressures that makes the lift. A finer mesh of 29,000 hexes stalled its linear solver at 25 s per step and was stopped, so the coarse result is the one on record.

The grader's depth note matters. The force is for a slab 0.02 m deep, and the coefficient is per unit depth.

## Check it

- **Settled.** The drag moved 5.7e-09 relative over the last eleven rows.
- **The inputs.** The grader reads the inflow peak off the inflow plane and the diameter off the no-slip nodes, so a mesh that shrank the cylinder would fail here.
- **The domain.** This case is blocked by construction, so the domain is right by definition.

## Try next

1. Ask for a refinement of the cylinder edge and watch the lift.
2. Ask for the 2D-2 case at Re 100, where it sheds.
3. Compare the drag with [the live backend's crosscheck case](https://tryreynolds.com/docs/live.md), `crosscheck-2d1`.

## When it goes wrong

### My drag is 20% high

Check the reference speed. It is the **mean** inflow, two thirds of the peak. Using the peak changes the coefficient by a factor of 2.25.

### The solver is not steady

At Re 20 it should be. Look at the record of the residual with `felix_results.py log <case>`.

### The grader needs pyvista

It is in the toolbox extra: `python -m pip install -e ".[toolbox]"`.

## Next

[The live cavity](https://tryreynolds.com/docs/tutorials/live-cavity.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.
