Elastic Collisions in Three Dimensions

In summary: Remember that the relative speed between the two objects is the same before and after the collisions, making this simpler).In summary, elastic collisions are basically trading momentum between two colliding bodies.
  • #1
krsbuilt
15
0
Alrighty, I'm working on a three dimensional physics simulator that does every operation in spherical coordinates and vectors, and I'm stuck on figuring out elastic collisions. are elastic collisions essentially trading momentum between the two colliding bodies? I'm assuming not, but i can't seem to find a simple equation to figure it out. by simple, i mean that just uses vectors. right now I've got two momentum vectors, and each vector can be added to (translate both vectors to Cartesian and add and convert back), subtraction (addition with the other vector being negated), multiplication and division (only via scalars) and i am able to convert back and forth between Cartesian. using that is there any simpler way of doing elastic collisions?
 
Physics news on Phys.org
  • #2
In general, two objects that collide elastically can be scattered in any direction.
(Elastic collision means that momentum in all 3 directions is conserved, and energy is conserved).
For two solid objects, the direction they get scattered in depends on the shape of the objects and the relative angle between the objects before they collide.
For hard spheres (like pool balls), the direction that the two balls scatter is the normal to the small area where the two balls touch. (That sounds dirty).
 
  • #3
how would you calculate elastic collisions for any object of any shape. would you need to have the angle of the surface at the collision point of the two objects?
 
  • #4
Remember that the relative speed between the two objects is the same before and after the collisions. That will make your calculations simpler.
 
  • #5
correct me if I'm wrong, but couldn't you treat any elastic collision like an elastic collision, but introduce some angular velocity if the shapes are weird? (which would be a completely different calculation)

Edit: any elastic collision as an elastic collision between spheres
Edit 2: if the shapes are weird and the angles are off
 
  • #6
krsbuilt said:
how would you calculate elastic collisions for any object of any shape. would you need to have the angle of the surface at the collision point of the two objects?

Yes, If you think about it, the contact force between the two objects is at the point where they touch, and the direction of these forces is to stop the two objects from going into each other at that point.

To do a true simulation of two many-sides objects, you would need to calculate where each of the faces were and check to see if collision happened between any of the faces of one object with any of the faces of the other object. Then when the objects collide, you'd need to calculate the angles between these faces to calculate the direction of the force.

krsbuilt said:
correct me if I'm wrong, but couldn't you treat any elastic collision like an elastic collision, but introduce some angular velocity if the shapes are weird? (which would be a completely different calculation)

Edit: any elastic collision as an elastic collision between spheres
Edit 2: if the shapes are weird and the angles are off

It wouldn't be realistic, but it would probably look fairly realistic.
 
  • #7
as in the case of a sphere the collision is always between two surfaces perpendicular to each other. so when the two objects collide and the surfaces are not perpendicular the angles will be different, therefore changing the direction of the impulse. of course any collision including a round object is going to send the round object in the normal direction. objects that run into each other off-center would result in some of the momentum transfering to angular momentum. I'm assuming the sine of the angle between the momentum of the colider and colidee plus the angle around the colidee (which will always be between pi/2 and -pi/2) multiplied by the momentum of the colider would be the angular momentum to add to the colidee (i calculate the collision twice, once for each body in the collision). Also, would i want to add the difference angle of the surfaces to the result momentum? and would i want to change the resulting linear momentum if angular momentum is part of the result? and I'm assuming the angular momentum i calculated is the linear equivelant of the angular momentum, so i would divide by the "radius" of the object, aka the distance from the point of impact to the center of gravity (which is a whole other problem for me to solve).

P.S. i apologize if that is hard to read, I'm kind of scatter-brained
 
  • #8
