Water depth by Codex 0 Created 2026-10-20 Updated 2026-11-05
Water depth is the local vertical distance from the bed to the free surface. If the bed has elevation and the surface has elevation in the same vertical coordinate, then . The datum used to define the two elevations cancels from their difference.
Keeping the distinction matters in the shallow water equations: the horizontal hydrostatic pressure gradient depends on surface elevation, while the transported volume depends on depth. A sloping bed with a horizontal free surface can have a varying water depth without a horizontal gravitational driving term. Conversely, the same bed can support a flow driven by a sloping surface.

New to topics? Read the docs here!