---
title: "Water and air, with a real interface, conserving to a millionth"
url: "https://tryreynolds.com/studies/dam-break-two-phase"
description: "A column of water released against a dry floor, with both phases resolved and a real interface between them. Graded on the thing a two-phase solver has to get right: the water it starts with is the water it ends with."
study_id: "20261122-142104-b7fe"
---

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

Applied study Free surface · Run 37 · November 2026

# Water and air, with a real interface, conserving to a millionth

A column of water released against a dry floor, with both phases resolved and a real interface between them. Graded on the thing a two-phase solver has to get right: the water it starts with is the water it ends with.

![Four stages of a collapsing water column, the surface coloured by pressure](https://tryreynolds.com/assets/dambreak-surface-DOj8jDOF.png)

Figure 1 The run’s own figure: the water surface at four times, coloured by pressure. The column falls, the surge runs along the floor and by half a second it is climbing the far wall, which is where the volume starts leaving through the open lid and why the raw conservation figure looks worse than the solver is. The vertical scale is stretched eightfold and the title says so: the tank is one cell thick, so without the stretch there would be nothing to see.

- **volume drift once the water that leaves is accounted for**: -1.5e-06
- **drift before any water reaches the open lid**: 2.4e-07
- **the raw figure, which is physical outflow and not a solver error**: 2.31%
- **the missing scheme that stopped this template running at all**: one line

The run · 20261122-142104-b7fe

- **Asked**: “Solve a two-phase dam break and grade it on the two things that are exact: the water volume the solver must conserve, and the hydrostatic pressure at the base of the column before release.”
- **Run**: interFoam, transient, two phases · 3,600 cells on the reported mesh · run to 1 s with a coarser control
- **Result**: Water volume conserved to under a ten-millionth, with every drop that leaves accounted for
- **Why it had never run**: the compression-flux scheme was written under the other OpenFOAM naming, so the solver stopped at the first step
- **Volume, raw**: 2.31% down after one second, which is physical: the surge reaches the open lid and water leaves
- **Volume, accounted**: -1.5e-06 once the outflow is added back, and under 2.4e-07 before any water reaches the top
- **The hydrostatic check**: graded on a separately filled tank, because the released column is not hydrostatic at all

01 · One missing line

## One missing line

The physics page said of this template that nothing had solved it. That was true, and the reason was not that nobody had tried. The case it wrote could not start.

`interFoam` looks up a scheme for the interface-compression flux. That term is called `div(phirb,alpha)` in the OpenFOAM line this workspace runs, and `div(phir,alpha,alpha)` in the other. The template supplied a pattern for the second name only, so the lookup found nothing and the solver stopped on its first step. Every attempt would have died identically.

This run hit exactly that, added the entry by hand, and went on to solve the case. The template has since been fixed so it ships able to run.

02 · A conservation check taken apart

## A conservation check that had to be taken apart first

The obvious grade on a two-phase solve is whether it conserves water, and the obvious reading of this one is that it does not: the volume falls by 2.31% in the first second. The run did not stop there. It worked out where the water went, and the answer is that it leaves. The surge climbs the far wall and reaches the open lid, and the amount that crosses that boundary accounts for the loss.

Adding it back gives a drift of -1.5e-06. Before any water reaches the top, around the first four tenths of a second, the drift is under 2.4e-07. The run also noted the limit of its own check: the outflow bookkeeping uses the solver's own flux, so about a millionth is the resolution of the measurement, not an error bar on the solver.

The hydrostatic check needed the same treatment. The released column reads about a third of rho g h at its base, which looks like a bad failure and is not one: a column with a free face against air is not in hydrostatic balance from the first instant, so the quantity being compared does not exist in that case. The run filled the same tank across its full width instead and graded that.

> That is physical, not numerical. The surge climbs the far wall and reaches the open lid.

03 · What it refused to grade

## What it printed and refused to grade

The surge front position is the number this case is usually quoted for, and it is printed here and deliberately not graded. The reference is Martin and Moyce (1952), which could not be obtained, and two non-dimensionalisations of it are in circulation that differ by a factor of 1.414 at every point. Any agreement would depend on which one was picked, which makes it a choice rather than a measurement.

The run also reported a second template problem on its way through: the mesh came out as triangular prisms rather than the hexahedra the template documents, and it added a recombination setting to get them. That is the second independent report of the same symptom in one day, the other coming from the thermal stress template, which makes it worth treating as real rather than incidental.

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.

- Water volume conservation: at the resolution of the measurement. -1.5e-06 accounted, under 2.4e-07 before outflow vs 0: the solver must conserve water. The outflow bookkeeping uses the solver's own flux, so about a millionth is the limit of the check rather than an error bar on the solver.

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.

- **Why nothing had solved it (note)**: the compression-flux scheme was named for the other OpenFOAM line, so the solver stopped at step one
- **Where the missing 2.31% went (pass)**: out of the open lid, measured rather than assumed
- **Hydrostatic pressure in the released column (note)**: about a third of rho g h, because a column with a free face is not in balance; graded on a filled tank instead
- **Surge front against Martin and Moyce (open)**: printed, not graded: the paper could not be obtained and two conventions differ by 1.414
- **Mesh element type (note)**: came out as prisms rather than the documented hexahedra; second report of this in one day

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

interFoam, transient, two phases · 3,600 cells on the reported mesh · run to 1 s with a coarser control · run 20261122-142104-b7fe.

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