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 comentario

Yifeng Tang
Yifeng Tang el 26 de Abr. de 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.

Iniciar sesión para comentar.

Respuestas (1)

Steve Miller
Steve Miller el 4 de Jun. de 2021

0 votos

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

Productos

Etiquetas

Preguntada:

el 16 de Abr. de 2021

Respondida:

el 4 de Jun. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by