yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #27072
Re: [Question #700531]: Contacts in function getStress()
Question #700531 on Yade changed:
https://answers.launchpad.net/yade/+question/700531
Leonard posted a new comment:
Hi Karol,
Thanks very much for your sharing.
As described in the code:
branch = b1->state->pos - b2->state->pos;
stressTensor += (nsi->normalForce + nsi->shearForce) * branch.transpose();
Based on my limited knowledge of cpp, I think the brach vector is
calculated by the position of the two objects, no matter they are sphere
or wall. Please correct me if I am wrong.
Best,
Leonard
--
You received this question notification because your team yade-users is
an answer contact for Yade.