Simscpe can't read the density value
显示 更早的评论
I have set the density value ,but the simscpe can't read the value in the simulink.
['pump/File Solid']: The density value was not found in the specified geometry file. Resolve this issue in order to simulate the model.
1 个评论
Yifeng Tang
2021-4-26
It's very difficult to tell what might be the issue without further details. Looks like the solid block is expecting density as part of the imported geometry file (I supposed from CAD?). Sharing some screenshots and explanation of what you are trying to do and have tried may help.
回答(1 个)
Steve Miller
2021-6-4
0 个投票
Hi Lihao - some geometry files do not have the density specified in them. In those cases, you need to specify the density value in the File Solid block directly. There is a dropdown in the File Solid block under "Inertia", "Type" where you can set it to "Custom" and specify the value directly. If you have many blocks that need this value, you can use the set_param() function to do it programmatically.
--Steve
类别
在 帮助中心 和 File Exchange 中查找有关 Bodies 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!