How to limit the min and max length of Cylindrical joint block?(sms​cape->mult​ibody->cyl​indrical joint)

2 views (last 30 days)
I want to limit the distance of two body which are connected by cylindrical joint.Because I need the strike force of two body,but they are through each other and cannot contact with each other in simulink simulation.So I need a way to limit the max and min distance of two body.

Answers (2)

Steve Miller
Steve Miller on 19 Jul 2018
I recommend you look at the Simscape Multibody Multiphysics Library. It shows how to solve this exact problem on a Prismatic Joint. For a Cylindrical Joint, you need to make sure you enable the connection using the Pz degree of freedom.
--Steve

duncan duncan
duncan duncan on 19 Jul 2018
Edited: duncan duncan on 19 Jul 2018
This is a min state.
This is a max state.
rod1_RIGID is body1,and shell1_RIGID is body2.I need face1 and face2 strike,and get the strike force.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!