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

Jan Stránský proposed the following answer:
> the stress is set just once, so there is no reason for the stress to be 
> different..
> can you give me some hints to solve this problem.

sure. Set the stress value more than once :-)

something like:
###
while ...:
  ...
  O.run(...)
  s=bodyStressTensors()
  for b in O.bodies:
    if isinstance(b.shape,Sphere):
      b.mystress = s[b.id]
  vtk.exportSpheres(...)
  ...
###

cheers
Jan

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.

_______________________________________________
Mailing list: https://launchpad.net/~yade-users
Post to     : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp

Reply via email to