Particle model of ideal gas
This java simulation use 10 to 200 particles to simulate the particle of ideal gas. Each particle has the same speed moving in random direction. Piston will move down due to the gravity and move up because collision from particles.
You can change the velocity and pressure with the slider bar
Explain why the volume in the simulation is changing all the time.
Answer: the random collisions of the particles with the wall causes a fluctuation in the (N*m(delta v) /dt) rate of Change of momentum with the walls and since P = F/A = N*m(delta v) /dt*A

New Model customized by lookang for the following:
Assumptions of ideal gas

  1. The molecules in the gas can be considered small hard spheres. [color=blue]( un-checkbox magnify for "small" & "hard sphere" is in the motion because the molecules do not deform or change the spherical shape)[/color]
  2. All collisions between gas molecules are elastic and all motion is frictionless (no energy is lost in collisions or in motion). [color=red]( vary the coefficient of restitution to observe what if the collision are not perfectly elastic )
  3. Newton’s laws apply. ( in the absence of external force, the particles continue in the state of motion, constant velocity)[/color]
  4. The distance between molecules on average is much larger than the size of the molecules. [color=blue]( un-checkbox magnify for "small", can you observe the molecules move a large distance before hitting another particle? )[/color]
  5. The gas molecules are constantly moving in random directions with a distribution of speeds. [color=red](observe the histogram, do you see a distribution of speed in the molecules, even though the particles are started with the same speed?)[/color]
  6. There are no attractive or repulsive forces between the molecules or the surroundings. [color=blue]( the particles do not experience forces between particles except when the particles collide in a very short duration, external walls do not affect the motion of the molecules except during the very time of collision with walls, that the perpendicular component of velocity re-bounce.)
Additional option in applet to change elastic to inelastic (i.e. coefficient of restitution), p-V, p-T and V-T graphs

Original Source: This java applet was created by Fu-Kwun Hwang with Easy Java Simulation (Ejs) from Francisco
the original applet is from New Model customized by lookang in Ejs Open Source Ideal Gas Model based on Kinetic Theory of Gas


/htdocs/ntnujava/ejsuser/14019/users/sgeducation/lookang/gas2DPVnRTwee11brownianFKH_pkg/gas2DPVnRTwee11brownianFKH.propertiesFull screen applet or Problem viewing java?Add to exception site list
Press the Alt key and the left mouse button to drag the applet off the browser and onto the desktop. This work is licensed under a Creative Commons Attribution 2.5 Taiwan License
Download EJS jar file(937.1kB):double click downloaded file to run it. (91 times by 45 users) , Download EJS source (48 times by 22 users) View EJS source