Dynamical system of modelling two particle collisions

Hello, I’m trying to model a system with collision dynamics. I’m well aware of Datseris’s DynamicalBillards, contrary to that what I’m studying is collision between 2 particles rather than the fixed geometry as in billard dynamics, is there any sample of such models available in the Dynamicalsystems.ji All I can think is having a callback function to CoupledODEs

is there any other way to accomplish this or any resource to modelling such system. I’m struck at this point any pointers or leads will be highly helpful

Does HardSphereDynamics.jl suit your needs?



Thanks for the your quick response Datseris, I glanced through your Billards dynamics source and found you have written conditional cases for each of the obstacle and collisions. HardsphereDynamics.ji has incorporated similar event driven conditions. I do remember you mentioning it was your phd thesis (in julia-con?), is it published somewhere so I can get an insight on modelling? I couldn’t find link in the repository

The current dynamical system I’m working on has an interaction potential too and I’m modelling it as hamiltonian system so I am thinking along the lines of having some threshold distance in callback function to CoupledODEs and when it’s less than that, instead of numerically evolving use momentum conservation equation to feed next set of initial conditions.

I bet you have already explored this possibility, from my limited experience of callback function it wasn’t very accurate in terms of computational cycles, energy was giggling off too.

Any opinions?

Yeah DynamicalBilliards.jl was part of my PhD work, but the best description of how it works is at the docs: Internals · DynamicalBilliards.jl

To combine interaction potential of particles with billiard like behavior as well the only software I know of is a c library called octo-something or something like that that had some sort of octopus in the name. Unfortunately I can’t find the name again, but it was referred to me by ‪Esa Räsänen‬ - ‪Google Scholar‬ and his phd student. Sorry, it was long ago and I can’t invest the time now to find it… If you do find it please share and I will save it in my references library so I never forget it again!

1 Like

For reference, the SICONOS C++ library is a very good library for non-smooth dynamical system simulation, including rigid body dynamics. It’s bibliography page might be of help.
There are are for instance nonsmooth \alpha-HHT time-stepping implementations in their papers. You can also look at the Moreau-Jean or Schatzman-Paoli schemes.

1 Like