Friction between model catheter and Vessel #3893
Replies: 4 comments
-
Hey @MarkWrobelUCL Without your files (mesh and txt file) we can not reproduce your simulation Thanks PS: I did made it as a Discussion ;) |
Beta Was this translation helpful? Give feedback.
-
|
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
Edit: I realize this should has been probably posted in discussions section. Feel free to delete this and I will re-post there
Beta Was this translation helpful? Give feedback.
All reactions