Simscape multibody: How to simulate a cylinder rolling down an irregular surface
Hello to all,
I am a beginner to using simulink and I am trying to use simscape to model a cylinder rolling down an irregularly shaped incline. I used the documentation on how to model a wheel rolling down a straight incline to make my model (https://nl.mathworks.com/help/sm/ug/model-a-rolling-wheel.html) but I replaced the brick solid with a custom file.
Model in the custom file:
When I simulate the cylinder it does not behave like I would expect with the cylinder sort of "hovering" over the concave areas whilst flailing and drifting around.
From what I have read, it seems this has to do with the convex hull representation of the object that the contact force block uses. However, I am not sure how to fix this. Is there any way of specifying the block not to use convex hull? Or how could I go about fixing this model?
Any help is appreciated :)Hello to all,
I am a beginner to using simulink and I am trying to use simscape to model a cylinder rolling down an irregularly shaped incline. I used the documentation on how to model a wheel rolling down a straight incline to make my model (https://nl.mathworks.com/help/sm/ug/model-a-rolling-wheel.html) but I replaced the brick solid with a custom file.
Model in the custom file:
When I simulate the cylinder it does not behave like I would expect with the cylinder sort of "hovering" over the concave areas whilst flailing and drifting around.
From what I have read, it seems this has to do with the convex hull representation of the object that the contact force block uses. However, I am not sure how to fix this. Is there any way of specifying the block not to use convex hull? Or how could I go about fixing this model?
Any help is appreciated 🙂 Hello to all,
I am a beginner to using simulink and I am trying to use simscape to model a cylinder rolling down an irregularly shaped incline. I used the documentation on how to model a wheel rolling down a straight incline to make my model (https://nl.mathworks.com/help/sm/ug/model-a-rolling-wheel.html) but I replaced the brick solid with a custom file.
Model in the custom file:
When I simulate the cylinder it does not behave like I would expect with the cylinder sort of "hovering" over the concave areas whilst flailing and drifting around.
From what I have read, it seems this has to do with the convex hull representation of the object that the contact force block uses. However, I am not sure how to fix this. Is there any way of specifying the block not to use convex hull? Or how could I go about fixing this model?
Any help is appreciated 🙂 simscape, roll, simulink MATLAB Answers — New Questions
​