3
$\begingroup$

I want to have elastic collisions in my Newtonian physics simulator, but in the one physics class I've taken we only used momentum when analyzing elastic collisions, and my simulator is totally force-based.

If two pointlike objects are colliding with given velocities and masses, what forces should I have them exert on each other in order to simulate a perfectly elastic collision?

$\endgroup$
7
  • 1
    $\begingroup$ There's a reason you analyzed such collisions in terms of momentum. The required force is a dirac-delta function of the distance between the particles, which is a strange mathematical object students normally don't encounter until their first quantum mechanics course. $\endgroup$
    – David H
    Aug 27, 2013 at 4:39
  • $\begingroup$ Oh, wow. That's really upsetting. Do you know if there's a good heuristic of some kind? I don't want to break my simulation's "purity" and directly edit velocity. $\endgroup$
    – Eli Rose
    Aug 27, 2013 at 4:49
  • $\begingroup$ Sorry, I'm not the right person to ask for advice on computer simulations. :( $\endgroup$
    – David H
    Aug 27, 2013 at 5:01
  • $\begingroup$ Is this a 1D or 2D/3D simulator? $\endgroup$
    – Kyle Oman
    Aug 27, 2013 at 18:26
  • $\begingroup$ @Kyle It's a 2D simulator $\endgroup$
    – Eli Rose
    Aug 27, 2013 at 19:24

1 Answer 1

3
$\begingroup$

This question seems to be closer to the Computational Science group rather than Physics. In brief, any central potential force would do this - Lennard-Jones, Coulomb (better use screened Coulomb), the exact form doesn't matter; any of these forces will result in motion conserving total mechanical energy and momentum so an elastic "collision" motion will follow inevitably. There is a whole field of computational science called Molecular Dynamics (MD) where details of this are worked out, I suggest checking out http://en.wikipedia.org/wiki/Molecular_dynamics#Potentials_in_MD_simulations

$\endgroup$
2
  • $\begingroup$ This comes with some caveats I think. If the time resolution of the simulation is too long, particles can potentially move through each other without an collision-like interaction. This is easy to deal with in 1D (don't let particle order change, go back and decrease timestep instead), but in 2+ dimensions it gets tricky. I'd also recommend an approximated potential that actually goes to zero at some reasonable radius instead of an exponential (or other) decay to save on computation, but whether that's important depends on how many particles are being simulated. $\endgroup$
    – Kyle Oman
    Aug 27, 2013 at 18:29
  • $\begingroup$ The Lennard-Jones potential has a minima point, which might cause attractive forces to develop between particles. Wouldn't really want that when you want to simulate normal force between particles. Although you could cleverly set the minima to be such that the particles seem to touch at that point. $\endgroup$
    – udiboy1209
    Aug 29, 2013 at 16:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.