What are the differences between "Spatial Contact Force" block in Simulink/Simscape Multibody Library and "Simscape Multibody Contact Forces Library", if any?
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Hakan Ertugrul
il 25 Mar 2021
Commentato: Hakan Ertugrul
il 25 Mar 2021
Hello,
Is there any difference between "spatial contact force block" in Simulink/Simscape Multibody Library and "Simscape Multibody Contact Forces Library"?
- Spatial Contact Force Block: https://www.mathworks.com/help/physmod/sm/ref/spatialcontactforce.html
- Simscape Multibody Contact Forces Library: https://www.mathworks.com/matlabcentral/fileexchange/47417-simscape-multibody-contact-forces-library
As far as I see, both of them works in the same manner however Spatial Contact Force block is a plug-and-play block whereas Simscape Multibody Contact Forces Library requires to determine the possible contact types in advance and requires to use related contact-type blocks accordingly.
Are there any advantages or disadvantages of one over the other?
Thanks in advance.
Best regards,
Hakan
0 Commenti
Risposta accettata
Steve Miller
il 25 Mar 2021
Both are intended to help users model contact forces in Simscape Multibody models. If the Spatial Contact Force meets your needs, I highly recommend you use that block.
The Simscape Multibody Contact Forces Library was created long before the Spatial Contact Force block was added to Simscape Multibody. We created that library to examine use cases and prioritize features for the Spatial Contact Force block. We are maintaining that library on the File Exchange because it is an example of how you could create your own custom contact force law and custom friction law. If you are stuck in a release prior to when the feature you need was added to the Spatial Contact Force block, you could use that library.
Users of the Simscape Multibody Contact Forces Library should be able to (relatively) easy upgrade their models to the Spatial Contact Force block. There are a few contact types that are not (yet) direcly supported by the Spatial Contact Force block (inner surfaces of cylinders, cones, and spheres) but there are new options being added reach release so keep checking.
--Steve
3 Commenti
Steve Miller
il 25 Mar 2021
This looks good to me! Depending on the degrees of freedom involved (if the peg, for example, cannot rotate), you might even be able to get away with just Joint Limits along some degrees of freedom. The option you have chosen is the most general and should work fine.
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Assembly in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!