Re: [Yade-users] [Question #700531]: Contacts in function getStress()

2022-02-10 Thread Bruno Chareyre
Question #700531 on Yade changed: https://answers.launchpad.net/yade/+question/700531 Bruno Chareyre posted a new comment: Hi, Using the position of the wall instead of the contact point is perfectly fine. The sum of f*l really runs over all interacting pairs regardless of the shapes of the objec

Re: [Yade-users] [Question #700531]: Contacts in function getStress()

2022-02-09 Thread Jérôme Duriez
Question #700531 on Yade changed: https://answers.launchpad.net/yade/+question/700531 Jérôme Duriez posted a new comment: If one goes back to the analytical derivations of this "Love-Weber" formula, one should see contacts with boundary bodies should probably not be included at all. Since boundary

Re: [Yade-users] [Question #700531]: Contacts in function getStress()

2022-02-09 Thread Jan Stránský
Question #700531 on Yade changed: https://answers.launchpad.net/yade/+question/700531 Jan Stránský posted a new comment: > the brach vector is calculated by the position of the two objects currently the code is like that. Therefore, it is not suitable for wall-sphere contact, where the branch sho

Re: [Yade-users] [Question #700531]: Contacts in function getStress()

2022-02-08 Thread Leonard
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.trans

Re: [Yade-users] [Question #700531]: Contacts in function getStress()

2022-02-08 Thread Leonard
Question #700531 on Yade changed: https://answers.launchpad.net/yade/+question/700531 Status: Answered => Solved Leonard confirmed that the question is solved: Thanks Karol Brzezinski, that solved my question. -- You received this question notification because your team yade-users is an ans

Re: [Yade-users] [Question #700531]: Contacts in function getStress()

2022-02-08 Thread Karol Brzezinski
Question #700531 on Yade changed: https://answers.launchpad.net/yade/+question/700531 Status: Open => Answered Karol Brzezinski proposed the following answer: Hi, You can find the code here [2]. Maybe this will help you to find the answer. I can't interpret this for sure, because of my litt