One statement by Peter Atkins in his book Elements of Physical Chemistry confused me quite a bit:
If a chemical reaction or phase transition takes place at constant pressure , we can identify $Q$ with the change in enthalpy of the system, and obtain
For a process at constant pressure: $$\Delta S = \frac{\Delta H}{T}.$$
Is it really correct to measure the entropy change using change in enthalpy?
I'm telling so because enthalpy change only measures how much heat energy enters or gets expelled from the system. It doesn't measure how much energy gets expelled out of the system when the system does $PV$ work.
As Peter Atkins points out:
If $10~\text{kJ}$of energy is supplied as the heat to the system that is free to change its volume at constant pressure, then the enthalpy of the system increases by $10~\text{kJ}\; ,$ regardless of how much energy enters or leaves by doing work and we write $\Delta H = +10~\text{kJ}\; .$
I know it is the heat energy that is concerned in the definition of entropy change. But, suppose the system is heated which means it is in more disorder; however if it does work, then the energy the system got as heat would decrease which would therefore decrease the chaos & disorder of the system. If we use only the enthalpy change, wouldn't we exclude that work which decreases the heat energy gained by the system?
I'm rather confused on the use of enthalpy for defining the entropy change. Could anyone please help me explain this how enthalpy change actually measures the entropy change?