- This topic has 3 replies, 2 voices, and was last updated 6 years, 8 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
Home › Forum › SOFA › Using SOFA › [SOLVED] Generating mesh with CGAL
Tagged: 64_bits, CGAL, CGALplugin, Linux_ubuntu, Mesh, SOFA_1712
Hi!
I’ve been trying to generate the .vtk file with the CGAL plugin from a STL but I don’t know why the tetrahedras are “disconnected” from one another. I’m not able to adjust the parameters so that the mesh model is under 2k vertices AND it’s all connected.
The mesh I’m trying to generate is from this STL (is hollow and 2mm thick):
https://drive.google.com/open?id=1LHFEJX6FCJe579N8jr2hyE4v2oJGgdYE
And the mesh I obtain looks like this:
https://drive.google.com/open?id=1zOOZ5_QRcCV3evc24hI5CWjwaCNl6ijG
Is this a problem with the parameters? Also, I’ve seen meshes that are much more accurate without having 30k tetrahedras, is it better to generate this .msh or .vtk files with another specific software? And if so, which one?
Regards,
Montse
Hi @montsediaz,
CGAL is a reference for meshing, that’s good to use it.
What function did you use? with which parameters?
Can you share your stl mesh with us ?
It’s a tubular geometry, right? Your object might be too thin and needs smaller element size to be able to properly mesh it with tetras.
Best,
Hugo
Hi!
My mesh looks like this:
https://drive.google.com/open?id=1Hhjo6ICGVWSfmGJJ9SMljjCSn-2GZDCh
I’ve managed to get a mesh of that model with gmsh, but it’s got 11k vertices and so makes the computation impossible. I’ve read about shell elements but I don’t know if it’s possible to implement that on SOFA.
Thanks and sorry for the late answer.
Montse.
Dear @montsediaz
The hollow STL geometry that you want to mesh with volumetric elements (tetra) has very thin walls. Therefore, you mesh will require very small elements to match accurately your geometry.
I would recommend to use a surface mesh for the mechanics with a shell approach.
Best regards,
Hugo
WARNING
The forum has been moved to GitHub Discussions.
Old topics and replies are kept here as an archive.