Ideal Gas Expansion is a handy, easy to use tool specially designed to simulate a two-dimensional ideal gas in a square box.
In the model, the particles are initially all on the left (red) side of the box with otherwise random positions and random velocities (distributed according to a Maxwell distribution). Separate windows show the motion of the gas particles, a plot of the number of particles on each side versus time, and a histogram of the number of occurrences of a given number of particles on the left.
Requirements:
ยท Java