The Molecular Model: A Computer Simulation of the Kinetic-Molecular Theory
CSEF · 2004 Mathematics & Software
Overview
Objectives/Goals How does a computer simulation of a gas, following kinetic-molecular theory, stack up against the ideal gas law? How do real gas conditions (molecular collisions and intermolecular attractions) change the situation? Methods/Materials The basic premise of the project is to create the computer model. In theory, the following steps are taken, although in practice, the lines are very much blurred. The foundation code was obtained from http://nehe.gamedev.net. From that, a "Molecule" object was added which could move around in an imaginary box and could draw itself, along with the environment, which could in turn contain several Molecules. The variables of pressure, volume, and number of molecules were introduced, and the real gas concepts of collisions and attractions were added. Finally, a script system was written which would churn out data points systematically for detailed analysis of the results. Results Under ideal conditions, the simulation came very close to the ideal gas law, generally with a correlation exceeding .99, and under real conditions, the model correctly deviates at very high pressures. There are a few noteworthy observations to be drawn: a "solid" state can be induced, and without collisions, intermolecular attractions can destabilize the model. Conclusions/Discussion The molecular model I built correctly (although not perfectly) mimics ideal and real gas behavior. It provides a useful visual for understanding how all the assorted variables come together to result in the equations for the gas.
Summary statement
Using the kinetic-molecular theory, a computer model was built that would simulate gas molecules, allowing both intuitive grasp of the concepts used as well as detailed analysis of the results.
Help received
Mother helped in cutting and pasting paper and in the placement of construction paper; other family members gave some assorted ideas and suggestions
Competition history
- CSEF 2004
Resources
Related projects
CSEF · 2013
Computational Simulation of Multidimensional H(2)O Molecule Interactions
CSEF · 2010
Factors Affecting Gas Diffusion
CSEF · 2003
Computer Simulation of van der Waals Clusters
CSEF · 2003
Verification of Avogadro's Law
CSEF · 2002
Molecular Mass of a Volatile Liquid Derived through Increasing Temperature
CSEF · 2009
Testing Gas Laws
CSEF · 2017
The Effects of Temperature and Material on the Speed of Sound in a Gas
CSEF · 2005
Simulation and Animation of the n-Body Problem in Two-Bodies
Closest projects by meaning, across every fair and year in the corpus.
Browse more like this
Source: California Science & Engineering Fair public projects