It is required to do thermal analysis of worm gear. Since worm gear produce lot of heat, it is decided to fill the worm gear box with oil. I was able to calculate heat produced in gear to friction. However I am really confused how to determine the temperature of oil surrounding gears. I tried using Q=m.s.dt, however I think not all heat generated get transferred to oil. I tried using Fourier method as well, but I got temperature so high that I found it ridiculous. Can anyone provide me the calculation method assuming any data if required. The only data I have is that gear require 5kW input power and the efficiency if 65%.