🌊 Tsunami Runup Simulator

A real 1D shallow-water wave solver (c = √gh, leapfrog scheme) running a subduction-zone tsunami from seafloor rupture to the coast. Watch the wave slow, shoal and amplify β€” Green's law emerges naturally β€” then measure arrival time, wave height at the shore and runup.

ELAPSED 0 min β€”
Earthquake Moment MagnitudeM 8.6
Ocean Depth (deep)3500 m
Source β†’ Coast Distance300 km
Beach Slope1:100
Simulation SpeedΓ—180
SOURCE WAVE HEIGHT
β€”
ARRIVAL TIME
β€”
MAX SHORE WAVE HEIGHT
β€”
RUNUP / INUNDATION
β€”
πŸ”¬ Modelling notes (real physics used)

Linearised shallow-water equations βˆ‚u/βˆ‚t = βˆ’gΒ·βˆ‚Ξ·/βˆ‚x and βˆ‚Ξ·/βˆ‚t = βˆ’βˆ‚(hu)/βˆ‚x, solved by leapfrog with a CFL-stable timestep. Long-wave speed c = √(gh) automatically slows the wave from ~200 m/s in the deep ocean to ~15 m/s at the shore, and shoaling amplification follows Green's law H ∝ h^(βˆ’1/4) without being hard-coded. Source: static seafloor displacement ~ 0.3Β·10^(0.5(Mβˆ’8)) m, the standard giant-earthquake scaling. Runup = shore height Γ— slope factor (1.2 gentle / 1.6 typical / 2.2 steep).