The modelling of ocean circulation is important not only for its own sake, but also in terms of the prediction of weather patterns and the effects of climate change. This 2007 book introduces the basic computational techniques necessary for all models of the ocean and atmosphere, and the conditions they must satisfy. It describes the workings of ocean models, the problems that must be solved in their construction, and how to evaluate computational results. Major emphasis is placed on examining ocean models critically, and determining what they do well and what they do poorly. Numerical analysis is introduced as needed, and exercises are included to illustrate major points. Developed from notes for a course taught in physical oceanography at the College of Oceanic and Atmospheric Sciences at Oregon State University, this book is ideal for graduate students of oceanography, geophysics, climatology and atmospheric science, and researchers in oceanography and atmospheric science.