On Thu, 7 Oct 2010 12:45:00 +0200, Janek Kozicki <[email protected]> wrote: > Bruno Chareyre said: (by the date of Thu, 07 Oct 2010 11:44:35 +0200) > >> Hi, >> >> I'd like to get the mean stress tensor in particles using the contour >> integral of forces (i.e. F_i*L_j/V on one particle, with L_j the contact >> points), is it already implemented?
Like this? https://www.yade-dem.org/sphinx/yade.eudoxos.html#yade._eudoxos.InteractionLocator.macroAroundPt (Sorry, since it was in my private module, the docs is lacking; find the algorith described qt https://www.yade-dem.org/sphinx/yade.eudoxos.html#yade._eudoxos.SpiralInteractionLocator2d.macroAroundPt though) And also this one (where you can pass a callback function object) https://www.yade-dem.org/sphinx/yade.eudoxos.html#yade.eudoxos.IntrSmooth3d > I think that a PhD student at my university has it already, in some a > bit older version of yade. I'm not sure if it is exactly what you > want: he cuts a box of volume inside a sample, finds all spheres that > cross this box boundary, gets their interaction forces and calculates > stresses. Also checking if the inside forces equal to outside forces. I hope we are going to have 3 almost-identical implementations of the same functionality, like with the stress tensor. v _______________________________________________ Mailing list: https://launchpad.net/~yade-users Post to : [email protected] Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp

