what is the condition needed for heat transfer