James F. Price
Senior Scientist
Physical Oceanography Department, Mail Stop #29
Woods Hole Oceanographic Institution
Woods Hole, MA 02543

tel: (508) 289-2526
fax: (508) 457-2163
email: jprice@whoi.edu





12.800 Scripts (developed and tested under 5.3)

This subdirectory contains things that don't fit into the major projects category. All models and code are public domain and can be used for any purpose you like, no strings attached. Please let me know if you see any errors or have any ideas for improvement

Link Description
Danalysis.m Perform a dimensional analysis. (see also the essay ND.pdf noted on the previous page)
rotation.m Show the kinematics of motion observed in a rotating coordinate system.
coriolis.m Show the kinematics of the Coriolis force; a companion to rotation.m.
fred.m Solve the fredholm problem for a particle on a slope; the simplest model of geostrophic adjustment with friction.
geoadjpe.m Solve for geostrophic adjustment of a single layer in one dimension.
bore.m Solve for adjustment under gravity only of a single layer in one dimension.
waves6.m Show the superposition of two waves.
DAsoln3.m Wave propagation and dispersion of a pulse via D'Alembert's method.
gwavemovie.m Animate the currents under a gravity wave.
upperEk.m Solve for the wind-driven currents in an upper ocean Ekman layer.
bottomEk.m Solve for the currents/winds in a bottom Ekman layer.
Couette.m 1-D diffusive flow in a channel by numerical and similarity methods.
S61.m Integrate the Stommel 1961 thermohaline box model.
bvort.f Fortran program to integrate the homogeneous wind-driven circulation model via the 2-D vorticity equation. Much like Veronis DSR, 1966.
bvlook.m Matlab script plots wind stress profiles, and other stuff from bvort.f.
bvsprof.m Matlab script plots wind stress profiles, and other stuff from bvort.f.
bvtime.m Matlab script plots time series of energy, enstrophy and more from bvort.f.
basin.f Fortran main program for a layered, primitive equation ocean model. The standard case is that of Holland and Lin, JPO, 1975. This is a rather complex model, but very useful for studying the spinup of a wind-driven basin, and not atypical of ocean GCMs.
basinsubs.fm Fortran subroutines needed to link with basin.f.
blook.m Matlab script to make plots of streamfunction, etc from basin.f
btime.m Matlab script to make time series plots of energy, vorticity, spectra and more from basin.f.
btracks.m Matlab script to plot float tracks from basin.f.
geoadj.for Fortran main program for a layered, primitive equation ocean model. This version is configured to do a geostrophic adjustment problem in two dimensions (one layer).
gatime.m Matlab script to make time series plots of data from geoadj.f.
galook.m Matlab script to make time 3-d plots of data from geoadj.f.
Home | PO Home | WHOI Home