Issue with STL geometry and pde toolbox

10 Ansichten (letzte 30 Tage)
Tugrul Öztürk
Tugrul Öztürk am 9 Nov. 2020
Bearbeitet: Tugrul Öztürk am 9 Nov. 2020
I want to use the pde toolbox for solving structural modal problems. For this I just started with the examples provided with matlab software.
Firstly I used the exmaple for calculating the natural frequencies of a square plate with dimensions 10x10x1: This script works fine and the natural frequencies are plausible. For training purpose, I just designed a simple beam and converted it to STL file and imported it with "importGeometry" functon. However, I clampled the beam one side and caluclated the natural frequencies, but I figured out that a.) takes very long and b.) I'am getting over thousand of natural frequencies which are similiar to each other. Also the modeshapes looks like I have some modes with spikes of the surface. I guessed that there is something wrong with the geometry, so I exported a square plate with 10x10x1 as mentioned in the example above and getting the same strange behaviour using the code of the example !
I think there can be an issue with the STL geometry.. So is there any special things I have to consider when I export STL files from the CAD software ?
Thanks !
Best regards,

Akzeptierte Antwort

Ravi Kumar
Ravi Kumar am 9 Nov. 2020
Check the dimensions of the expoerted geometry. Some tools export by default in mm, you mght be seeing many more frequenceis if you have model is mm and propeties in SI unites.
  2 Kommentare
Tugrul Öztürk
Tugrul Öztürk am 9 Nov. 2020
Bearbeitet: Tugrul Öztürk am 9 Nov. 2020
Update: Thank you for the good hint Ravi... it was a realy stupid mistake... wasting time....
For all who have the same issue, I solved it like shown below:
geom = importGeometry(model,'FileName.stl');
scale(model.Geometry,1E-3); % 1E-3, when you have to scale from mm to m
or you can use
since geom is the handle pointing to the geometry saved in the model object (here "modal-solid")
Now, the natural frequencies are plausible and the "real" work can begin :)
Best regards,

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by