Shallow water equations

We consider a form of the shallow water equations given by

\[\begin{aligned} \pd{h}{t} &= - \left( \pd{u}{x} + \pd{v}{y}\right) \left(h+H_{e}\right)-\left( \pd{h}{x} u+ \pd{h}{y} v\right)-\varepsilon h,\\ \pd{u}{t} &= \nu \nabla^2 u -g \pd{h}{x} - k u-u \pd{u}{x}-v \pd{u}{y}+f v,\\ \pd{v}{t} &= \nu \nabla^2 v -g \pd{h}{y} - k v-u \pd{v}{x}-v \pd{v}{y}-f u, \end{aligned}\]

where $h$ is is the water height, $u$ and $v$ are the fluid velocities in $x$ and $y$ directions, and all of the parameters are as described in the article linked above except for $H_e$ replacing the mean height of the surface $H$, and the term involving $\varepsilon$ representing a weak dissipation of the wave height $h$. The terms involving $k$ and $\varepsilon$ lead to dissipation of the waves, and can be understood either as phenomenological drag coefficients, or derived from considering friction at the bottom surface or vertical diffusion of mass and momentum.

A linearised version of this model underlies the Visual Story Ripples on a Pond.

The World Turning

The simulation above sets $f=0$, representing no influence of the fluid from the Coriolis force. This force accounts for inertia due to a rotating frame of reference such as in a spinning wave tank or in the Earth’s oceans. We can get a sense for how this rotation inflences the fluid flow in a few different ways.

1D Solitary Waves

We can also study one-dimensional versions of this model to observe soliton-like traveling waves. This nonlinear solitary wave model can be compared to a linearised solitary wave model, showing qualitatively comparable behaviour but quantitative differences, particularly as the solutions evolve over time.

The simulations on this page came out of discussions with Matthew Crowe, who generously provided feedback on constructing this page.