Question about contact model between particle and geometry?
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
Best 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.
RegardsStephen
0
Answers
-
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.
RegardsStephen
0 -
Stephen Cole_21117 said:
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.
RegardsStephen
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
0 -
Raheem Sterling_22160 said:
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
0