Chemical Kinetics Simulation - Instructions

What's happening?

If you saw nothing on the previous page, then your browser does not support Java applets.

 

 

Otherwise, you found yourself looking at a computer simulation of a binary chemical reaction. There are four types of molecules in this simulation, red, yellow, green and blue. Each wanders around at random in the box you see. Every time a pair of red and yellow molecules collide they may react to form a pair of green and blue molecules, and vice versa. This chemical reaction can be written like so:

R + Y  G + B
The double arrow in this reaction indicates that both the forward (R + Y --> B + G) and the reverse (B + G --> R + Y) reactions are possible. This is true of all chemical reactions. However, as is also true of all chemical reactions, the probability that a reaction will occur during any given collision is not necessarily the same for the forward and reverse cases. The probabilities of reaction per collision are called the reaction rate constants and are abbreviated "k_f" for the forward reaction and "k_r" for the reverse reaction.

Take command!

The simulation itself appears directly in your browser window. Initially everything's frozen, and you need to click your mouse anywhere in the box to get the simulation to start. (If you click again the simulation will freeze again.) If all goes right then when the simulation starts a control panel will also pop up somewhere on your screen. Using this control panel you can change the initial concentrations (expressed as the number of molecules "per box") and the reaction rate constants (expressed as a probability between 0.0 and 1.0). To do so, click your mouse over the appropriate box, delete the old numbers with your DELETE key and type in new numbers. Click the "Restart simulation" button to restart the simulation with your new values.

 

 

Note: You are not watching an animation of a pre-computed simulation. This simulation is running in real time, on your computer, as you watch. Every time you restart the simulation, the molecules are distributed randomly in the box and given random velocities.

From the control panel you can also turn on and off a "stripchart" that records the instantaneous concentrations of the four species of molecule as the simulation proceeds. Just click on the button labeled "stripchart ON".

Experiment!

Some notes on performance

Some notes about chemistry