Shallow Water Equations Simulation

This model solves for the fluid motion and changes in the interface height for a shallow layer of rotating fluid.

The flow and interface vary in time and x only. The equations of motion are


Begin:

To begin, click on to download the main software pieces and start up your matlab process.
You can specify


Initial conditions:

Elevation of surface:

Initial velocity (across channel):

Initial velocity (along channel):


Parameters:

Half-width of channel:

Effective value of gravity:

Rotation rate:

Time length for run:


Numerical:

Space step:

Time step:

Plot times:

Continue


Print figure window:


Click Here to view and run the Matlab code directly.