Education Prize Logo
Science SPORE Prize
November 2011

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

Second Law of Thermodynamics and Boltzmann's Statistics Model Documents

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

Main Document

Second Law of Thermodynamics and Boltzmann's Statistics Model 

written by Fernando Silva Fernandes

The Second Law of Thermodynamics and Boltzmann's Statistics model performs successive simulations of an isolated assembly of vibrating molecules modeled as quantum harmonic oscillators. The objective is to reach, by means of molecular random collisions, the thermodynamic equilibrium detected through the entropy evolution and the approach to Boltzmann's distribution.  Each successive simulation consists of 2000 random collisions after which, by default, static plots are displayed. Dynamic plots can be produced by turning on this option.  The reduced entropy (S/k) evolution is displayed at the top panel after every 50 collisions as a function of the total number of collisions.


The Second Law of Thermodynamics and Boltzmann's Statistics model was developed using the Easy Java Simulations (EJS) modeling tool.  It is distributed as a ready-to-run (compiled) Java archive.   Double clicking the jar file will run the program if Java is installed.  You can modify this simulation if you have EJS installed by right-clicking within the map and selecting "Open Ejs Model" from the pop-up menu item.

Published October 12, 2012
Last Modified June 12, 2014

This file has previous versions.

Source Code Documents

Second Law of Thermodynamics and Boltzmann's Statistics Source Code 

The source code zip archive contains an EJS-XML representation of the Second Law of Thermodynamics and Boltzmann's Statistics model.   Unzip this archive in your EJS workspace to compile and run this model using EJS.

Last Modified October 22, 2012

This file has previous versions.

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