Gravity Wave Generation by a Three-Dimensional Thermal Forcing