PDE meshing (generateMesh) failing after solid operations
Mostrar comentarios más antiguos
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 comentarios
darova
el 29 de Jun. de 2020
Can you explain more how you are generating the mesh?
Pablo J. Rosado Junquera
el 29 de Jun. de 2020
darova
el 30 de Jun. de 2020
Can't you use another mesh generator? I didn't even know that 3d mesh can be generated using MATLAB
Pablo J. Rosado Junquera
el 30 de Jun. de 2020
Editada: Pablo J. Rosado Junquera
el 5 de Sept. de 2021
darova
el 1 de Jul. de 2020
I can't help, sorry
MaryD
el 1 de Jul. de 2020
https://www.gibboncode.org/ maybe this will be helpfull
ADSW121365
el 3 de Ag. de 2020
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
el 4 de Sept. de 2021
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
el 5 de Sept. de 2021
Editada: Pablo J. Rosado Junquera
el 5 de Sept. de 2021
Juan Peña
el 11 de Sept. de 2021
Thanks!!! : )
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Geometry and Mesh en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
