M.I.L.O. / SYSTEMS

MATHEMATICS

MADE PHYSICAL.

A wave approaches shore. The water gets shallower, and the wave changes. Here you can change the conditions yourself and follow the mathematics behind what you see. Start with a wave.

LESSON / THE WAVE

From deep water
to the sand.

Follow a wave as the water gets shallower. Its motion changes, and the model has to change with it.Scroll to follow the wave. Drag a number to see what changes.

MODEL · AIRY THEORY OFFSHORE, ANALYTIC · NONLINEAR SHALLOW WATER FROM THE SEAM, COMPUTED · ONE PROFILE, REPEATED ALONGSHORE · VERTICAL ×6

THE MODEL

Both models share a clock.

Offshore: Airy linear theory, evaluated analytically at every point, with energy-flux shoaling and a second-order Stokes shape. From the seam: the nonlinear shallow-water equations, integrated with a shock-capturing finite-volume scheme on a one-metre grid, blended in through a relaxation zone. McCowan's breaking index sets the seam's position.

THE LIMITS

What the model leaves out.

The shallow-water operator has no dispersion, so it breaks the wave later than the sea would, and it has no roller, so the bore is sharper than a real one. Spray is a particle effect. The alongshore direction repeats one computed profile. Vertical scale is exaggerated six times unless you switch it off.

NEXT

Now let’s track light.

Water waves and light can both be described using wavelength, frequency, and interference. What carries the wave is different. Follow light from its source to an observer in a schematic study, and change the settings to see how its path and the resulting image respond.

EXPLORE LIGHT EXPLORE THE TOOLS MILO HOME

Deep water

Linear wave theory. Water particles move in small closed orbits; only the wave shape travels. Wavelength, crest speed and energy speed follow from the period through the dispersion relation.

The shelf

Linear shoaling raises the wave height as depth falls; a second-order Stokes term sharpens the crests. The period is conserved. The Ursell number reports when the shallow-water balance takes over.

The break

The nonlinear shallow-water solver forms a bore where the crest outruns its base. The energy lost across the bore equals a hydraulic jump's loss. The Iribarren number classifies the breaker.

The swash

The same solver carries a thin sheet up the beach with bed friction and a moving shoreline. Modelled runup is shown beside Hunt's empirical rule.