How to get post-collision velocity in custom contact model?

fang yanwei
fang yanwei Altair Community Member
edited April 12 in Community Q&A

Hi,

I'm trying to track collisions in an EDEM custom contact model. When the custom contact model is called for the first time, I can get the pre-collision velocity by outputting the velocity immediately. But I'm finding it difficult to determine when to output the post-collision velocity because I don't know when the contact is complete.

Fang Yanwei

2024.04.12

Tagged:

Answers

  • Renan
    Renan
    Altair Employee
    edited April 12

    Hi Fang,

    If you define a contact radius for your particles then you could use that to determine when the collision is done. When particles first get in "touch", the contact overlap will be positive but the physical overlap will be negative. Eventually, both contact and physical overlap will be positive and at the end of the collision, the contact overlap will still be positive but the physical overlap will be negative again. You can use this fact to determine when the collision is over.

    Best regards,

    Renan