How to add a spring between the ends of two rods?

1 visualizzazione (ultimi 30 giorni)
奇 刘
奇 刘 il 9 Mar 2022
Risposto: Steve Miller il 26 Nov 2022
Hello!
Now I use simscape for simulation. In my simulation file, there are six rigid rods. There needs to be a spring connection between the end of each rod and the end of other rods. When the distance between the two ends is greater than the initial length of the spring, the spring provides tension, and when it is less than the original length, no force will be generated.
I tried to connect 'spring and damper force' between the ends of the rod, but I couldn't see the spring after running, and the spring didn't seem to work.The explicit subsystem in the figure is composed of springs. The port represents the end point of the rod. The end points of each rod are connected by springs, but this connection method fails.
I want to know which modules I need to realize this function?
Any help would be appreciated! Thanks a lot!
  1 Commento
奇 刘
奇 刘 il 9 Mar 2022
I have solved this problem now. The spring and damper force module can be used, but the spring cannot be seen in the simulation. Is there any way to visualize the spring?

Accedi per commentare.

Risposte (1)

Steve Miller
Steve Miller il 26 Nov 2022
Attached to this comment is a zip file that enables you to create a simple visualization of springs within the Mechanics Explorer.
See it if helps you.
--Steve

Categorie

Scopri di più su Simscape Multibody in Help Center e File Exchange

Prodotti


Release

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by