🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

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

User: "fyw"
Altair Community Member
Updated by fyw

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

Find more posts tagged with

Sort by:
1 - 1 of 11
    User: "Renan"
    Altair Employee
    Updated by Renan

    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