SOFA crashes when Hyperelasticity is applied #224
-
Dear colleagues, So, what is the error here? I tried different scenes, different parameters, and different constitutive laws. The result is always the same. Is there a way to simulate a hyperelastic behavior of the material for this scene, for example? In advance, thank you for your help. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Thanks for reporting the problem. I can confirm it as I am able to reproduce it. Instead of finger.addObject('MeshTopology', src='@loader', name='container') we should do finger.addObject('MeshTopology', tetrahedra='@loader.tetrahedra', position='@loader.position', name='container') If I do that, the scene does not crash. Notes for the developers:
|
Beta Was this translation helpful? Give feedback.
Thanks for reporting the problem. I can confirm it as I am able to reproduce it.
The problem comes from the topology of the object, in particular it's probably due to the loaded mesh itself. We already encountered problems with meshes exported from Gmsh (sofa-framework/sofa#2607, sofa-framework/sofa#2638). The trick is to skip the edge list provided by the mesh file.
Instead of
we should do
If I do that, the scene does not crash.
Notes for the developers: