Problem in modeling with Simscape Multibody Contact Forces Library
1 次查看(过去 30 天)
显示 更早的评论
I am trying to model sphere resting on a plane using Simscape Multibody Contact Forces Library, but as soon as distance between sphere and plane is made zero, it bounces uncontrollably as in picture below, how can I adress this problem?![Capture.PNG](https://www.mathworks.com/matlabcentral/answers/uploaded_files/254688/Capture.png)
![Capture.PNG](https://www.mathworks.com/matlabcentral/answers/uploaded_files/254688/Capture.png)
0 个评论
回答(1 个)
Ben Rancici
2020-3-26
Have you tried the recomendations given in the library readme?
Recommendations:
1. Start with stiffness of 1e4 and damping of 1e2 and adjust from there.
2. Use solver ode15s, Relative Tolerance = 1e-4, Absolute Tolerance = 1e-5
and set the maximum step size to 1e-2.
3. If you get unexpected behavior (parts flying through one another,
system gaining energy) your tolerances are not small enough.
Reduce tolerances by a factor of 10 and max step size by a factor of 10
until you get expected behavior. Reducing stiffness and increasing damping
can also help.
Note that the stifness and damping parameters souhld be adjusted depanding on your solid mass.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Assembly 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!