Shallow water equations
We consider a form of the shallow water equations given by
where
-
Load the interactive shallow water equations model.
-
Click to initiate a wave at a point on the surface, which will reflect off of the boundaries.
A linearised version of this model underlies the Visual Story Ripples on a Pond.
The World Turning
The simulation above sets
-
We first consider an initial condition of a sharp gradient in wave height
in this dam breaking model. Initially we have set , but if you instead make it larger (e.g. or even ) and restart the simulation with , you can see that this force can stabilize the front of the wave after an initial transient. This is a counter-intuitive result indicating that different parts of the ocean can be deeper than others due to Coriolis forces. -
If we instead set
, and plot the vorticity in colour, we can simulate a model with geostrophically balanced vortices. Clicking will place such a solution on the domain, which has a positive vorticity inside of it, indicating an anti-clockwise rotation. You can press for longer periods of time to make deeper vortices, and rotate the 3D solution around to see how these look like underneath the surface.
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 above came out of discussions with Matthew Crowe, who generously provided feedback on constructing this page.
Shear instability
Another thing we can demonstrate with this model is a shear (or Kelvin-Helmholtz) instability. This simulation of a shear instability plots the vorticity of a fluid with a variation in the
This helpfully provided by Mathew Barlow.