This paper presents a numerical method (streamfunction-vorticity method) of calculating the temperature field and coefficient of convective heat transfer for refrigerant in totally-closed compressor. It is in agreement with the data of experimental research. An important scientific basis for the correct design of totally-closed compressor is provided.