Question about contact model between particle and geometry?

Raheem Sterling_22160
Raheem Sterling_22160 Altair Community Member
edited August 2023 in Community Q&A

Hi,

I have introduced a contact model contains Hertz contact model, in the EDEM->physics->particle-particle, I only chose the "dll" and no base model, in the  in the EDEM->physics->particle-geometry, I chose the "Hertz-Mindlin(no slip)", will this have confilct? Becasue in this setting, the total force of geometry seems not right?

Thanks

Tagged:

Best Answer

  • Stephen Cole
    Stephen Cole
    Altair Employee
    edited August 2023 Answer ✓

    Hi Raheem,


    It shouldn't have a conflict if the .dll is only applied to particle-particle and you have no base model chosen.

     

    There are some shared variables between particle-particle and particle-geometry models such as custom simulation properties however the standard Hertz-Mindlin model built-in doesn't use any of these functions.  


    Regards

    Stephen

Answers

  • Stephen Cole
    Stephen Cole
    Altair Employee
    edited August 2023 Answer ✓

    Hi Raheem,


    It shouldn't have a conflict if the .dll is only applied to particle-particle and you have no base model chosen.

     

    There are some shared variables between particle-particle and particle-geometry models such as custom simulation properties however the standard Hertz-Mindlin model built-in doesn't use any of these functions.  


    Regards

    Stephen

  • Raheem Sterling_22160
    Raheem Sterling_22160 Altair Community Member
    edited August 2023

    Hi Raheem,


    It shouldn't have a conflict if the .dll is only applied to particle-particle and you have no base model chosen.

     

    There are some shared variables between particle-particle and particle-geometry models such as custom simulation properties however the standard Hertz-Mindlin model built-in doesn't use any of these functions.  


    Regards

    Stephen

    Hi Stephe,

    As you said, if in my code, I didn't write code like if(true == element2.isSphere) in the CalculateForce(), once I applied .dll to the particle-particle, the force between particle and geometry will not be calculated and return here?

    Regards

    Raheem

  • Stephen Cole
    Stephen Cole
    Altair Employee
    edited August 2023

    Hi Stephe,

    As you said, if in my code, I didn't write code like if(true == element2.isSphere) in the CalculateForce(), once I applied .dll to the particle-particle, the force between particle and geometry will not be calculated and return here?

    Regards

    Raheem

    Hi Raheem,

     

    If you only load the .dll into particle to particle then element2 will always be a sphere (particle) element.

    It would only ever call element2 as geometry if you also load the .dll into particle to geometry.

    It is best practice to add if(true == element2.isSphere) to take into account any 'user error' of loading the model into the wrong area however if setup as you describe with particle to particle only then it wouldn't make a difference.

    Regards

    Stephen