---
title: "A wave climbing a beach, and the law that says how far"
url: "https://tryreynolds.com/studies/wave-runup-on-a-beach"
description: "Water running up a sloping shore is the kind of problem a free-surface solver exists for, and it has a classical answer. Here is the wave, the climb, and the number it is held to."
study_id: "20261122-160454-72cb"
---

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

Applied study Free surface · Run 41 · November 2026

# A wave climbing a beach, and the law that says how far

Water running up a sloping shore is the kind of problem a free-surface solver exists for, and it has a classical answer. Here is the wave, the climb, and the number it is held to.

![A solitary wave running up a plane sloping beach, the water surface coloured by speed](https://tryreynolds.com/assets/beach-runup-Dq8Hg6cX.png)

Figure 1 The run’s own figure, two and a half seconds in, at the moment the wave is climbing. Deep water is at the left, the beach rises to the right at one in four, and the water surface is coloured by its speed: slow and dark offshore, faster and greener in the tongue running up the slope. This is the instant just before the measured maximum, after which the shoreline draws back down past where it started. The beach is solved in a plane and extruded for the view, which the run notes in its own title.

- **measured maximum runup, against 63.7 mm from the law**: 56.2 mm
- **water volume drift across the whole run**: 1.5e-06
- **wave height to depth, against a breaking limit of 0.175**: 0.10
- **how far below still water the shoreline draws back**: 25 mm

The run · 20261122-160454-72cb

- **Asked**: “Build a plane sloping beach, send a single long wave at it so it shoals, runs up the slope and draws back, and measure the maximum runup against the classical law.”
- **Run**: interFoam, water and air with a real interface · a plane 1 in 4 beach · a solitary wave tracked for four seconds
- **Result**: Runup measured at 56 mm against a classical 64 mm, with the water volume held to a millionth
- **Maximum runup**: 56.2 mm, reached 2.53 s in, against 63.7 mm from the Synolakis law
- **Water volume**: held to within 1.5e-06 of itself across the whole run
- **The regime, checked first**: the wave had to stay unbroken, and at H/h 0.10 it sits well inside the 0.175 limit for this slope
- **The drawdown**: the shoreline falls 25 mm below still water after the peak, then recovers

01 · A problem with a closed-form answer

## A problem with a closed-form answer

Runup is the question a coastal engineer actually asks: not how big the wave is offshore, but how far up the land it reaches. For a solitary wave on a plane beach that has a classical answer, Synolakis' law, which ties the runup to the beach slope and the wave height through a power law.

This run measured 56.2 mm, give or take about a millimetre, against 63.7 mm from the law. The wave shoals as the water shallows, steepens, runs up the slope, and draws back down past its starting point, which the figure catches mid-climb.

The law only applies to a wave that has not broken, so the run checked that before using it rather than afterwards: the breaking limit for this slope is a height-to-depth ratio of 0.175, and the wave was built at 0.10. It stayed inside the regime, and nothing was adjusted to make the comparison flatter.

02 · The check that needs nobody's paper

## The check that needs nobody's paper

Alongside the published law sits the check a two-phase solver can never argue with: the water it starts with is the water it ends with. Across the whole four seconds, through the shoaling, the runup and the drawdown, the volume held to within 1.5e-06 of itself.

That matters more than it sounds for a free-surface calculation. The interface between water and air is the hardest thing in the solve to keep sharp, and a scheme that smears it loses water quietly, in a way no single snapshot would reveal. A millionth over a violent runup is the interface staying where it belongs.

The runup itself was measured rather than eyeballed: a hundred and twenty probes sit three millimetres above the bed, five millimetres apart up the slope, and the runup is the highest one that was ever wet.

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.

- Maximum runup: within 12% of the law. 56.2 mm vs 63.7 mm, Synolakis runup law. Synolakis (1987) for a non-breaking solitary wave on a plane beach. The run kept the wave inside the law's stated regime rather than tuning it to fit.
- Water volume conservation: held through the whole event. 1.5e-06 vs 0: the solver must conserve water. Checked across shoaling, runup and drawdown, which is where a smeared interface would lose water quietly.

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.

- **Is the wave inside the law's regime (pass)**: yes: H/h 0.10 against a breaking limit of 0.175, checked before comparing
- **Water volume (pass)**: drift within 1.5e-06 over the whole run
- **Hydrostatic pressure before the wave arrives (pass)**: measured against rho g h with the water at rest
- **Mesh (pass)**: checkMesh passed: 14 degrees maximum non-orthogonality, 0.62 skewness
- **How the runup was measured (pass)**: 120 probes 3 mm above the bed, 5 mm apart: the highest one ever wetted

## 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 plane 1 in 4 beach · a solitary wave tracked for four seconds · run 20261122-160454-72cb.

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