Confined Hard Disk Two Piston System Model Documents

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

Main Document

Confined Hard Disk Two Piston System Model 

written by Wolfgang Christian

The Confined Hard Disk Two Piston System simulates a constant-energy two-dimensional system of unit mass particles confined by two frictionless pistons of equal mass M.   This computer model complements theoretical work describing the adiabatic expansion of an ideal gas using the quasi-static approximation.  Users can set the number of particles  N, their diameter and their initial particle kinetic energy.  Slow-moving particles are color-coded as blue and fast particles are color-coded as yellow.  The time evolution of temperature, pressure, and piston speed are shown in a second window.
 
Particles in this model have unit mass and interact through contact forces.  Collision times are computed analytically because particles and pistons move with constant velocity between collisions. The time evolution algorithm advances the particle position from collision to collision until the requested time step is achieved.  The time evolution is then paused, data is accumulated, and the screen is redrawn.

The Confined Hard Disk Two Piston System was developed using the Easy Java Simulations (Ejs) modeling tool.  It is distributed as a ready-to-run (compiled) Java archive.  Double clicking the  ejs_stp_hd_ConfinedHardDiskTwoPistonSystem.jar file will run the program if Java is installed.

Last Modified June 3, 2014

This file has previous versions.

Source Code Documents

Confined Hard Disk Two Piston System Source Code 

The source code zip archive contains the EJS-XML representation of the Confined Hard Disk Two Piston System model.  Unzip this archive in your EJS workspace to compile and run this model using EJS.

Last Modified March 15, 2011

This file has previous versions.