Simscpe can't read the density value

8 views (last 30 days)
lihao
lihao on 16 Apr 2021
Answered: Steve Miller on 4 Jun 2021
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 Comment
Yifeng Tang
Yifeng Tang on 26 Apr 2021
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.

Sign in to comment.

Answers (1)

Steve Miller
Steve Miller on 4 Jun 2021
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

Tags

Community Treasure Hunt

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

Start Hunting!