Presets
Playback
Source
Click anywhere on the sea to restart with the uplift centred there.
Ocean
Layers
Model checks
The science
Long waves in a shallow sea
A tsunami wavelength (tens to hundreds of km) is far longer than the ocean is deep, so the water moves as one column and the linear shallow-water equations apply: ∂η/∂t = −∇·(h u), ∂u/∂t = −g ∇η. Waves then travel at c = √(g h) - about 200 m/s (700 km/h) over 4 km of water, only 30 m/s over a 100 m shelf. The solver is a staggered-grid, flux-form scheme, so the total water volume is conserved to rounding error.
Shoaling. As the wave slows over shallower water its energy flux stays nearly constant, so its height grows as A ∝ h−1/4 (Green's law): going from 4000 m to 100 m multiplies the height by about 2.5 before any run-up. The right graph shows the largest height reached along the coast; the left graph shows three virtual tide gauges (deep, shelf edge, near shore).
The initial uplift splits into two waves moving apart, a wide and a narrow one, depending on source radius; a source wider than the water depth keeps its shape, while a narrow one disperses in reality.
Honest simplifications: the equations are linear (no steep fronts or breaking), there is no wetting and drying so the shoreline is a wall (no real run-up inland), no friction, no Earth curvature or rotation, no dispersion, and the bathymetry is an idealised smooth shelf. It shows the physics of travel time and shoaling, not a hazard forecast. The 3D page adds a nonlinear solver with flooding.
What to try
- Run the default and read the gauge graph: the wave arrives at the shelf-edge gauge long after it passed the deep one, and with a larger height.
- Make the shelf shallower (30 m) and compare the coastal amplitudes: shoaling grows.
- Click near the coast to see how short travel times leave no warning.
- Narrow the source radius: the leading wave becomes shorter and its peak lower in the far field.