PDE meshing (generateMesh) failing after solid operations
Ältere Kommentare anzeigen
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 Kommentare
darova
am 29 Jun. 2020
Can you explain more how you are generating the mesh?
Pablo J. Rosado Junquera
am 29 Jun. 2020
darova
am 30 Jun. 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
am 30 Jun. 2020
Bearbeitet: Pablo J. Rosado Junquera
am 5 Sep. 2021
darova
am 1 Jul. 2020
I can't help, sorry
MaryD
am 1 Jul. 2020
https://www.gibboncode.org/ maybe this will be helpfull
ADSW121365
am 3 Aug. 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
am 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
am 5 Sep. 2021
Bearbeitet: Pablo J. Rosado Junquera
am 5 Sep. 2021
Juan Peña
am 11 Sep. 2021
Thanks!!! : )
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu General PDEs finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
