kids encyclopedia robot

Image: Osmosis computer simulation

Kids Encyclopedia Facts
Original image(922 × 820 pixels, file size: 93 KB, MIME type: image/jpeg)

Description: This is a shot from a three dimensional computer simulation of the process of en:osmosis. The blue en:mesh is impermeable to the larger balls, whereas all of the balls are (in the animated version) bouncing about according to the rules of physical simulation of the kinetics of an ideal gas. Averaged over long period of time, each ball has has the same kinetic energy as each of the other balls, even though at any given moment the velocities are distributed according to the appropriate en:Boltzmann functions. Likewise, each species (in this case color) of balls (as a group) exerts time averaged force (due to the bouncing) upon the walls of the box, which corresponds to the partial en:pressure contribution associated with that group. These properties emerge even though the collision function used in the simulation is trivial, to wit: void Mass::collide (Mass *X) { vector v_cm; v_cm = (velocity*mass+X->velocity*X->mass)/(mass+X->mass); velocity = v_cm*2 - velocity; X->velocity = v_cm*2 - X->velocity; m_bCollision = true; X->m_bCollision = true; } Accordingly, one can make theoretical assumtions about the behaviour of such mixtures according to the application of Dalton's law of partial pressures, and so on, and thereby gain some insights into how certain physical processes really work.
Title: Osmosis computer simulation
Credit: Transferred from en.wikipedia
Author: Original uploader was Lazarus666 at en.wikipedia
Permission: FAL; Released under the GNU Free Documentation License.
Usage Terms: Creative Commons Attribution-Share Alike 3.0
License: CC-BY-SA-3.0
License Link: http://creativecommons.org/licenses/by-sa/3.0/
Attribution Required?: Yes

The following 3 pages link to this image:

kids search engine