Geophysical and astrophysical fluid dynamics