← Back to team overview

yade-users team mailing list archive

Re: [Question #265521]: What's the most efficient way to get the average stress at each cycle?

 

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

behzad posted a new comment:
Hi,

So, both comments are almost the same.  alright, I 'll avoid calling
bodyStressTensors() for each single body.

@Bruno: I'm getting the average stress of all spheres in the sample by
this function, hoping it can solve the noise problem.

I'll give a try to the force on the box to see how it looks like.

is O.forces.f(box_1)[2] a right way to do that or getting the force from individual contacts of O.bodies[box_1].intrs() is more precise?
Theoretically, there should not be a difference!

Thanks.

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


References