Wave shoaling

Surfing on shoaling and breaking waves.
The phase velocity cp (blue) and group velocity cg (red) as a function of water depth h for surface gravity waves of constant frequency, according to Airy wave theory.
Quantities have been made dimensionless using the gravitational acceleration g and period T, with the deep-water wavelength given by L0 = gT2/(2π) and the deep-water phase speed c0 = L0/T. The grey line corresponds with the shallow-water limit cp =cg = √(gh).
The phase speed – and thus also the wavelength L = cpT – decreases monotonically with decreasing depth. However, the group velocity first increases by 20% with respect to its deep-water value (of cg = ⁠1/2⁠c0 = gT/(4π)) before decreasing in shallower depths.

In fluid dynamics, wave shoaling is the effect by which surface waves, entering shallower water, increase in wave height. It is caused by the fact that the group velocity, which is also the wave-energy transport velocity, decreases with water depth. Under stationary conditions, a decrease in transport speed must be compensated by an increase in energy density in order to maintain a constant energy flux. Shoaling waves will also exhibit a reduction in wavelength while the frequency remains constant.

In other words, as the waves approach the shore and the water gets shallower, the waves get taller, slow down, and get closer together.

Particularly in a waterbody shallow enough for its surface to be affected by its bottom and where depth contours parallel the shore, a wave packet that does dissipate its energy by breaking will rise in height as it enters yet shallower water. This is plainly evident for tsunamis as they wax in height when approaching a coastline, often with devastating results.