Pressure is caused by collisions of particles with a saurface. On a macroscopic scale individual collisions go unnoticed because there are of the order of Avagadro's number of collisions every second. On a microscopic scale, however, collisions manifest themselves in pressure fluctuations. (See the Brownian motion script for a examples of speed and energy fluctuations.)
Compare the pressure obtained from the change in momentum with the ideal gas pressure for small medium and large particles.
Which simulation most closely approximates an ideal gas?
Is the pressure larger or small than for an ideal gas?
Modify the ideal gas equation of state to take the finite size of the disks into account.
This page contains three Physlets that are able to share data using a connection made by a common superclass, SApplet. The ensemble walls keep track of the change in momentum, i.e., the pressure, during each time step, dt, and provides this data to the DataGraph Physlet and the DataTable Physlet. The DataGraph plots the pressure on the four walls by measuring the change in momentum, dp/dt, during the animation time step, dt. It is easy to estimate the average pressure by eyeballing the graph. The DataTable provides three different numerical values. The first is the pressure calculated from the ideal gas law, P=NkT/V, where Boltzmann's constant is 1. The second is the pressure during a single time step. This is the value plotted in the graph. The third is the pressure averaged over 100 time steps.
Jar files: DataGraph4_.jar, DataTable4_.jar, Molecular4_.jar, STools4.jar
Script by Wolfgang Christian
Questions by Wolfgang Christian.
Java applets by Wolfgang Christian.