Collision means one of the corners of object A touching one of the faces of object B (or the other way around). This is because it is incredibly unlikely that two of their faces will perfectly line up, or that two corners will meet exactly.
So let's say face i of object A touches corner j of object B. Then the force will be in the direction normal to face i and at the point of corner j. This force will act in opposite directions on A and B to push the two objects away from each other.
In actual collisions, the objects will squash a bit, and then spring back (imagine a tennis ball being hit by a racquet). So the value of the force, and the length of time it acts will depend on the material. In your simulation, I advise you just use values for these which make the simulation look fairly real. (I think a small time, with a fairly large force would look most realistic).
Now you have the force, its direction and how long it acts. The change in momentum is equal to the force times the time, so this gives you the change in momentum.
The component of the force pointing to the centre of gravity of the object contributes to the change in linear momentum.
The component of the force pointing at right-angles to the centre of gravity gives the change in angular momentum of the object. The angular momentum (assuming the object is roughly spherical) is equal to [itex] m 2 \pi f r^2 [/itex] In this equation, m is the mass of the object, f is the frequency of rotation of the object. And r is the radius at which the force happened (in our case, it will be distance from the centre of gravity to the point of corner j at the time of collision).

Hope this helped, its actually a pretty complicated simulation to make, now that I've thought about it.
 
  • #9
the only part in that i didn't get was "the direction normal to face i". i apologize if this is a newbie question, but what is and how would you calculate the normal direction between to surfaces (planes)
 
  • #10
As I mentioned, there is only one plane in consideration (not two) because the corner of one object is touching one of the faces of the other.
(This is because for a collision to happen where two planes were touching, the angle of these two planes would need to be perfectly aligned, which doesn't happen).

If you've got a plane which satisfies the equation ax+by+cz=d then (a,b,c) is the normal vector to that plane. To get the unit vector normal to the plane, you make it so that [itex] a^2 + b^2 + c^2 = 1 [/itex]. The unit vector normal to the plane is more useful in this case, because it equals the direction of the force.
 
  • #11
so essentially it's a vector perpendicular to the plane, and the impulse will be in that direction. sounds simple enough. now to translate that into java :P
 
  • #12
ah, and another question... does the change in angular momentum affect the linear momentum? I'm assuming not, but I'm probably wrong.
 
  • #13
No, once you calculate each of them, they are independent things.
 
  • #14
And this is because we are talking about:
1) the angular motion of the object about an axis through its centre of gravity (angular momentum).
and 2) the motion of the centre of gravity of the entire body (linear momentum).
So the full motion of a particular part of the body is the combination of 1) and 2).
(These are not the general meanings of the two terms, but in this case, these two definitions will do).
 
  • #15
well, with what i said, the whole theory of conservation of momentum is completely ignored, so i'll resolve that next. (i pulled the angular momentum from the linear momentum of the collision without changing the momentum post-collision)
 
  • #16
No, linear momentum and angular momentum are both conserved.
The angular momentum of one object is exactly opposite to the angular momentum of the other object.
Therefore, the angular momentum was zero before collision and is zero after collision.
 

FAQ: Elastic Collisions in Three Dimensions

1. What is an elastic collision in three dimensions?

An elastic collision in three dimensions is a type of collision between two objects where both the momentum and kinetic energy are conserved. This means that the total momentum and total kinetic energy before the collision is equal to the total momentum and total kinetic energy after the collision.

2. What are the conditions for an elastic collision in three dimensions?

The conditions for an elastic collision in three dimensions are that there are no external forces acting on the objects, the objects must be rigid and not deform during the collision, and the collision must be head-on.

3. How is the velocity of each object calculated after an elastic collision in three dimensions?

The velocity of each object after an elastic collision in three dimensions can be calculated using the conservation of momentum and kinetic energy equations. The equations take into account the masses and velocities of the objects before and after the collision.

4. Can an elastic collision in three dimensions occur between more than two objects?

Yes, an elastic collision in three dimensions can occur between more than two objects as long as all the conditions for an elastic collision are met. The conservation of momentum and kinetic energy equations become more complex with more objects involved.

5. What are some real-world examples of elastic collisions in three dimensions?

Some real-world examples of elastic collisions in three dimensions include collisions between gas particles in a closed container, collisions between billiard balls on a pool table, and collisions between molecules in a chemical reaction. These collisions demonstrate the principles of conservation of momentum and kinetic energy in three dimensions.

Similar threads

Back
Top