(Woods Hole Oceanographic Institution, 2020-08-01)
Brink, Kenneth H.
This set of Matlab mfiles (all with names beginning with “bwavesp”) can be used to calculate barotropic coastal wave properties in the absence of density stratification. The wave frequency is taken to be entirely real (hence stable). You are allowed to have a mean alongshore flow, if desired, and you can apply the rigid lid and/or coastal long wave approximations. The model can be run in the non-rotating limit if desired. Once a wave’s frequency is found, the modal structure is displayed, and a perturbation (weak friction) imaginary correction to the wave frequency is found. The code can use an exact open boundary condition or a closed condition at either side of the domain.