Contact Simulation in SimMechanics

4 views (last 30 days)
Ian
Ian on 23 Jun 2014
Answered: Kudabadu Kumara on 13 May 2019
Hi,
Is Contact simulation possible in Simmechanics 2nd gen?? I tried to understand the double wishbone suspension and i quite don't see where the contact conditions are specified. They have used Hard stop in the L/R bed but isn't hardstops are to control the motion of each part? It looks like there are separate inputs for each parts to move in such a way. Now If i want to do some simulations with contacts I'm not sure how should i proceed.
Could anyone enlighten on this one.
Best, Vishnu.

Answers (4)

Steve Miller
Steve Miller on 6 Aug 2017
For 1D contact problems where only viscous friction is present, the hardstop block may be sufficient. However, for 2D and 3D problems or if the friction force depends on the normal force, I recommend looking at the File Exchange submission Simscape Multibody Contact Forces Library. It contains a library of blocks for use with Simscape Multibody that detect collision between various shapes, calculates the normal force and friction force on each part, and applies them to the colliding parts.
Below are a few animations that test models included in the submission. The Simscape Multibody Contact Forces Library contains the library for current and previous MATLAB releases.
Thanks,
--Steve
Here is another one:

Ian
Ian on 27 Jun 2014
Hi Tony, I have attched an example file. You can see the Rod passing through the wall. I tried using Rotational hardstop. Now the only data I would change for every simulation is the position of the Wall. Maybe increase or decrease the distance between Wall and Block. The Rod should stop once it hits the wall.

Zafb
Zafb on 3 Feb 2016
See this file which I found somewhere. It uses the Translational hard stop to successfully achieve contact.

Kudabadu Kumara
Kudabadu Kumara on 13 May 2019
Hello
can you send me the version for Matlab2017b, please?
kumara.kjc@gmail.com
Thanks.

Categories

Find more on Applications in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!