Heat transfer and temperature measurement