Sphere to Plane Contact Force : problem with an impact

11 次查看(过去 30 天)
I'm modelling a ball ,rolling on a plane, that hurts a wall . I modelled the contact between sphere and the wall with the block Sphere to Plane Contact Force , but i have a problem : the wall doesnt stop the ball, it passes through it and then it's thrown away because of some force .. do u know how can i find block parameters( such as Stiffness and Damping ) that would allow the wall to block the ball ? thanks

采纳的回答

Sulaymon Eshkabilov
You should use in this case "ODE event location" opts while building your model.
See: https://www.mathworks.com/help/matlab/math/ode-event-location.html
  1 个评论
Alessandro Loiacono
编辑:Alessandro Loiacono 2021-8-2
Thanks for the answer , now i'm building up a parameter that indicates the distance between the ball and the wall' s frames( with a transform sensor and a ps-simulink converter, storing the variable to the workspace using also the simout block)so i can control it when it comes to 0 (no distance between wall and ball ---> collision). With a Ode as you suggest i hope to achieve it

请先登录,再进行评论。

更多回答(0 个)

类别

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