Modelling of a piece of thread/string/rope