How can I stack flexible bodies while using spatial contact forces between them?
1 次查看(过去 30 天)
显示 更早的评论
The problem I am having stems from trying to model vibration imparted on the floor, and the resultant "jiggling" of a stack of bodies which are on the floor. I have modeled the floor vibration as an "External Force and Torque" block, with a sine input to oscillate the floor which is connected to the block established as the "World Reference Link" via a prismatic joint.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1270130/image.png)
This then allows the vertical vibration of the floor to be modeled by shifting a "Rigid Body" ("Floor") block which I am trying to use "Spatial Contact Force"s to see the resultant "jiggle" of the bodies ("Legs" / "Vibration Dampers" / "Table Top").
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1270135/image.png)
(^^^ is the "Spatial Contact" Subsystem from within the first image)
The flexible bodies do not have an "Export Geometry" port which would be my immediate guess for how to model this.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1270140/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1270145/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1270150/image.png)
Left: "World Reference Link" or "Ground" Subsystem. Right: "Legs" / "Vibration Dampers" / "Table Top" subsystem.
I am having a few problems:
- The plane to plane spatial contact force is not a supported geometry combination, but I have stacked "boxes", which would be plane to plane
- There is no matching port from a fexible body to connect to the spatial contact force input(s), so is this even a "legal" operation, and if not how can I approximate/simulate this? NOTE: The intent of the floor vibration is to be VERY small, nowhere near enough force to launch the bodies out of contact from each other.
- Rigid transforms seem to do nothing when applied to a flexible body, could that be further messing with the contact forces?
0 个评论
回答(1 个)
Steve Miller
2023-2-12
The Spatial Contact Force block has a geometry port as its interface. You can attach rigid geometry to the flexible body blocks at their interface frames and connect that geometry to the Spatial Contact Force block. For plane-to-plane contact, we generally recommend having one plane represented as a flat surface (such as a Brick solid) and the other surface represented as points (using something like Point Cloud).
You will need an interface on the flexible body for each plane segment you wish to contact another body.
--Steve
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Applications 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!