PDE meshing (generateMesh) failing after solid operations
Afficher commentaires plus anciens
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 commentaires
darova
le 29 Juin 2020
Can you explain more how you are generating the mesh?
Pablo J. Rosado Junquera
le 29 Juin 2020
darova
le 30 Juin 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
le 30 Juin 2020
Modifié(e) : Pablo J. Rosado Junquera
le 5 Sep 2021
darova
le 1 Juil 2020
I can't help, sorry
MaryD
le 1 Juil 2020
https://www.gibboncode.org/ maybe this will be helpfull
ADSW121365
le 3 Août 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
le 4 Sep 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
le 5 Sep 2021
Modifié(e) : Pablo J. Rosado Junquera
le 5 Sep 2021
Juan Peña
le 11 Sep 2021
Thanks!!! : )
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Geometry and Mesh dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
