Problem in the interactions between the cable constraint and TetrahedronHyperelasticityFEMForceField #4585
Replies: 4 comments 3 replies
-
Using an hyperelastic material (non-linear relationship between stress and strain) makes the system non-linear. However, in SOFA only one Newton iteration is performed by default. With highly non-linear problems, several iterations of Newton-Raphson are usually compulsory to converge. I think your simulation scenario falls into this case. Could you try using the VariationalSymplecticSolver which allows several Newton step? Hope this helps |
Beta Was this translation helpful? Give feedback.
-
Thanks @hugtalbot for the suggestion! But the problem is not completely resolved. Now i used the Variational solver instead of the EulerImplicit, the unwanted oscillations are removed, but now seems that the cable is bending in the opposite direction (furthermore it doesn´t increase the bending increasing the force), this doesn´t happen with Eulerimplicit. I will pass to you the updated scene, to see what is the problem now. I remerber to you, the scene to check is cable_finger_Ogden.py. Many thanks |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Hello,
I am doing a simulation about a multi-material cable-driven soft finger. My problem is:
Hence, i suspect there is a problem between the cable constraint in the soft robot plugin and the hyperelastic force field (TetrahedronHyperelasticityFEMForceField).
in the simulation i use : EulerImplicitSolver with SparseLDLSolver and GenericConstraintCorrection
my sofa version is: 23.12 on Ubuntu 22.04 release.
I will attach my scene in Python3 and also my design, maybe someone can check what i did wrong (or if it is an internal error of Sofa). the name of the file is cable_finger_ogden.py.
Many thanks in advance
cable_finger.zip
Beta Was this translation helpful? Give feedback.
All reactions