shallowwater

Shallow Water Equations in Python

MIT License

Stars
41
Committers
2

shallowwater

Shallow Water Equations in Python

Barotropic Vorticity

A spectral code for solving the Barotropic vorticity equation

D/Dt[] = 0

where = + f. is local vorticity u and f = f0 + y is global rotation using the beta-plane approximation.

Wrsch & Craig

A one-dimensional shallow water model with simple convection parameterisation. This is based on the data assimilation model published by Wrsch & Craig in [wursch2014]

Linear 2D

A finite difference solver of the linearised shallow water equations in a rotating frame.

  1. /t[u] - fv = -g /x[h]
  2. /t[v] + fu = -g /y[h]
  3. /t[h] + H(/x[u] + /y[v]) = 0

Currently implemented with periodic boundary condition in the x-direction, and /y = 0 on top and bottom boundaries.