Will heat always flow from an object having more energy to one having less energy?
No, it will flow (spontaneously - as topsquark points out is needed here toOriginally Posted by Celia
avoid complications) from an object at higher temperature to one at lower
The temperature is a monotonic increasing function (usually) of the average kinetic energy
of the constituent molecules of the objects.
Actually, no. My Thermodynamics is a little rusty, but the Second Law says that heat will spontaneously flow from an object with higher energy to one having less energy. Not quite the same thing.Originally Posted by Celia
The point is that if we are doing work on the system we can make heat flow from a cold object to a hot object. This is more or less the operation of a refrigerator. (Remember by doing work on the system we are increasing the entropy. If the change in entropy due to work is large enough to compensate for the decrease in entropy represented by shifting energy in the "wrong" direction then we can do it.)
To directly answer your question, the "Law of Entropy" is actually a bit of an amalgam (spelling?) of the First and Second Laws.Originally Posted by ThePerfectHacker
To explain my original answer in a bit more detail:
My inspiration here is the Clausius statement (which is equivalent to the Kelvin statement, which is the typical one introduced to students) of the Second Law:
"There exists no thermodynamic transformation whose sole effect is to extract a quantity of heat from a colder reservoir and deliver it to a hotter reservoir."
From here we can introduce the concept of entropy and a restricted statement of the Second law is that the entropy of an isolated system must increase until the system reaches equilibrium. We can still use the concept of entropy in open systems and then we reach the conclusion that heat can be transferred from a cold body to a hot body only when the entropy of the system is sufficiently increased by the process.
(The neat thing is that such a transferrence can happen "spontaneously" if we use Statistical Mechanics. The restriction is that there has to be a nearby massive source of increasing entropy...say, for example, the Sun. It won't happen often, mind you, but it can happen.)