Meshing failed with generateMesh "...adjusting Hmax and Hmin may resolve the problem"
15 views (last 30 days)
Show older comments
Dear all,
I used generateMesh for meshing my *.stl file as attached. The message is:
Error using Meshing_hard_propeller (line 15)
Meshing failed with a Hmax of 1.000000 and a Hmin of 0.500000, adjusting Hmax and Hmin may resolve the problem.
I have change various values of Hmax but it can not run until now. The code is below:
"clc
clf
clear
model = createpde(3);
importGeometry(model,'Rigid propeller 3D builder MM fixed.stl');
generateMesh(model,'Hmax',1)
structuralmodel = createpde('structural','static-solid')
pdeplot3D(model);
axis equal;
hold on;"
Please give me your idea to debug. Thank you very much!
1 Comment
George Xystouris
on 21 Oct 2020
Hi there!
From my experience, as an novice on 3D stuff on MATLAB:
As a first approach I'd suggest to play with either the Hmax, or Hmin - preferable not both simultaneously. I found that if you want the highest possible analysis you set the Hmax value, e.g. generateMesh(model,'Hmax',1.3), while if you want a lighter model you set the Hmin value, e.g. generateMesh(model,'Hmin',0.5).
Also, there were occasions that while MATLAB was creating a model from an imported geometry with pdegplot(model), it was unable to retrieve the mesh from the geometry.
Hope it helped :)
Answers (0)
See Also
Categories
Find more on Geometry and Mesh in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!