Molecular Dynamics



Note: Molecular Dynamics simulations are CPU and memory intensive for large numbers of particles.  Also, Java is not the most efficient language for science simulations. One hundred particles is a realistic maximum number of particles on a 400 MHz CPU.  Setting the number of particles too large may cause unpredictable results and so it is usually wise to restrict the maximum number of particles using the MaxParticles parameter tag.

Molecular Dynamics Physlet v.1.0  models molecular dynamics in two dimensions.  It requires a Java 1.1 capable browser with JavaScript to Java scripting capability. Molecular Dynamics is free for non-commercial educational use as outlined in the conditions of use.   Although most Physlets can be used in interactive mode, they are designed to communicate with the HTML page using a scripting language such as JavaScript. Please see the demo pages below.

The Molecular Dynamics package contains three Physlets that simulate an ensemble using a two-dimensional hard sphere model.  The applet is designed to be scripted using JavaScript but may also be used in an interactive mode for simple simulations.


Molecular dynamics, along with most other Physlets, solves dimensionless equations.   Although it is possible to set k, Boltzmann's constant, to something other than 1 using JavaScript, it is the responsibility of the script author to decide on the appropriate units and to convey these units to the student in the text.  For example, the PixPerUnit parameter can be used set the appearance of objects on the screen and the numeric values displayed when the mouse is pressed.  But the text of the problem would have to specify that these values are to be interpreted as mmeter and that each particle has a mass of  hgram.   Physlets make minimal assumptions about about the scale of the system being modeled.

Molecular Dynamics was written by Jim Nolen and  Wolfgang Christian.