yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #23493
[Question #691732]: Implementation of a four particles sliding interaction
New question #691732 on Yade:
https://answers.launchpad.net/yade/+question/691732
Hi community ! I need your opinion concerning the way of introducing a new law. Let me introduce you for the problem.
I mainly use Yade to model rockfall flexible barrier, what led me to develop a law in order to simulate the sliding between to cables. At the moment, this contact law is working, but it is written in Python and running in my models using a PyRunner at each step. As you can imagine, this kind in implementation is not optimal and extremely time consuming. Now, I want to integrate this law in the C++ code.
In this law, a cable is modeled with 4 particles. The two particles at the extremities are "fixed", and the two particles betweens are the "sliding particles", they can move along the cable between the two fixed particles. In this law, no friction in considered for the sliding particles, giving a constant force in the cable. This force in calculated with a linear elastic model, from the position of the four particles of the cable. Thus, the position of four particles is needed to compute the interaction force.
In order to get more information about this model, it is detailed in my thesis (in French) [1], chapter 4 , pages 85 and 86 of the manuscript, in it named the "Modele SF".
So here is my question, how can I implement in the Yade code, this law that compute the force for 3 interactions between 4 particles ?
I'm quite familiar with Yade, but I'm still a beginner in introducing new law in the C++ code.
At a first look, I was thinking of introducing a new Shape with the particles representating a cable and a new corresponding Geom. But I' not sure if starting from this it is possible to compute the force inside the cable a each calculation step.
Well, in your opinion, what is the best way to introduce this kind of law ?
Thank you for reading and for your future answers.
Loïc
[1] https://tel.archives-ouvertes.fr/tel-02498238/document
--
You received this question notification because your team yade-users is
an answer contact for Yade.