That makes more sense, especially since i was probably thinking of an isolated system rather than closed where heat can be exchanged across the border. in the Irrev process, the entropy is due to irreversibility of the process, while in the reversible process, the entropy rise is due to the exchange of heat across the border. intuitively, i understand the entropy of the irrev process of gas expanding into a vacuum spontaneously, as the pressure drop and no other changes, as that energy that can do work, spreads out . but still would like to know how it relates to S=dQ/T.
it seems much different than what michael talked about above, where the massless piston moves and he was talking about the acceleration being infinite. ( i think he confused or reversed his idea of pressure with force which is not a pressure x area, but pressure being force/area. ) the pressure is a result of the change of the momentum of the molecules of gas hitting themselves or a surface in an elastic collision. their speed dictated by temp, doesn't change, as the massless piston moves outward (against a vacuum), creating a spontaneous movement of the gases to fill the eventual limit of the physical container where only then will the "piston stop" allow for a change of momentum of the molecule at its surface, which causes/is a force. seems like it would act exactly like free expansion in the classic example of a reversible process of pressurized gas in a container with a valve that opens to a vacuum of equal volume. (pressure drops, isothermal, adibiatic, and entropy increases).
Again, michael was talking a massless piston, but with weights on it... the force would be determined by the pressure / area . if that pressure was 100psi and the area was 1sq", that would be a 100lbf. a mass of 1lbm would have an acceleration of 981m/s^2... but after the volume was doubled, that acceleration would be half that ... and so on. so, it wouldn't be infinite, or instantaneous or constant due to the collisions of the gas molecules based on their velocity (at a constant temp). depending on the size of the container, the max velocity of the piston even with weights would only be the velocity of gas based on its temp. the mass less piston without weight would freely expand, while the massless piston with weights on it, would only accelerate based on a change of momentum of those molecules hitting the surface, to a maximum velocity to that of the velocity of the molecules. Eventually providing a pressure or force on it as it stopped at its limit, proportional to the volume change it created. Q changed and temp stayed the same, so this reversible process still had an increase in entropy due to the heat transfer and 0 entropy gain due to irreversibility.