DMD:Background:The DMD Model Equations
From Wiketomica
| Introduction |
| Background |
| Basic Layout |
| Examples |
| Problems |
| Run Simulation |
| Assessment |
| Credits |
| Etomica Modules |
The relationship between time and position gives:


where ri is the vector
position of the ith particle and ui is the vector velocity. At the time of contact,
, we have ,


Where 
Note: html to make bold typeface for vectors in math mode is unknown to this author. Sorry.
The relation leads to a quadratic equation for the ij collision time,
.


Where :

discriminant. Note that uij in m/s is a large number while rij is very small.
|
bij > 0(forget about it) |
Dij < 0(forget about it) |
Dij > 0(schedule it) |
At the time of the collision, the velocities of the particles change according to,

|
We can derive this formula by assuming that particle j is stationary (reference frame) and particle i is moving on the x-axis with equal mass. The j-direction after collision is given by the line of action |
Note that
and
must be updated to the point of collision before computing the velocity changes.



with the geometric interpretation of a sum of vectors in the form of a triangle. Conservation of energy gives
. The Pythagorean theorem applied to the conservation of energy means that this triangle must be a right triangle. Therefore, we can rotate the coordinate system such that 

