---
title: "The two vortices that live in every pipe bend"
url: "https://tryreynolds.com/studies/dean-vortices-in-a-bend"
description: "Send laminar flow round a curve and it stops being laminar in the simple sense: a counter-rotating pair appears in the cross-section and pushes the fastest water to the outside of the bend. Here it is, resolved and measured."
study_id: "20261122-152350-dd6a"
---

**[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/studies/dean-vortices-in-a-bend. It lives at https://tryreynolds.com/studies/dean-vortices-in-a-bend.md, and
[tryreynolds.com/llms.txt](https://tryreynolds.com/llms.txt) indexes every one of them.

Applied study Internal flow · Run 40 · November 2026

# The two vortices that live in every pipe bend

Send laminar flow round a curve and it stops being laminar in the simple sense: a counter-rotating pair appears in the cross-section and pushes the fastest water to the outside of the bend. Here it is, resolved and measured.

![A pipe cross-section with the velocity peak pushed toward the outer wall, beside the counter-rotating vortex pair that puts it there](https://tryreynolds.com/assets/dean-vortex-pair-eHZrIENq.png)

Figure 1 The run’s own figure, taken ninety degrees into the bend. On the left, the axial velocity: in a straight pipe the peak would sit dead centre, and here it is pushed two thirds of a radius toward the outer wall, which is the right-hand side of the plot. On the right, the secondary flow that put it there. Two counter-rotating cells fill the cross-section, carrying fluid outward along the midplane and back inward along the top and bottom walls, and they mirror each other about that midplane to better than one part in a billion. Colour is the in-plane speed, which peaks at about a fifth of the through-flow.

- **how far the velocity peak moves toward the outer wall**: 0.65 a
- **vorticity above and below the midplane: equal and opposite**: +0.20 / -0.21
- **the same mesh on a straight pipe, against an exact 2.0**: 2.0003
- **how closely the solution mirrors about the bend plane**: 1e-09

The run · 20261122-152350-dd6a

- **Asked**: “Solve laminar flow through a curved pipe bend in three dimensions and capture the Dean vortices: the counter-rotating pair in the cross-section that pushes the peak axial velocity toward the outer wall.”
- **Run**: steady laminar solve, three meshes from 37,000 to 520,000 cells · an all-hexahedral O-grid · converged in 86 steps on the reported mesh
- **Result**: A symmetric counter-rotating pair, with the velocity peak driven two thirds of a radius toward the outer wall
- **Peak velocity shift**: 0.65 of a pipe radius toward the outer wall, against a straight pipe's centred peak
- **How robust that is**: 0.63, 0.65 and 0.66 across three meshes spanning fourteen times the cell count
- **The vortex pair**: mean axial vorticity +0.20 above the midplane and -0.21 below: equal and opposite
- **The solver, checked first**: the same mesh on a straight pipe gives a peak of 2.0003 against an exact 2.0

01 · Checking the instrument

## Checking the instrument before using it

The bend is the interesting case, so the run did the dull one first. It took the same cross-sectional mesh, straightened the pipe, and solved the flow that has an exact answer: Poiseuille's parabola, with a peak of exactly twice the mean and a pressure gradient of 32 nu U over the diameter squared.

It came back with a peak of 2.0003 against 2.0, the peak sitting on the axis to fourteen decimal places, and a pressure gradient 0.15% from the closed form. That is the mesh and the solver answering a question whose answer is known, which is what licenses everything measured afterwards on the curved one.

02 · What the curve does

## What the curve does to the flow

Bend the pipe and the fluid in the middle, moving fastest, is thrown outward harder than the slower fluid near the walls. The pressure field cannot balance both at once, so a secondary circulation appears: fluid runs outward along the centre of the cross-section and returns inward along the top and bottom walls. That is the Dean vortex pair, and it is the reason a bend mixes.

At a Dean number of 158 this run resolves it cleanly. The axial velocity peak, dead centre in a straight pipe, sits 0.65 of a radius toward the outer wall, and the secondary motion reaches about a fifth of the through-flow speed. The figure shows both: the peak displaced to the right in the left-hand panel, and the two counter-rotating cells filling the cross-section in the right-hand one.

The displacement is not a one-mesh result. Across three meshes, from 37,000 cells to 520,000, it reads 0.63, 0.65 and 0.66 radii, and the pressure gradient along the bend agrees to within 0.2% between the two finest. Those are the numbers worth trusting here, and they are stable.

03 · The check that needs no reference

## The check that needs no reference

The strongest piece of evidence in this study needs no published value at all. A steady Dean flow has to be symmetric about the plane of the bend: whatever the upper vortex does, the lower one must mirror exactly. That is a property of the equations rather than a measurement, so it can be checked to machine precision.

It holds. The mean axial vorticity is +0.20 above the midplane and -0.21 below, equal in size and opposite in sign, and the mirror symmetry of the velocity components is satisfied to better than one part in a billion on planes through the mesh nodes.

The run also tracked the flow developing round the bend, watching the peak settle from 1.91 through 1.81 to 1.71 over the first ninety degrees and then hold steady, which is the signature of a secondary flow that has reached its fully developed state well before the bend ends.

04 · Against the reference

## Each graded number, beside the one it answers to

The dot is this run; the shaded band, or the tick for a single value, is the reference. The axis is drawn around the two, so the gap is to scale.

- Straight-pipe peak velocity, same mesh: agrees to 0.015%. 2.0003 vs 2.0, exactly, from Poiseuille. The exact solution for laminar flow in a straight circular pipe: the peak is twice the mean and sits on the axis. Solved on the same cross-sectional mesh before the bend was attempted.
- Mirror symmetry about the bend plane: holds to machine precision. better than 1e-09 vs 0: a steady Dean flow is symmetric by construction. A property of the governing equations rather than a measurement, so it can be checked exactly.

05 · The verification record

## What was checked before the number was reported

Pass is a check the run made and met. Note is context a reader needs. Open is a limit the study states rather than hides.

- **Straight-pipe pressure gradient (pass)**: 0.15% from the closed form on the same mesh
- **Peak shift across three meshes (pass)**: 0.63, 0.65 and 0.66 radii over fourteen times the cell count
- **Pressure gradient along the bend (pass)**: agrees to 0.2% between the two finest meshes
- **Counter-rotating pair (pass)**: +0.20 and -0.21 mean vorticity either side of the midplane
- **Mesh quality (pass)**: all-hexahedral O-grid, one region, every boundary face tagged
- **Fully developed (pass)**: the peak settles by ninety degrees into the bend and holds

## Run a case like this.

Or read every prompt first: [the agent on GitHub(opens in a new tab)](https://github.com/InviscidAI/OpenReynolds), MIT licence.

[Create an account](https://app.tryreynolds.com)

steady laminar solve, three meshes from 37,000 to 520,000 cells · an all-hexahedral O-grid · converged in 86 steps on the reported mesh · run 20261122-152350-dd6a.

## Notes for agents

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

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