🎉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 detect particles inside contact radius?

User: "satri"
Altair Community Member
Updated by satri

Hello 

I am trying to use Hertz-Mindlin API to implement screening distance. But unfortunately I am able to activate the API only when physical contact happens.

Can you please tell me how to get away from this?

I have selected this in the factory.

image

and In API

image

If I activate line 205 and 206 it does not get activated when there is contact overlap (in the absence of physical overlap)

please tell me if I'm doing anything wrong

 

 

Find more posts tagged with

Sort by:
1 - 3 of 31
    User: "Stephen Cole"
    Altair Employee
    Updated by Stephen Cole

    Hi Shyam,

    The code looks OK to me.  Do you definitely have particles with contact radii set in the simulation? Have you tried debugging to see what happens when you hit that IF statement.

    Regards

    Stephen

    User: "satri"
    Altair Community Member
    OP
    Updated by satri
    Hello Stephen

    Yes I am positive I have the particles inside contact radius. Not sure why it's still not detecting it. Even in debug mode the contact model only gets activated when the particles come in physical contact.

    User: "satri"
    Altair Community Member
    OP
    Updated by satri

    Never mind this was my confusion

    I was under the impression that 

    image

     

    The condition on line 203 is for actual physical overlap.

    Your terminology on EDEM is confusing; as a user, I would think

    contact.normalPhysicalOverlap <= 0.0 -> This is a condition for when the particles physically overlap

    and 

    contact.normalContactOverlap >= 0.0 -> this is the condition when the contact radius overlaps

    but its the other way around

    contact.normalPhysicalOverlap <= 0.0 -> This is a condition for when the contact radius overlap

    contact.normalContactOverlap >= 0.0 -> this is the condition when the physical radius of the particles overlaps

    I can stop the program when the contact radius starts overlapping