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 Kommentar

Yifeng Tang
Yifeng Tang am 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.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Steve Miller
Steve Miller am 4 Jun. 2021

0 Stimmen

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

Gefragt:

am 16 Apr. 2021

Beantwortet:

am 4 Jun. 2021

Community Treasure Hunt

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

Start Hunting!

Translated by