Which way does heat flow? From a substance of lesser thermal energy to one of greater thermal energy. From a substance of greater thermal energy to one of lesser thermal energy.