---
title: "Panel method: lift in about a second, no mesh"
url: "https://tryreynolds.com/docs/solvers/panel-method"
description: "A Hess-Smith panel method for aerofoil sections and a lifting-line solve for wings in numpy: what it answers, what it cannot, its options, the four exact statements it is graded on, and how to read its output."
---

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

Other engines

# Panel method

A Hess-Smith panel method for aerofoil sections and a lifting-line solve for wings in numpy: what it answers, what it cannot, its options, the four exact statements it is graded on, and how to read its output.

`panel.py` gives the lift, moment and pressure distribution of an aerofoil section in about a second, with no mesh and no solver. With `--wing` it adds Prandtl's lifting line for a finite wing. It is inviscid, so it cannot give a drag.

|   |   |
|---|---|
| Method | Constant-strength source panels with one global vortex and a Kutta condition on the trailing-edge pair (Hess-Smith); dense solve in numpy |
| Wing | Lifting line, `modes x modes` solve, for aspect ratio, taper and twist |
| Input | A NACA 4-digit designation, or a coordinate file in Selig or Lednicer layout |
| Runs on | Anywhere numpy does |
| Script | [`panel.py`](https://tryreynolds.com/docs/toolbox/solvers.md) |

## When to choose it

| Choose it for | Use instead |
|---|---|
| Lift, moment and slope on a thin section at small angle | [`simpleFoam`](https://tryreynolds.com/docs/solvers/simplefoam.md) for drag, stall, separation |
| An angle sweep before a mesh exists, or a size for a force | [HiSA](https://tryreynolds.com/docs/solvers/hisa.md) for a transonic section |
| Induced drag of a straight unswept wing | A wing with sweep, a low aspect ratio or interference |

It is fitted to one job. `advise.py` states it cannot answer a drag question: d'Alembert makes the pressure drag of a closed body exactly zero, and the solver reproduces that as its own error.

## Run it yourself

```bash
python3 /work/.toolbox/panel.py --check
python3 /work/.toolbox/panel.py --naca 2412 --alpha 5
python3 /work/.toolbox/panel.py --naca 2412 --sweep -4 10 1
python3 /work/.toolbox/panel.py --naca 0012 --alpha 4 --wing --aspect-ratio 6 --taper 1
python3 /work/.toolbox/panel.py --dat my_section.dat --alpha 3 --png ./figs --json out.json
```

| Option | Meaning |
|---|---|
| `--naca` | A four-digit designation |
| `--dat` | A coordinate file. The layout, Selig or Lednicer, is detected and stated |
| `--check` | Grade the exact statements and stop |
| `--panels` | Panels for `--naca`, 160 by default; a file uses its own points |
| `--alpha`, `--sweep LO HI STEP` | One incidence or a lift curve |
| `--moment-about` | Moment reference, fraction of chord, 0.25 by default |
| `--close-tol` | Trailing-edge gap this will close by hand before refusing the file, 0.01 chord |
| `--wing`, `--aspect-ratio`, `--taper`, `--twist`, `--modes` | The lifting line |
| `--reynolds` | Adds a flat-plate friction figure labelled as one |
| `--json`, `--png` | A sidecar, and a directory for the figures |

What it prints for `--naca 2412 --alpha 5`:

```
# section
  lift slope      6.9121 /rad (0.12064 /deg), 1.100 x 2*pi
  zero-lift alpha -2.118 deg
# incidence (moment about 0.25c)
   alpha        Cl       Cm     Cp_min   Cd_pressure
    +5.00   +0.8571  -0.0612    -1.913    -2.72e-04
  pressure drag should be zero (d'Alembert); largest here 2.72e-04, which is the panel count's error
```

And for the wing above: `Cl 0.3394`, `Cd_induced 0.00637` against an elliptic `0.00611`, span efficiency `0.9589`.

## Ask for it

> Give me the lift curve of a NACA 2412 from -4 to 10 degrees, and the zero-lift angle, in seconds, before we mesh anything.

> Size the reference area for this wing: aspect ratio 6, untwisted, target Cl 0.4. What incidence, and what induced drag?

## What it cannot tell you

Printed with every answer, and carried in the JSON:

- No viscosity: no stall, no separation, no profile drag, no Reynolds number.
- Attached and linear only. A few degrees past the zero-lift angle it and the wind tunnel part company, earlier on a thick or heavily cambered section.
- The wing is lifting line: straight, unswept, moderate to high aspect ratio.

A contour whose ends are further apart than `--close-tol` is refused, with the file, both end points and the gap named, since a truncated file and one read in the wrong layout both look like that.

## Checks

- `--check`: a closed body's pressure drag against zero, a symmetric section's zero-lift angle against zero, a cambered section's against the thin-aerofoil integral, elliptic loading against `Cl^2 / (pi AR)`.
- `Cl` from pressure and from circulation must agree.
- A section at 160 panels is within 0.08% in lift of 1,280 panels.

## Evidence

| Statement | Result |
|---|---|
| Pressure drag, exact zero | 2.2e-4 at 160 panels, falling as the panels double |
| Lift slope | 7.05/rad published inviscid for NACA 0015, and `2 pi (1 + 0.77 t/c)` |
| Span efficiency, square tip | 0.9428 |

[Four exact statements about an aerofoil and a wing](https://tryreynolds.com/studies/aerofoil-and-wing.md) is the published run. `references/thin_aerofoil.py` carries the thin-aerofoil integral and the four-digit camber definition so a run reads them rather than recalling them.

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