PDE meshing (generateMesh) failing after solid operations
이전 댓글 표시
Hey there,
I'm trying to develop an algorithm to define, edit and solve finite elements problems using constructive solid geometry. The libs I'm using work well, but when it comes to generate the mesh, some complex geometries return the "Meshing failed for Hmax..." error whatever the Hmax, Hmin values are.
After some tests, It seems it is the very solid operation which makes the meshing fail, even if the operation is somehow "simplifying" the model, or if it leaves the model exactly the same way. An example:
Original model: Successful mesh generation


Modified (intersection with a cube to obtain a half): failed generation


How could I avoid this? For me, since the non-modified models are of the same complexity, it does not seem a "too complex geometry" problem.
Any workaround appreciated.
Thank you
댓글 수: 10
darova
2020년 6월 29일
Can you explain more how you are generating the mesh?
Pablo J. Rosado Junquera
2020년 6월 29일
darova
2020년 6월 30일
Can't you use another mesh generator? I didn't even know that 3d mesh can be generated using MATLAB
Pablo J. Rosado Junquera
2020년 6월 30일
편집: Pablo J. Rosado Junquera
2021년 9월 5일
darova
2020년 7월 1일
I can't help, sorry
MaryD
2020년 7월 1일
https://www.gibboncode.org/ maybe this will be helpfull
ADSW121365
2020년 8월 3일
There's an external tool called the FEATool which solves arbitrary PDE's, it has gmsh (my preferred mesh generated) built in and is fully scriptable so should be embeddable inside any existing optimisation codes.
Juan Peña
2021년 9월 4일
May I ask you how you perform solid operations (like boolean ones) with geometry in MATLAB?
i am actually facing a similar problem, I try to add some Vertex to the solid so to be able to extract results at that point and then the Meshing operation fails as you say.
Thanks!
Pablo J. Rosado Junquera
2021년 9월 5일
편집: Pablo J. Rosado Junquera
2021년 9월 5일
Juan Peña
2021년 9월 11일
Thanks!!! : )
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 General PDEs에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
