Tagged: volumetric mesh
31 May 2019 at 18 h 51 min #13560
I am trying to create a volumetric mesh for a single woven T-yarn, I am using this example https://project.inria.fr/softrobot/documentation/volumetric-mesh-generation-using-cgal-plugin/
The link of Woven T-yarn is available here: https://drive.google.com/open?id=1QtvQ46axkVYtxHKpWnZPfaPTyIhAP7NT
I am trying to tune the following parameters:
facetSize, facetApproximation, cellRatio, cellSize
I dont know what I am missing, I used GMSH to create volume mesh and I have also check non-mainfoldness.
The result I got:
[WARNING] [MeshGenerationFromPolyhedron(gen)] 71 points are not connected to the mesh.
[INFO] [VTKExporter(VTKExporter)] VTKExporter: found topology Mesh
[INFO] [VTKExporter(VTKExporter)] ### VTKExporter[VTKExporter] ###
Nb points: 34
Nb edges: 0
Nb triangles: 0
Nb quads: 0
Nb tetras: 30
Nb hexas: 0
Total nb cells: 30
Thanks,7 June 2019 at 13 h 53 min #13593
- SOFA Consortium
At my best knowledge, some parameters (facetSize and cellSize) depend on the dimension. They therefore need to be set accordingly.
If you do not succeed, you can share your mesh so that we can assist you.
Hugo8 June 2019 at 19 h 44 min #13610
Thanks Hugo, exactly, I have to tune some parameters likely the facetSize, however, the scene is crashing and I got this error:
The error: CGAL::Polyhedron_incremental_builder_3:: lookup_halfedge(): input error: facet 10500 shares a halfedge from vertex 255 to vertex 256 with facet 324.
I am doing that as you can see in the screenshot: there is no volumetric mesh created while I am tuning parameters before scene is giving error:http://www.filedropper.com/scene
The STL file is here:http://www.filedropper.com/1tyarn_1
Thanks,9 June 2019 at 23 h 02 min #136159 June 2019 at 23 h 49 min #13616
Here is another example of knitted single S yarn ( fabric), I got the following error in
lookup_halfedge(): input error: facet 200 shares a halfedge from vertex 54 to vertex 126 with facet 199.11 June 2019 at 19 h 00 min #13627
- SOFA Consortium
Is your problem the same than the issue reported in the other topic: Volumetric Mesh Generation Error ?
Is it related to the SoftRobot plugin? or the CGAL one ?
Hugo11 June 2019 at 22 h 10 min #13633
- CNRS/Defrost Team
About mesh generation, CGAL is rather hard to use.
If you prefer it is possible to rely on GMESH for meshing.
Stefan Escaida and I made helping function for that STLIB/SoftRobots plugins.
It is undocumented feature in:
But there is “createScene” function that will behave as an example if the .py files are loaded in Sofa.
If you need more help please tell.12 June 2019 at 15 h 31 min #13638
@hugo, it is indeed related to this issue, I can close the other question. This is an issue is related to CGAL and SoftRobots as well since the example is created for obtaining the volumetric mesh of soft pneumatic gripper as illustrated in this example:
@Damien, Thanks so much for your help, the current plugin is CGAL that I am using in sofa, actually, I am following this example, https://project.inria.fr/softrobot/documentation/volumetric-mesh-generation-using-cgal-plugin/
The idea is I have used GMSH earlier to have a volume mesh and later importing it in sofa example, I have this following for instance:
lookup_halfedge(): input error: facet 264 shares a halfedge from vertex 0 to vertex 1 with facet 0.
I don’t know whether this error implies an error at the mesh itself, anyway, I am sharing the steps I did before using SOFA volumetric mesh generation example:
1- I have an STL model on single woven T-yarn (Fabric), the file is attached: https://gofile.io/?c=KKaqnp
2- I used GMSH for adding a physical volume and created a 3d mesh, afterward, I refined the mesh by splitting, the mesh is attached: https://gofile.io/?c=OU59Nj
@Damien is STLIB an external plugin or a plugin in sofa/src/applications/plugins, I would be grateful for hints on how I can install STILB. At the moment, I add an entry in cmkae-gui for STLIB in src/applications/plugins, however, it seems not to be read while configuration.
Thanks for the help!
You must be logged in to reply to this topic.