Meshing failed with generateMesh "...adjusting Hmax and Hmin may resolve the problem"

15 ビュー (過去 30 日間)
Son Bui
Son Bui 2020 年 4 月 30 日
コメント済み: George Xystouris 2020 年 10 月 21 日
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 件のコメント
George Xystouris
George Xystouris 2020 年 10 月 21 日
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 :)

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeGeometry and Mesh についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by