In thermodynamics, heat flows from the hotter block to the cooler one until both blocks reach the same temperature.
But what if you want to transfer all the heat from block A to block B, not just equalize temperatures?
Just chop up the blocks like in this animation:
00:00















