Gas molecules Insulated walls
⚠ Couldn't load the 3D engineThree.js failed to load from the CDN. Check your connection and reload.

Free (Joule) Expansion of a Gas

An insulated box holds an ideal gas confined to one side of a removable partition, with vacuum on the other side. Because the surroundings do no work on the gas and no heat crosses the walls, the first law forces the internal energy — and therefore the temperature of an ideal gas — to stay exactly constant through the whole expansion, even though the process is thoroughly irreversible and generates real entropy. This simulator renders the gas as bouncing 3D molecules confined by a real partition mesh; removing the partition lets them diffuse into the vacuum while live readouts track occupied volume, relative pressure, mean molecular speed and the entropy generated, converging on the textbook result ΔS = N kB ln(V₂/V₁).