7 June 2020 at 11 h 30 min #16570MarianParticipant
I’m working on autonomous handling processes for dry reinforcement fibres like carbon fibres. I would like to use SOFA to simulate the behavior of the material during the handling processes.
I created a mesh with Gmsh (exported msh-file in Verion 1 and 2) and used the TriangleSurfaceCutting demo to import the model. For me it is very importand to have structured mesh with horizontal and vertical conntections to map the weft and yarn of the textile. Unfortunetly I get following errors:
[ERROR] [MeshGmsh] ‘$ENDNOD’ or ‘$EndNodes’ expected, found ‘202’
[INFO] [SceneCheckerVisitor] Validating node “root” with checks: [SceneCheckDuplicatedName, SceneCheckMissingRequiredPlugin, SceneCheckUsingAlias]
[WARNING] [SceneCheckUsingAlias] This scene is using hard coded aliases. Aliases can be very confusing, use with caution.
– DefaultContactManager: 1 created with alias “CollisionResponse”
– DefaultPipeline: 1 created with alias “CollisionPipeline”
– EulerImplicitSolver: 1 created with alias “EulerImplicit”
– TTriangleModel: 1 created with alias “TriangleSet”
[INFO] [SceneCheckerVisitor] Finished validating node “root”.
[ERROR] [DiagonalMass(diagonalMass1)] Topology empty.
[WARNING] [TriangularFEMForceField(FEM)] ERROR(TriangularFEMForceField): object must have a Triangular Set Topology.
[ERROR] [TriangularBendingSprings(FEM-Bend)] object must have a Triangular Set Topology.
The msh-file does provide $ENDNOD and I have no idea why it is an issue.
Is there maybe another demo that might be more suiteable for my application?
Thanks a lot for your help,
Marian11 June 2020 at 17 h 26 min #16599HugoKeymaster
- SOFA Consortium
Welcome on the SOFA forum!
The only issue here comes from your mesh. It seems wrongly imported: the number of nodes in the mesh given in the Gmsh file header does not mach the actual number of points apparently.
Could you share this mesh with us?
Hugo13 August 2020 at 18 h 23 min #17029MarianParticipant
thank you for your answer and sorry for my late response.
I started a new try to get this topic running. But till now there are no new results.
Yes, I can share the mesh. Is there a function in this forum to attache files?
To give you an idea how I created that mesh: I created a stl file from a model in CATIA but after importing this file into Gmsh I got a lot of long triangles. So I imported that stl into Blender, modified the mesh to get a lot of squared boxes and exported this model to a stl file again. Now Gmsh was able to transfer that model to a .msh file. Is there an easier way to handle that?
The goal will be to setup the material parameters in a way that the simulation fitts to the real world material. After that we would like to attache that textile model to several suction units and see whats happening. Do you think that could work?
Best, Marian14 September 2020 at 23 h 18 min #17140HugoKeymaster
- SOFA Consortium
I am really sorry for the latency, we are busy to get more and more workforce on SOFA! We will now be more active on the forum.
Unfortunately no direct way in the forum interface to upload meshes.
You can share using any online tool, or if you prefer not to spread it send it to me using the contact email of the SOFA consortium.
People in the community usually work with GMesh (even with its python interface now) or with CGAL. It should be able to work, CGAL propose such region meshing to which you can then define parameters in SOFA (depending on the Forcefield you are using).
I hope this helps.
- You must be logged in to reply to this topic.