In this gedanken experiment, the stars are placed into a spherical container. Particles within this container bounce off its walls. It is like a cylinder full of gas. The container does not collapse with the stars; its dimensions are somehow controlled by the experimenter. Well, if there is pressure inside this sphere, then you cannot shrink it without working against the pressure, and doing so will add energy into the system because work is being done on it.
Comments
In this gedanken experiment, the stars are placed into a spherical container. Particles within this container bounce off its walls. It is like a cylinder full of gas. The container does not collapse with the stars; its dimensions are somehow controlled by the experimenter. Well, if there is pressure inside this sphere, then you cannot shrink it without working against the pressure, and doing so will add energy into the system because work is being done on it.