← 🌊 Physics & Mechanics

🌊 Shallow-Water Tsunami

Adaptive mesh (AMR) near coast
Offshore wave speed:
Nearshore wave speed:
Max run-up:
Sim time: 0.0 s
FPS:
Drag — rotate · Scroll — zoom

🌊 Simulating Tsunamis: From Shallow-Water Equations to GPU-Accelerated Inundation Maps

A live shallow-water finite-difference solver: trigger a seafloor displacement and watch the resulting wave cross an open basin, shoal as the seabed shallows, and run up a coastline whose slope you control.

🔬 What It Demonstrates

Wave speed c = √(g·H) falls as depth falls, forcing the wave to slow and stack up (shoal) near shore — the same mechanism that turns a barely-visible open-ocean tsunami into a destructive coastal wave.

🎮 How to Use

Set the seafloor displacement and ocean depth, choose a steep or gradual coastal slope, and trigger the tsunami. Toggle the adaptive-mesh overlay to see why coastal forecasting codes refine resolution only where the seabed changes fastest.

💡 Did You Know?

Operational systems like NOAA's MOST/ComMIT pre-compute thousands of scenarios offline so that, after a real earthquake, a forecast can be assembled by interpolation within minutes rather than by running a fresh simulation from scratch.