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
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
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

カテゴリ

タグ

質問済み:

2021 年 4 月 16 日

回答済み:

2021 年 6 月 4 日

Community Treasure Hunt

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

Start Hunting!

Translated by