4

My question relates to the stereotypical example for understanding the first and second laws: an isolated system filled with a gas of non-interacting molecules with constant ($E$,$V$,$N$) has two subsystems that can only exchange energy.

There is entropy production associated with the energetic exchange. Since entropy is additive: $d S=d S_1 + d S_2=d Q(\frac{1}{T_{cold}}-\frac{1}{T_{hot}})>0$. Where $d S$ is the change in entropy of the total system.

I don't understand how this is coherent with the first principle applied to the total system. Naively, I would say that $dU=TdS=0$ (since the system is energetically isolated with the rest of the universe). So $dS=0$.

P.D.: Despite having read several posts related to this, I didn't get the feeling that my specific question was answered. (e.g. Why can the entropy of an isolated system increase?, entropy in isolated system).

Edit 1: Trying to remove some ambiguities, I was not thinking in thermal reservoirs but on two separate halves of an isolated system that are allowed to exchange energy. In the beginning, both parts have well-defined temperatures $ T_ {cold} $ and $ T_ {hot} $. The expected final state of the system is an equilibrium state in which the whole system has the same temperature ($ T = T_1 = T_2 $).

Javi
  • 1,305

4 Answers4

1

I don't understand how this is coherent with the first principle applied to the total system. Naively, I would say that ==0 (since the system is energetically isolated with the rest of the universe). So =0.

You are thinking entropy is only produced if there is heat transfer.

An example of entropy production in an isolated system (as system that exchanges neither heat, work, or mass with its surroundings) is the irreversible expansion of a gas into a vacuum in an insulated rigid vessel.

You have a chamber with a gas in one half and a vacuum in the other separated by a rigid partition with a covered opening. The opening is uncovered allowing the gas to expand into the vacuum. There is no heat (or work) transfer with the surroundings yet entropy is produced because the expansion is irreversible (the gas will not spontaneously return to the original side). How much entropy is produced can be calculated by imagining a convenient reversible process to return the system to its original state, in this case a reversible isothermal compression. In this imagined reversible isothermal process the heat transferred out of the gas divided by the constant temperature of the gas equals the entropy produced during the irreversible expansion.

Hope this helps.

Bob D
  • 81,786
1

$dU=TdS$ is true for a reversible process, but allowing systems to mix (thermally, chemically, etc) is usually irreversible, so $dU \ne TdS$ for an irreversible process. You can, however, find a reversible process that follows $dU = TdS$ to have the same initial and final states of an irreversible process.

It's entirely possible, and common, to have an irreversible process of an isolated system where $\Delta U=0$ and $\Delta S \ne 0$.

Consider your example of two ideal gases (same species) of different temperature in an isolated container separated by a membrane, and the membrane breaks. You'll have some finite $\Delta S$ due to thermal equilibration, but $\Delta U = 0$.

Thermodynamix
  • 1,802
  • 3
  • 19
  • 32
1

What is the $T$ in your equation $dU = TdS$? Your system has 2 parts at different temperatures $T_{hot}$ and $T_{cold}$, so it does not have a temperature. The problem here is that your combined system is not in thermodynamic equilibrium at the start of the process and so we simply cannot apply equilibrium thermodynamics to it. We may be able to reasonably approximate the 2 parts separately as being in equilibrium at the start and end of the process and then use standard methods to find how they change, but the combined system only approaches equilibrium at the end of the process, so we cannot apply standard thermodynamics.

By Symmetry
  • 9,649
1

The correct equations for this system should be: $$dU_H=T_HdS_H=-dQ$$and $$dU_C=T_CdS_C=+dQ$$where dQ is the heat transferred from the hot gas to the cold gas. If we add these two equations together, we obtain, as required $$dU_H+dU_C=0$$

Application of the Clausius relationship to this system breaks down like this: $$dS_H=-\frac{dQ}{T_H}=-\frac{dQ}{T_B}+d\sigma_H$$and$$dS_C=+\frac{dQ}{T_C}=\frac{dQ}{T_B}+d\sigma_C$$where $T_B$ is the average temperature at the boundary between the hot gas and the cold gas during the heat transfer ($T_C<T_B<T_H)$, $\sigma_H>0$ is the entropy generated in the hot gas, and $\sigma_C>0$ is the entropy generated in the cold gas. (Note that the Clausius relationship calls for use of the temperature at the interface of a system where the heat transfer is occurring). If we add these two equations together, we obtain: $$dS_H+dS_C=\sigma_h+\sigma_C>0$$ In addition, since ($T_C<T_B<T_H$), we have $$d\sigma_H=dQ\left(\frac{1}{T_B}-\frac{1}{T_H}\right)>0$$ and $$d\sigma_C=dQ\left(\frac{1}{T_C}-\frac{1}{T_B}\right)>0$$

Chet Miller
  • 35,124