---
title: "A correlation checked against its own claim, not against nature"
url: "https://tryreynolds.com/studies/pipe-friction-and-the-wall"
description: "Turbulent pipe friction rests on a fit to measurements from the 1930s. What can be graded exactly is not whether the fit is true, but whether the explicit approximation everyone actually uses reproduces the implicit equation it approximates."
study_id: "20261122-104651-eed7"
---

**[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/pipe-friction-and-the-wall. It lives at https://tryreynolds.com/studies/pipe-friction-and-the-wall.md, and
[tryreynolds.com/llms.txt](https://tryreynolds.com/llms.txt) indexes every one of them.

Applied study Turbulent friction · Run 30 · November 2026

# A correlation checked against its own claim, not against nature

Turbulent pipe friction rests on a fit to measurements from the 1930s. What can be graded exactly is not whether the fit is true, but whether the explicit approximation everyone actually uses reproduces the implicit equation it approximates.

![A Moody chart with the laminar branch, Colebrook curves at several roughnesses, and the transition band left empty](https://tryreynolds.com/assets/pipe-moody-5b_EuuIx.png)

Figure 1 The run’s own figure. On the left, the exact laminar branch, then the shaded strip where neither it nor any turbulent correlation applies, then Colebrook at seven roughnesses with Haaland dotted on top of it. The right panel is the comparison: Haaland minus Colebrook, as a percentage, for each roughness.

- **Haaland against Colebrook, smooth pipe, four decades**: -0.92% to +1.31%
- **worst, at a Reynolds number of 1e+08**: +1.31%
- **how closely the root find satisfies Colebrook's own equation**: double precision
- **the transition band the figure leaves empty on purpose**: 2,300 to 4,000

The run · 20261122-104651-eed7

- **Asked**: “Compute turbulent pipe friction: verify Colebrook satisfies its own implicit form, compare the Haaland explicit fit against it across four decades, and find where the sublayer and the log law cross.”
- **Run**: pipe_friction.py, closed forms and a root find · four decades of Reynolds number, seven roughnesses · seconds of one core
- **Result**: Haaland within 1.31% of Colebrook on a smooth pipe, which is Haaland's own claim measured
- **Colebrook against itself**: its own implicit equation satisfied to the limit of double precision
- **Haaland, smooth pipe**: running from -0.92% to +1.31% across four decades of Reynolds number
- **Worst case**: +1.31% at a Reynolds number of 1e+08, the far end of the sweep
- **What is not graded**: whether either curve describes a real pipe; both are fits to Nikuradse's measurements

01 · What can be graded

## What can be graded here and what cannot

Turbulent friction in a pipe has no exact theory. The Colebrook equation is a fit to measurements made in the 1930s, and it is implicit: the friction factor appears on both sides, so it has to be solved for rather than evaluated. Haaland's formula is the explicit approximation that most code actually uses, because it can be evaluated directly.

Neither can be graded against nature here, and the run was explicit about that. What can be graded is internal: whether a root find actually satisfies Colebrook's equation, and whether Haaland reproduces Colebrook to the accuracy Haaland claimed. The first came out at the limit of double precision. The second runs from -0.92% to +1.31% on a smooth pipe across four decades, worst at the top end.

That is Haaland's own stated accuracy, measured rather than repeated, which is the only honest form of that claim.

02 · The band with nothing in it

## The band with nothing in it

The figure marks a shaded strip between roughly Reynolds 2,300 and 4,000 and labels it as carrying no correlation at all. That is the transition, where flow is neither reliably laminar nor reliably turbulent, and where both the exact laminar branch and the turbulent fits are simply inapplicable.

Drawing that band rather than interpolating across it is the point. A Moody chart with a continuous line through the transition invites a reader to take a number from a region where nobody has one, and the laminar branch either side of it is exact while everything to the right of it is a fit. Those are different kinds of line and the figure keeps them apart.

Separately, the run located where the viscous sublayer and the log law cross in wall units, which is the number that decides whether the first cell of a mesh sits where a wall model assumes it does. That crossing is a property of the two curves, not a measurement, so it is exact.

03 · 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.

- Haaland against Colebrook, smooth pipe: the claim holds, measured. -0.92% to +1.31% vs Haaland's own claimed accuracy. Both are fits to Nikuradse's 1930s measurements. Neither is graded against nature here, and the figure's deviation panel covers all roughnesses, where the spread is wider than the smooth-pipe band quoted.

04 · 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.

- **Colebrook satisfies its own implicit form (pass)**: to the limit of double precision
- **Is the fit itself being validated (open)**: no, and it cannot be here: it is a correlation with scatter
- **The transition band (note)**: drawn empty between about Reynolds 2,300 and 4,000, because no correlation applies there
- **Sublayer and log law crossing (pass)**: located in wall units; a property of the two curves, so exact

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

pipe_friction.py, closed forms and a root find · four decades of Reynolds number, seven roughnesses · seconds of one core · run 20261122-104651-eed7.

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