Education Prize Logo
Science SPORE Prize
November 2011

NSF Logo
The Open Source Physics Project is supported by NSF DUE-0442581.

Molecular Dynamics Exploration JS Model Documents

This material has 5 associated documents. Select a document title to view a document's information.

Main Document

Molecular Dynamics Exploration JS Model 

written by Wolfgang Christian and Daniel Schroeder

The EJS Molecular Dynamics Exploration JavaScript Model shows the dynamics of simple atoms and molecules in a two-dimensional container. The force between the atoms is weakly attractive at short distances, but strongly repulsive when they touch. Use the simulation to explore phases of matter, emergent behavior, irreversibility, and thermal effects at the nanoscale.

The motion of the molecules is governed by Newton's laws, approximated using the Verlet algorithm with the indicated Time step. For sufficiently small time steps dt, the system's total energy should be approximately conserved. Users can select various initial configurations using the drop down menu.

The Molecular Dynamics Exploration was developed by Wolfgang Christian at Davidson College using the Easy Java/JavaScript Simulation  (EjsS) modeling and authoring tool created by Francisco Esquembre.  This EjsS simulation is based on a pure JavaScript + HTML 5 simulation developed by Daniel V. Schroeder, Physics Department, Weber State University. Although EjsS is a Java program, it can create stand alone JavaScript programs that run in almost any PC or tablet.

Published March 27, 2016
Last Modified August 26, 2016

This file has previous versions.

Primary Documents (2)

Molecular Dynamics Exploration 

The Molecular Dynamics Exploration packaged in an EPub 3 document.

Last Modified March 31, 2016

Molecular Dynamics Android App 

The Molecular Dynamics Exploration packaged as a stand alone Android app.

Last Modified July 14, 2016

Supplemental Documents

Molecular Dynamics with Mobile Device Gravity Sensor 

Uses the mobile device accelerometer to sense the direction of g.  Note that g must be non-zero.

Last Modified August 26, 2016

This file has previous versions.

Source Code Documents

Molecular Dynamics Exploration Source Code 

This source code zip archive contains an XML representation of the Molecular Dynamics Exploration JavaScript Model.   Unzip this archive in your Easy Java/JavaScript Simulations (EjsS) workspace to compile and run this model using EJS 5.2 or above.  Although EjsS is a Java program, EjsS 5.2 creates a standalone JavaScript program from this source code file if the EjsS programming language is set to JavaScript.

Last Modified March 31, 2016

This file has previous versions.

The OSP Network:
Open Source Physics - Tracker - EJS Modeling
Physlet Physics
Physlet Quantum Physics