Cosine effect in ocean models