If a system with const. pressure can change it's volume free, a heat transfer into the System results in a partial work done, which gives back the inner energy addet partial back to the environment. (That was roughly the introduction of a book on enthalpy.)
ΔU < q
However, I now wonder why the following does not apply:
+q = |-w|
(suppose i have a gas in a container with a piston, there is mechanical equilibrium, the internal pressure is equal to the external pressure. Shouldn't +dq (energy added to the system in the form of heat) not directly convert to -dw (that the piston moves?))
So shouldn't all the energy that was added in the form of heat end up completely and not just partly in volume work?