Perfect Sphere's colliding using only vectors

  • Thread starter drfrev
  • Start date
  • Tags
    Vectors
In summary, the problem I have is I need to find the impulse applied to a perfect sphere after colliding with another perfect sphere. For both spheres I have: position as <x,y>, velocity as <x,y> and mass. I am writing a program which simulates a bunch of balls bouncing around so I need to have an impulse equation that when using the above values for two balls (that I know are colliding) it gives a force (as <x,y>) that is applied to the current sphere. The impulse being applied instantaneously.
  • #1
drfrev
7
0
The problem I have is I need to find the force applied to a perfect sphere after colliding with another perfect sphere. For both spheres I have:

position as <x,y>
Velocity as <x,y>
mass
coefficient of restitution

I am writing a program which simulates a bunch of balls bouncing around so I need to have an series of equations that when using the above values for two balls (that I know are colliding) it gives a force (as <x,y>) that is applied to the current sphere. The force being applied instantaneously.

I have searched online and read up on http://en.wikipedia.org/wiki/Inelastic_collision (which only does one dimensional) and other sites like http://www.hoomanr.com/Demos/Elastic2/ . Of the sites that do go into two dimensional they use angle and magnitude, or directly change the velocity of the sphere. I only want the force applied during the collision. I have a decent knowledge of basic physics but for whatever reason I just cannot get this to work properly.

What I currently have is a Frankenstein of the wiki page that works relatively well, but it treats every collision as head-on so it isn't ideal.
 
Physics news on Phys.org
  • #2
drfrev, I'm not qualified to help you find the force applied to a perfect sphere after colliding with another perfect sphere using a simulation.

I do, however, have a suggestion that may assist you. I have more than 50 years experience playing billiards and pool. In these games we cause one perfect sphere to collide with another perfect sphere. We shooters learn to control the momentum of the first perfect sphere (cue ball) so as to impart a particular desired momentum to the second perfect sphere (object ball). If you experiment with these real-world objects you might gain some insight on the issue, and thereby learn to control your simulation more effectively. Go out and shoot some pool or billiards.
 
Last edited:
  • Like
Likes 1 person
  • #3
We have [itex] F=\frac{\Delta p}{\Delta t} [/itex].If [itex]\Delta t [/itex] approaches zero for non-zero [itex] \Delta p [/itex],F approaches infinity.This is the ideal situation of a momentary force.But things are not ideal in the real world.[itex]\Delta t [/itex] may be very small but it is not zero,so the force maybe very large but not infinity.The Force maybe even a complex function of time but if we consider a small enough [itex]\Delta t[/itex] we may assume its constant.But what is its value?well,that depends on [itex] \Delta p [/itex] and the value you want to assign to [itex] \Delta t [/itex]. But[itex] \Delta p [/itex] can only be determined using the conservation of momentum so this scheme of force description of a collision,isn't fundamental and is of less use than the method using the conservation of momentum.
 
  • #4
drfrev said:
I only want the force applied during the collision.
How long is "during"? See what Shyan said.

drfrev said:
but it treats every collision as head-on so it isn't ideal.
Connect the centers of the balls with a line. That is the collision normal. Now you can decompose all forces, velocities into normal and tangential components. The normal direction is just like the 1D version. The tangential forces depend on frictional parameters, and introduce spin, so you need parameters for rotational inertia as well, if friction is non-zero.
 
  • #5
This is a common issue when simulating contact problems. You're trying to start with some initial conditions and time stepping forward using some suitable equation (state at t = i+1 = function of state at t = i), but the problem here is that the physics are boring for long periods of time, and then for an instant, the forces are huge. You will find it extremely difficult to deal with this using a standard time-stepping algorithm.

I suggest you use some mixed formulation. You have analytic equations for the positions of the balls before any collisions occur, then you need to find some way of detecting a collision (again, this can be done analytically): distance between two ball centres <= sum of the ball radii. At this stage you then use momentum conservation to instantaneously modify the two balls' velocities, and you end up with a new set of trajectories.

This will be a far more accurate (and faster) method than integrating forces with direct time-stepping.
 
  • #6
This question requires the word "Impulse" in any useful answer. You don't need to specify the force or the time of the force, involved in a collision (the information usually doesn't exist). What you need to consider it the change of momentum and this is given by the Impulse (Force times Distance but you don't actually need to know the actual force or distance and the force doesn't need to be uniform). All collision problems tend to be dealt dealt with in this way. Momentum is always conserved (kinetic energy is not) and you can use this to solve the problem. If the balls really are spherical and smooth, the applied impulse will always be along the radius for the collision. That means the tangential velocity will be unaffected and the Normal velocity (velocity of approach) times the coefficient of restitution (which tells you the efficiency of the process) gives the Normal velocity of separation. The geometry is harder for balls of different diameters but it's all easily able to be calculated.
As mikeph says, it would be a laborious process to do 'time stepping' but it may be difficult to avoid this when there are many balls with collisions at different times. You need to be able to calculate when trajectories coincide (in space and time) and then work out the changes in velocities.
Is there a Games Writing Forum somewhere?
 

1. What is a perfect sphere?

A perfect sphere is a three-dimensional object with an evenly curved surface, where all points on the surface are equidistant from the center. It is often used as a simplified model in physics and mathematics.

2. How do you define a collision between perfect spheres using vectors?

A collision between perfect spheres using vectors is defined as the point at which the two spheres come into contact and their velocities and directions are altered due to the impact.

3. What are the factors that determine the outcome of a collision between perfect spheres?

The outcome of a collision between perfect spheres is determined by their masses, velocities, and impact angles. These factors affect the momentum and kinetic energy of the spheres and determine whether the collision will result in a rebound or a fusion.

4. Can the outcome of a collision between perfect spheres be predicted using mathematical equations?

Yes, the outcome of a collision between perfect spheres can be predicted using the laws of conservation of momentum and energy, as well as other mathematical equations such as the coefficient of restitution and the angle of impact.

5. What are the real-world applications of studying collisions between perfect spheres using vectors?

Studying collisions between perfect spheres using vectors has many real-world applications, such as in the field of engineering where it can help engineers design safer and more efficient structures and machines. It is also useful in the study of celestial bodies and their movements in space.

Similar threads

  • Mechanics
Replies
6
Views
1K
  • Other Physics Topics
Replies
6
Views
3K
Replies
2
Views
1K
Replies
24
Views
3K
  • Atomic and Condensed Matter
Replies
3
Views
1K
Replies
30
Views
2K
Replies
4
Views
2K
Replies
31
Views
1K
  • Introductory Physics Homework Help
3
Replies
97
Views
3K
Replies
1
Views
1K
Back
Top