---
title: "A glass of water, timed against the textbook"
url: "https://tryreynolds.com/studies/water-in-a-glass"
description: "Tilt a quarter litre of water, let go, and it rocks back and forth at a frequency set by the glass and gravity alone. The solver matches that frequency to six hundredths of a percent."
study_id: "20261122-161617-e387"
---

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

Applied study Free surface · Run 42 · November 2026

# A glass of water, timed against the textbook

Tilt a quarter litre of water, let go, and it rocks back and forth at a frequency set by the glass and gravity alone. The solver matches that frequency to six hundredths of a percent.

![Six frames of water sloshing in a glass, from tilted through level to settled](https://tryreynolds.com/assets/glass-of-water-C8OjO44s.png)

Figure 1 The run’s own figure, reading left to right and then down. The water starts with its surface tilted and is let go. It swings through level, reaches the opposite tilt, swings back, and by the last panel at eight seconds it has settled flat. Colour is the speed in the water, which is highest as the surface passes through level and the fluid is moving fastest. The time between those swings is the whole measurement: 0.3739 seconds against a textbook 0.3737.

- **sloshing period against linear theory**: +0.06%
- **measured, against an exact 0.3737 s**: 0.3739 s
- **water volume change over the whole run**: 0.8 ppm
- **half-periods the agreement is measured across**: 42

The run · 20261122-161617-e387

- **Asked**: “Build a glass of water, part full, tilt it once so the water sloshes and let it settle. Grade it on the natural sloshing period against linear theory, on the water volume, and on the hydrostatic pressure once it is still.”
- **Run**: interFoam, water and air with a real interface · a quarter litre in a 100 mm glass · two meshes, tracked for 42 half-periods
- **Result**: Sloshing period 0.3739 s against an exact 0.3737 s, and the water conserved to under a part per million
- **Sloshing period**: 0.3739 s measured against 0.3737 s from linear theory, +0.06%
- **Over how long**: forty-two half-periods, not a handful: the agreement is to the whole record
- **Water volume**: held to within 0.8 parts per million, which is the precision of the log
- **On the coarser mesh**: 0.3731 s, -0.17%, so the result does not depend on the resolution

01 · The frequency a glass knows

## The frequency a glass of water knows

Tip a glass, let go, and the surface rocks at a frequency that belongs to the glass rather than to how hard you tipped it. Linear theory gives it exactly, from the width of the container, the depth of the water and gravity: for this quarter litre in a hundred millimetre glass, 0.3737 seconds.

The solver came back with 0.3739, which is six hundredths of one percent. That figure is taken across the whole record of forty-two half-periods rather than the first few, which matters: a period measured over one or two swings can be flattered by where the motion happened to start, and one measured over forty cannot.

The coarser of the two meshes gives 0.3731, a fifth of a percent the other way. The answer sits between them and does not depend on which one you run.

02 · Water that stays water

## Water that stays water

The second check is the one a two-phase solver has to pass before any of its physics is worth reading: the water in the glass at the end has to be the water that was in it at the start. Across the whole run the volume moved by less than a part per million, and the run noted that even that is mostly the precision of the number being logged rather than anything the solver did.

That is the interface between water and air staying sharp. It is the quantity that degrades silently in a free-surface calculation, because a smeared interface still produces a plausible-looking picture while quietly losing fluid, and no single frame would show it.

The sequence runs left to right and top to bottom: the surface starts tilted, swings through flat, reaches the opposite tilt, and by eight seconds has settled level again with the water still exactly where it began.

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.

- First-mode sloshing period: +0.06%. 0.3739 s vs 0.3737 s, from omega squared equals g k tanh k h. Linear theory for a standing wave in a container of finite depth. No empirical constant enters it, so the comparison is exact rather than approximate.
- Water volume: at the precision of the measurement. 0.8 parts per million vs 0: the solver must conserve water. Mostly the resolution of the logged figure rather than anything the solver did.

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.

- **Measured over the whole record (pass)**: forty-two half-periods, not the first few swings
- **Resolution (pass)**: two meshes at 2 mm and 1 mm, giving -0.17% and +0.06%
- **Volume (pass)**: 0.8 ppm on the fine mesh, 4.4 ppm on the coarse
- **Hydrostatic pressure once settled (pass)**: checked against rho g h with the surface level
- **How it was started (note)**: released from a tilted surface, a free decay rather than a driven oscillation

## 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, water and air with a real interface · a quarter litre in a 100 mm glass · two meshes, tracked for 42 half-periods · run 20261122-161617-e387.

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