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

    Status: Open => Answered

Bruno Chareyre proposed the following answer:
Hi

This:
"for i in a:  sums+=bodyStressTensors()[i][2][2]"

is computing the stress for all bodies for all bodies (yes: nested "for
all").

This would make more sense:
stress=bodyStressTensors()
for i in a:  sums+=stress[i][2][2]

However, I don't see how this is supposed to solve your noise problem.
I would simply record the total force on the box (not bodyStress of the box, it 
is probably a junk value).
If it is also noisy then you will have to understand why.

Bruno

-- 
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.

_______________________________________________
Mailing list: https://launchpad.net/~yade-users
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp

Reply via email to