A general circulation model ( GCM) is a type of climate model. It employs a mathematical model of the general circulation of a planetary atmosphere or ocean. It uses the Navier-Stokes equations on a rotating sphere with thermodynamic terms for various energy sources ( radiation, latent heat).