It is very apparent that you don't understand what continuum mechanics is.
It is even more apparent, that, despite what Fluid Mechanics & the continuum assumption tell us, you do not wish to give up on your 'bouncing billiard balls in a tin can' terrible analogy.
Do I really need to fetch all the posts that prove you know nothing about basic physics again?
Besides, markjo has already said this, so the 'debate' would appear to be over:
Free expansion says that when the system reaches equilibrium, the total work done is zero.
A rocket that does zero work?
That'll get you to teh munn!