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 中查找有关 Geometry and Mesh 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
