Best ways to repair bad stl mesh?
Hi all,
I've got two messy stl files exported from nTop with approximately 1 million tria elements and quite a few issues concerning connectivity, aspect ratio, warpage, intersecting etc. What's the best way to repair the mesh automatically? I've tried remeshing, smoothing, equivalence, rebuild etc but it either did not result in a satisfying mesh or took too long to finish. It's too much to do manually and the tutorials don't cover meshes this messed up. One of the meshes is attached to this post. Thanks in advance for your replies.
Answers
-
The first thing to know: STL is not suitable format for FEA, even you can do some FE works on this format.
When you want to better STL, the best method is return to his CAD model and build better STL, with better parameters.
If you does not have the CAD, you can try to refine STL 'mesh' but that needs a lot of work.
All examples in tutorials, for ANY software, were selected, tested to fit ... un tutorial which shows you some basic method only.
0 -
I know that it is generally not suited for FEA, but there is no other option. nTop is no common CAD program, if you take a look at the file you'll see that it's not a geometry that can be easily generated with a normal boundary representation modelling method which is why a mesh representation is the only way to go.
Regardless of the nature of stl etc, what would be the best option in Hypermesh to get a tetra mesh? It doesn't even need to be pretty, it just has to run without element quality checks.
0 -
Just have a look at your STL. It's not so complicated to rebuild surfaces directly with Hypermesh?
0 -
-
I don't think you can repair it automatically. But if you are not afraid to work, it's possible.
0 -
That would take far too long. Well, I'll see how to handle this.
0 -
maybe you could try the shrink wrap mesh and create a new mesh wrapping you current component. It will not follow perfectly, but depending on what you need, the tight wrap might help you.
Also SimLab in general is a good tool for working on STL files and generate a solid tetra mesh. There are some links to it at SL Forum, for the SimLab Learning Center.
0 -
Altair Forum User said:
That would take far too long. Well, I'll see how to handle this.
Yes, I just see the internal mesh. Wow, a lot of work.
0 -
@Adriano A. Koga The image above doesn't show it, but there is an internal structure that doesn't get captured by a shrink wrap, unfortunately. Otherwise, it might indeed simplify the task. But I'll take a stab at SimLab, thanks for the hint.
@Q.Nguyen-Dai Yes it is. My best bet is probably to generate a new mesh in nTop until it's acceptable since this is just a mess, but that might take just as long as repairing it manually.
0 -
@Ingeniorator: Is this a academic work?
If it's not the case, and if you would like subtract this work, contact me @GDTech
0 -
It is, however I don't quite get what you're trying to tell me. What do you mean by 'subtract'?
0 -
i believe he meant subcontract. /emoticons/default_smile.png' srcset='/emoticons/smile@2x.png 2x' title=':)' width='20' />
0 -
Altair Forum User said:
i believe he meant subcontract. /emoticons/default_smile.png' srcset='/emoticons/smile@2x.png 2x' title=':)' width='20' />
Yes. It's my typo.
Thanks Adriano.
0 -
Oooh alright /emoticons/default_biggrin.png' srcset='/emoticons/biggrin@2x.png 2x' title=':D' width='20' /> There's no need, but thanks for the offer. I remembered that there's an option in nTop to create voxel meshes which allows for much better quality meshes with this type of geometry. Hooray for bad memory, it keeps life interesting!
0 -
@Q.Nguyen-Dai On another note, what does this error message mean? It pops up when I try to create a tetra mesh. Is it due to poor 2d mesh quality or is it something else?
<?xml version="1.0" encoding="UTF-8"?>
Ok got it, apparently it was because of intersecting 2d-elements.
0