Part 1A Differential Equations

Example sheet 0

Example sheet 1

Example sheet 2

written notes from lecture 1

written notes from lecture 2

Part III Fluid Dynamics of Climate

Slides from the 2016 lectures: Meridional Overturning Circulation

Incomplete lecture notes from 2013-2016: JRT_notes

Fluid Dynamics of Sustainability and the Environment

Summer School, 2016

A directory containing the computational projects for the 2016 Summer School can be downloaded here.

For more details on some derivations, including Rossby waves, baroclinic instability, and large-scale ocean circulation, see the lecture notes for the Fluid Dynamics of Climate, a Part III course taught in DAMTP.


Diablo is an open-source CFD solver that I have been developing with Tom Bewley and others at UCSD since my time as a PhD student. It solves the incompressible, Boussinesq Navier-Stokes equations in several simple geometries. The full version, written in Fortran, can be found here.

I recently wrote a 2D version of Diablo, entirely using the MATLAB scripting language, which can be downloaded below along with the User's Guide, which contains more details. While limited to flow in a 2D plane, it can handle a wide variety of boundary conditions, and rotating and stratified flows. Note that this version is intended for educational purposes, and has not been fully tested for use in academic research.

MATLAB version of Diablo

PDF of the Users guide for the MATLAB version