Gravity Waves in the Thermosphere Simulated by a General Circulation Model