Dynamic wall constraint with MATLAB

조회 수: 2 (최근 30일)
Federico Giannetti
Federico Giannetti 2022년 5월 25일
답변: Ninad 2024년 1월 21일
Hello to everyone,
I'm developing a script to analyze the motion of a quadratic object inside a box, that is pushed out with a spring. At the contact between the walls and the object, I apply the wall reactions.
If the wall reaction is strong, the object bounces and the model works, but if the wall reaction is weak, the object crosses the wall and the model fails, as in figure:
How can i bind the object on the wall in case of contact? In this way, even if the reaction is weak, the object doesn't cross the wall and the model should work.
Thanks to everyone.

답변 (1개)

Ninad
Ninad 2024년 1월 21일
Hi Federico,
As per my understanding, you are developing a script to analyze the motion of a quadratic object inside a box, that is pushed out with a spring. If the wall reaction is strong, the object bounces, otherwise it breaks the wall and the model fails.
In the Simulink Library browser go to Simscape > Multibody. Model the bodies of an articulated mechanical assembly. Refer the following documentation to understand how to select the correct blocks and tweak their physical bodies for your requirement:
You can refer the following article to model the contact forces between two solids:
Hope this helps.
Regards
Ninad

카테고리

Help CenterFile Exchange에서 Simscape Multibody에 대해 자세히 알아보기

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by