-
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Thanks for the report and the fully working example. I am able to reproduce the error message you are seeing. I also checked the logs in the validation tests I run on each HOOMD-blue release and find the same messages there. At the same time, these strict validation tests pass within differences less than two standard deviations of the mean (images below). I am not the original developer of the NEC code, so can only guess at the intent of this message. What is happening is that the particle being moved collides with two other particles at exactly the same time. I don't know how this is happening (the chances of a 3-way collision should be vanishingly small), but it is. In event-driven MD simulations (EDMD), my understanding is that a 3-way collision is an error as the velocities of all three particles cannot be correctly updated reflecting energy and momentum conservation. NEC borrows the idea of energy and momentum conserving collisions from EDMD, but applies them in a Monte Carlo context. In that context, NEC will produce valid equilibrium distributions no matter what velocities are chosen after the collision, whether they are Newtonian, random, or even fixed (see the original event chain Monte Carlo algorithm as an example). Read the paper on NEC and you will see that the Newtonian collisions significantly decrease the time needed to sample phase space. In other words, the error message is not actually an error. It is only noting that what should be an extremely rare event occurred. I will remove the message in a future release. When a 3-way collisions occurs, NEC solves the elastic collision between two of the particles and does not modify the velocity of the third. Hard disks (hoomd-blue 5.1.1): |
Beta Was this translation helpful? Give feedback.
Thanks for the report and the fully working example. I am able to reproduce the error message you are seeing. I also checked the logs in the validation tests I run on each HOOMD-blue release and find the same messages there. At the same time, these strict validation tests pass within differences less than two standard deviations of the mean (images below).
I am not the original developer of the NEC code, so can only guess at the intent of this message. What is happening is that the particle being moved collides with two other particles at exactly the same time. I don't know how this is happening (the chances of a 3-way collision should be vanishingly small), but it is. In event-driven MD …