Antoine – my suggestion, at this point is this:

  *   Simplify your Chrono model to the bare-bone minimum, which still shows 
the problem that you are mentioning.
  *   Post this simplified model here on the forum.
  *   We might be able to provide help by looking at the simple model that 
still shows the pathological behavior you pointed out
NOTE: If you post here, the Chrono model will be in the public domain.
Dan
---------------------------------------------
Bernard A. and Frances M. Weideman Professor
NVIDIA CUDA Fellow
Department of Mechanical Engineering
Department of Computer Science
University of Wisconsin - Madison
4150ME, 1513 University Avenue
Madison, WI 53706-1572
608 772 0914
http://sbel.wisc.edu/
http://projectchrono.org/
---------------------------------------------

From: 'Antoine Laborde' via ProjectChrono <[email protected]>
Sent: Wednesday, October 1, 2025 7:12 AM
To: ProjectChrono <[email protected]>
Subject: [chrono] Contact detection on mesh objects

Dear all,

I work on watch parts simulation through rigid body dynamics. I had problems 
with contact detection between some parts so I decided to build the simplest 
scenario where I get the problem.
This scenario is the simulation of gears (as mesh objects). The problem is that 
the teethes of the gears don't collide, they go through each others. The script 
does the following:
- load the STL files of the gears
- create ChBody for each gear
- add triangle mesh visualization shape
- add collision shape using ChCollisionShapeTriangleMesh
- apply a torque to one of the gears using AccumulateTorque() until a speed of 
0.05 rad/s is reached

I am using ChSystemNSC with BULLET collision detection. I checked project 
chrono documentation page on collision detection and tuned the contact envelope 
and margin but didn't get any result. To make sure it was not due to the 
accuracy, I reduced the speed of the gear and set the time step to 0.001 s.
When I launch one gear on the other, like throwing a ball on another, the 
collision occurs.

I don't have a lot of experience on rigid body analysis so any feedback would 
be greatly appreciated !
Best,
Antoine
--
You received this message because you are subscribed to the Google Groups 
"ProjectChrono" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
[email protected]<mailto:[email protected]>.
To view this discussion visit 
https://groups.google.com/d/msgid/projectchrono/013ce180-1ec7-4d6a-95c1-e6e91e3c81f2n%40googlegroups.com<https://urldefense.com/v3/__https:/groups.google.com/d/msgid/projectchrono/013ce180-1ec7-4d6a-95c1-e6e91e3c81f2n*40googlegroups.com?utm_medium=email&utm_source=footer__;JQ!!Mak6IKo!L9oSv3t3UeYX__WG-7NgV5TZAMdNfD_pj2RhSNjVXMHPgBmc7F9cA5d3gaBhBAXqayv21y5HWxTVIvw1hyzhhtVFTfI$>.

-- 
You received this message because you are subscribed to the Google Groups 
"ProjectChrono" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/projectchrono/DM8PR06MB7703645AE2ADCC9A2BE822BFB1E6A%40DM8PR06MB7703.namprd06.prod.outlook.com.

Reply via email to