← Back to team overview

yade-users team mailing list archive

Re: [Question #406523]: Cylinders and law2_ScGeom_ViscElPhys_Basic

 

Question #406523 on Yade changed:
https://answers.launchpad.net/yade/+question/406523

    Status: Open => Answered

Bruno Chareyre proposed the following answer:
I did not mean that a cylinder was "made of" spheres, a cylinder IS a
sphere.

Lets define a sphere as something which has position and radius.
A cylinder (gridConnexion) has position + radius + length, hence it is a sphere according to the above definition.
Programatically at least it is really the case:
class GridConnection: public Sphere{ 
...}

It is also true for the gridNodes, they are spheres as well for the same
reason.

So if no functor is found to handle interactions sphere+connexion, node-
node, etc. then the dispatcher is looking for a possible - more generic
- sphere+sphere functor. That's what happens in the script.

Conclusion: there is (should be) no problem for sphere-cylinder interactions because they are actually sphere-sphere interactions.
I really don't know why Newton-Raphson is not converging for the viscous node-node interaction (I just checked, the mass are not null), but I can tell it is not a problem of functor availability for specific shapes. Actually you couldn't care less: you want rigid cylinders so you don't care about the node-node behaviour. Just fix all degrees of freedom and it should be fine.

Bruno

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.