Response of an ocean general circulation model to wind and thermodynamic forcings