Week 6 Notes: Event Driven Models

We study ODE event driven models and show how they can be used to detect hard disk collisions in models such as the ideal gas and Newton's cradle.  We also introduce discrete maps and Poincare sections. 

Elastic Collision

The EJS Elastic Collision model allows the user to simulate a two-dimensional elastic collision. The user can modify the mass, position and velocity of each disk using the sliders.  Both disks are also draggable and the center of mass is shown a a cross in the simulation.

A checkbox option allows the user to pause the simulation when a collision occurs. The pale blue arrows show the momenta of the disks immediately before the collision and the dark blue arrows show the momenta after the collision.  The red arrows show impulse (change in momentum) of each disk caused by the collision.  Note that the impulse vectors are equal and opposite and that the impulse direction is parallel to the line connecting the disk centers.

Theory

Newtonian mechanics predicts that for an isolated system total momentum is always conserved and total energy is conserved if the particles do not have hidden degrees of freedom such  as spin or heat capacity.  Collisions that conserve energy are said to be totally elastic because the balls bounce off of each other.

Conservation laws play a fundamental role in physics and most physicists would argue that they are more fundamental then Newton's Laws.  In the Elastic Collision model, conservation of energy and momentum are used to compute the trajectories of two balls acted on by a strong but brief collision force.  The hard disk (impulse) approximation assumes that the interaction acts instantaneously along a line connecting the particle centers when the the particles come into contact.  Because the particles do not interact except for this brief instant, we need only consider kinetic energy when computing the total energy of the system.

Etotal = (1/2) m1 v12  + (1/2) m2 v22

The total momentum of the system is easy to compute and is the sum of the momentum of the two particles.

ptotal = m1 v1  + m2 v2

The bold typeface indicates that momentum and velocity are vectors so the above equation becomes to two equations when written component form.

References:

Related Models

The following models use ODE events to detect collisions between hard objects (disks or spheres).

 

Additional models may be be posted for self-study.

Credits:

The Elastic Collision Model was created by Fu-Kwun Hwang using the Easy Java Simulations (EJS) modeling tool. It was adapted to EJS version 4.1 by Wolfgang Christian and Robert Mohr at Davidson College.  You can examine and modify the model for this simulation if you have Ejs installed by right-clicking within the simulation frame and selecting "Open Ejs Model" from the pop-up menu.  

 

Information about EJS is available at: <http://www.um.es/fem/Ejs/> and in the OSP ComPADRE collection <http://www.compadre.org/OSP/>.