Using a hot gas to drive a piston: entropy reduction?

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 replies · 1K views
omoplata
Messages
327
Reaction score
2
Suppose we have an insulated cylindrical container with a piston inserted from one end. Suppose the volume confined by the piston is full of a hot gas. Now let the gas drive the piston so that the volume is increased.

Did the entropy of the system decrease because some of the energy of the disordered random-directional movement of the gas molecules (disordered movement) was converted to the linear (one-directional) kinetic energy of the piston (more ordered movement)?

How does this not violate the second law of thermodynamics?
 
on Phys.org
If you consider the walls of the cylinder adiabatic, best performance you can achieve is an isentropic change of state and the entropy stays the same (all the internal energy would have been transformed into work). In a real application you would have friction increasing the entropy of the system by transforming internal energy also into heat at the surfaces between piston and cylinder. So no entropy decrease after all.