---
title: "The drop was right all along. The unit was the thing to get right."
url: "https://tryreynolds.com/studies/packed-bed-pressure-drop"
description: "A packed bed as a momentum sink, solved on four meshes. It lands 0.82% from the closed form, and on the way it took an explanation this repository had been repeating and measured it to be wrong."
study_id: "20261122-101213-bbd1"
---

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

Applied study Porous media · Run 20 · November 2026

# The drop was right all along. The unit was the thing to get right.

A packed bed as a momentum sink, solved on four meshes. It lands 0.82% from the closed form, and on the way it took an explanation this repository had been repeating and measured it to be wrong.

![Pressure flat along a duct, dropping linearly through a shaded porous slab, and flat again downstream, drawn for three meshes](https://tryreynolds.com/assets/porous-pressure-duct-9lNQRlzX.png)

Figure 1 The run’s own figure, and it settles the unit question by construction: the left axis is gauge pressure in pascals and the right is the solved p/rho in m2/s2, the same curve read two ways. Pressure is flat upstream, falls linearly through the shaded slab, and is flat at zero downstream. The three meshes separate only in how high the upstream plateau sits, which is the whole finding: refining the mesh raises it toward the closed form. The zoom on the right shows why, with each curve rounding over at the slab’s two faces instead of turning a corner, smeared across about one cell. One thing to read carefully: these are 20, 40 and 80 cells per channel height, and the reported answer is the 160 mesh, which is not drawn here. It continues the same trend, landing at 499.2 Pa.

- **solved drop against the sink integrated across the slab**: -0.82%
- **the same number as 414.6 m2/s2, converted once by rho**: 499.2 Pa
- **the duct friction that was supposed to explain the gap**: 0.04%
- **pressure gradient inside the slab against the sink**: -0.013%

The run · 20261122-101213-bbd1

- **Asked**: “Solve flow through a packed-bed slab as a Darcy-Forchheimer momentum sink and measure the pressure drop. Be careful with units: porousSimpleFoam is incompressible and solves p/rho in m2/s2, so convert by rho before comparing against a drop in pascals.”
- **Run**: porousSimpleFoam, steady, kEpsilon · four meshes, 2,200 to 140,820 cells · all four converged to 1e-04 with no plateau
- **Result**: 414.6 m2/s2, which is 499.2 Pa, against a closed-form 503.34 Pa: -0.82%
- **Finest mesh**: 414.6 m2/s2 = 499.2 Pa against 418.06 m2/s2 = 503.34 Pa, -0.82%
- **Inside the slab**: the pressure gradient matches the sink to -0.013%
- **The duct's own wall friction**: 0.15 m2/s2, 0.04% of the drop: it does not explain the gap
- **Richardson extrapolation**: 420.6 m2/s2 = 506.4 Pa, +0.6% of the closed form

01 · The unit

## Two numbers that look 17% apart and are the same number

A packed bed is not meshed pore by pore. It is represented as a region that takes momentum out of the flow at a rate the Darcy-Forchheimer coefficients set, and the drop across it follows from integrating that sink along the slab. For this case that integral is 503.34 Pa.

The solved field reads about 418. That looks like a 17% error and it is not an error at all, because porousSimpleFoam is incompressible and solves p/rho, in m2/s2. Multiplying by the density of air, 1.204, turns 418.06 m2/s2 into 503.34 Pa: the same drop, written in the unit the solver actually reports. The run did that conversion once, said so, and put both units on its own figure.

On the finest mesh it measured 414.6 m2/s2, which is 499.2 Pa, so -0.82% from the closed form. Inside the slab the pressure gradient matches the sink to -0.013%, which says the solver is applying the coefficients that were written.

02 · Measuring the explanation

## Measuring the explanation instead of repeating it

There was already an explanation in circulation for why the inlet-to-outlet drop reads a little low: the slab sits in a duct, so the measurement also carries the duct's own wall friction and the development length ahead of the slab. It sounds right, and nobody had measured it.

This run measured it. The clear-duct friction between the two patches is about 0.15 m2/s2, which is 0.04% of the drop. It cannot account for a gap of several percent, so the explanation was wrong.

What it found instead is visible in the figure: the pressure step at the slab's two faces is smeared over roughly one cell, so the drop read between the patches comes out low, and that error falls at first order as the mesh is refined. The numbers follow that shape exactly, -2.5% at 80 cells across the height and -0.82% at 160, with a Richardson extrapolation of the three finest meshes landing at +0.6% of the closed form. That puts the true discretisation error at the reported mesh at about 1%.

The consequence is practical rather than rhetorical. If the old explanation were right, a wider duct or a shorter one would tighten the number. It would not. Refining the mesh is what tightens it.

> The clear-duct friction between inlet and outlet is only about 0.15 m2/s2 (0.04%), so it does not explain the gap.

03 · What the coefficients are

## What the coefficients are, and are not

The Darcy and Forchheimer coefficients are d = 1.168e+08 per square metre and f = 13,182 per metre, and they come from the template's default Ergun curve for 3 mm spheres at a void fraction of 0.38. The run named that as the one assumption a reader would most likely want to replace, because it is the only part of the case that is not exact by construction.

That matters for reading the result correctly. What is graded here is that the solver applies the sink it was given, on the mesh that was built, and reports it in a unit that converts cleanly to the closed form. Whether Ergun's correlation describes any particular bed of spheres is a different question, and this run does not answer it.

Two limits it stated rather than left implicit: it kept the template's kEpsilon model at a duct Reynolds number of about 6,600 without testing laminar against turbulent, and the steady solve is appropriate here only because the slab flattens the flow and nothing sheds.

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.

- Pressure drop across the slab: 0.82% low, first order in the mesh. 499.2 Pa (414.6 m2/s2) vs 503.34 Pa, the sink integrated across the slab. Exact by construction: dp = (mu d U + 0.5 rho f U^2) L, OpenFOAM's own momentum sink integrated along the slab.

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.

- **Is the drop converted or raw (pass)**: converted once by rho = 1.204; both units carried on the figure's two axes
- **Does the solver apply the coefficients written (pass)**: the gradient inside the slab matches the sink to -0.013%
- **The duct-friction explanation, measured rather than assumed (note)**: 0.15 m2/s2, 0.04% of the drop: it does not explain a gap of several percent
- **What does explain it (pass)**: the face pressure step smeared over about one cell: -2.5% at 80 cells, -0.82% at 160
- **Convergence (pass)**: all four runs met 1e-04 with no residual plateau
- **The Ergun coefficients themselves (open)**: the template's default for 3 mm spheres at void fraction 0.38, not a measurement of any real bed
- **Laminar against turbulent (open)**: not tested; kEpsilon kept at a duct Reynolds number of about 6,600

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

porousSimpleFoam, steady, kEpsilon · four meshes, 2,200 to 140,820 cells · all four converged to 1e-04 with no plateau · run 20261122-101213-bbd1.

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