Phase Transitions and Heat Transfer