Introducting friction to catheter procedure simulation #3860
Replies: 3 comments 3 replies
-
To build a simulation with frictional contact solved using Lagrange multipliers, what is needed is:
Therefore, you can remove: and you should make sure to define a Hope this helps |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Hi all,
I am trying to simulate a catheter procedure in a heart vessel. My code can be found here: https://github.com/MarkWrobelUCL/SOFA/blob/main/PA_cath_sim_2.py
My main issue is that I am trying to increase the friction (or introduce friction) between my catheter and vessel. Line 70 has CollisionResponse added with mu=10 to make it obvious if there is a change. I am not sure why this is not working. I have read a precious thread (https://www.sofa-framework.org/community/forum/topic/the-friction-between-a-tissue-and-a-surface/) and added things like UncoupledConstraintCorrection on lines 116 and 127 to no effect.
The only thing I can think of is that my vessel has a HexahedronFEMForceField but I'm not sure my catheter has an analogous object. When I try adding BeamFEMForceField on line 104 it crashes my code.
I would appreciate any help and Ideas as I am quite stuck at this point.
Thanks, Mark
Beta Was this translation helpful? Give feedback.
All reactions