How to detect contact between bodies?

SVS
SVS Altair Community Member
edited January 23 in Community Q&A

Hello,

How to detect contact between two bodies and capture motion occurred due to contact. 

As shown in below image, colored part (rotating part) should stop rotation once it touches to bolt. 

image

Contact between these two is defined but motion is not stopped when they touch. 

Result image,

image

 

How to model this stopper mechanism?

 

Best Answer

  • Praful
    Praful
    Altair Employee
    edited January 23 Answer ✓

    Hello Savan - Is there an imposed Motion on the colored part ? If yes, then that is what is cause of the behavior that you see.

    Motion is a constraint.  If you have specified a motion to make the part rotate at a particular speed or to have a particular position with respect to time, the solver will try to impose the motion. And hence it surpasses the region of contact.

    Try providing a torque instead.

    regards

    Praful

Answers

  • Orestis_YB
    Orestis_YB
    Altair Employee
    edited January 23

    Hello Savan,

    if contact is already defined between these two bodies I would suggest to first check that the proper graphics are selected. To do so, go to contact panel and check highlight contact side as shown in the picture below.
    imageIn case one of them or both are blue instead of red, uncheck the material inside option. If any of the desired graphics is not highlighted it means that it's not assigned to the body selected for the contact. Moving on to contact properties, proper parameters should be defined to avoid large geometry penetration. As for the solver settings I would suggest a maximum step size in the range of 1e-4 or check the find precise contact event option in advanced settings of contact entity panel as shown in the picture. 

    image

    You can find some more useful information regarding 3D contact - best practices in our documentation Best Practices for Running 3D Contact Models in MotionSolve or in module 5 of our MotionView E-Learning course MotionView/MotionSolve Introduction v2023 eLearning

    Hope this helps!

    Best regards,
    Orestes.

  • SVS
    SVS Altair Community Member
    edited January 23
    orestes said:

    Hello Savan,

    if contact is already defined between these two bodies I would suggest to first check that the proper graphics are selected. To do so, go to contact panel and check highlight contact side as shown in the picture below.
    imageIn case one of them or both are blue instead of red, uncheck the material inside option. If any of the desired graphics is not highlighted it means that it's not assigned to the body selected for the contact. Moving on to contact properties, proper parameters should be defined to avoid large geometry penetration. As for the solver settings I would suggest a maximum step size in the range of 1e-4 or check the find precise contact event option in advanced settings of contact entity panel as shown in the picture. 

    image

    You can find some more useful information regarding 3D contact - best practices in our documentation Best Practices for Running 3D Contact Models in MotionSolve or in module 5 of our MotionView E-Learning course MotionView/MotionSolve Introduction v2023 eLearning

    Hope this helps!

    Best regards,
    Orestes.

    Hello Orestes,

    Thanks for your reply.

    Have checked contact between bodies it's red. The maximum step size is in order of 1e-6. And meshing for the parts are fine mesh. But result remains the same. 

    image

    Can you suggest other area to be looked?

     

     

  • Praful
    Praful
    Altair Employee
    edited January 23 Answer ✓

    Hello Savan - Is there an imposed Motion on the colored part ? If yes, then that is what is cause of the behavior that you see.

    Motion is a constraint.  If you have specified a motion to make the part rotate at a particular speed or to have a particular position with respect to time, the solver will try to impose the motion. And hence it surpasses the region of contact.

    Try providing a torque instead.

    regards

    Praful

  • SVS
    SVS Altair Community Member
    edited January 23

    Hello Savan - Is there an imposed Motion on the colored part ? If yes, then that is what is cause of the behavior that you see.

    Motion is a constraint.  If you have specified a motion to make the part rotate at a particular speed or to have a particular position with respect to time, the solver will try to impose the motion. And hence it surpasses the region of contact.

    Try providing a torque instead.

    regards

    Praful

    Hello Praful,

    Thanks for your input. It worked. It was due to imposed motion through connected parts. 

    Thanks Orestes & Praful for your inputs.