The Compadre Portal website will be unavailable Friday evening through Saturday afternoon as electrical work occurs in the American Center of Physics server room. Down time will begin at 6PM Eastern Time on Friday. Service is expected to resume by 6PM on Saturday, July 30.

Molecular Dynamics Adiabatic Piston Model Documents

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

Main Document

Molecular Dynamics Adiabatic Piston Model 

written by Wolfgang Christian

The Molecular Dynamics Adiabatic Piston model shows two gas samples within a horizontal cylinder that is divided by an insulated piston that moves without friction.  It is a supplemental simulation for the article by Eric Gislason and has been approved by the authors and the AJP editor.  Initially the piston is held (locked) in place, and the pressures of the gases on each side of the piston are different.  When the piston is released it undergoes oscillations that are damped due to collisions of the particles with the piston, and it finally ends up at rest.  The final pressures of the two gases are equal, but the final temperatures are typically different.

All particles in the Molecular Dynamics Adiabatic Piston model have unit mass and interact through pairwise Leonard-Jones forces.  Gas particles interact with the container walls via a spring (Hooke's law) force and this particle-wall interaction is used to move the piston and to compute the pressure.  The temperature is computed from the average kinetic energy. The piston position and the temperature and pressure are shown as functions of time in additional windows.

The Molecular Dynamics Adiabatic Piston model was created using the Easy Java Simulations (EJS) modeling tool.  It is distributed as a ready-to-run (compiled) Java archive.  Double clicking the ejs_md_AdiabaticPiston.jar file will run the program if Java is installed.

Last Modified June 10, 2014

This file has previous versions.

Source Code Documents

Molecular Dynamics Adiabatic Piston Source Code 

The source code zip archive contains an XML representation of the Molecular Dynamics Adiabatic Piston model.   Unzip this archive in your EJS workspace to compile and run this model using EJS.

Last Modified July 13, 2010

This file has previous versions.