yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #07414
Re: [Question #226978]: Contact force direction convention
Question #226978 on Yade changed:
https://answers.launchpad.net/yade/+question/226978
Status: Open => Answered
Bruno Chareyre proposed the following answer:
The force applied by id1 on id2 is (i.phys.shearForce + i.geom.normal *
i.phys.normalForce)
So your question is equivalent to "is id1 always smaller than id2?"
for i in O.interactions:
if i.id1>i.id2:
print "hehe"
...
hehe
hehe
hehe
...
You will have to check I'm afraid, or maybe check if id1<id2, else
revert.
--
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.