Simulating Yarn Dynamics in Blender I am trying to calculate the collision detection between the nodes of the single yarn, is that possible in blender for dynamic simulation of yarn, later I am supposed to use the Jersy model where I can calculate the sliding friction and contacts between nodes.
You could maybe look into "SOFA" 
(https://www.sofa-framework.org/)
which is a python based Physics engine for a wide range of things (including your problem i think)
I think there is even a previous version that was connected to blender so that blender uses SOFA as physics engine....

If you should find another solution, in blender or somewhere else, please post it! I'm interested in doing something similar myself!