Re: [Yade-users] [Question #211968]: fabric tensor calc and exportSpheres

2012-10-23 Thread Jan Stránský
Question #211968 on Yade changed: https://answers.launchpad.net/yade/+question/211968 Status: Open = Answered Jan Stránský proposed the following answer: One solution could be: __bultins__.s = s and then your code (to prevent some name problems, chose different name than s :-) Jan

Re: [Yade-users] [Question #211968]: fabric tensor calc and exportSpheres

2012-10-23 Thread Jan Stránský
Question #211968 on Yade changed: https://answers.launchpad.net/yade/+question/211968 Status: Open = Answered Jan Stránský proposed the following answer: Hi Ning, this bug was fixed in r3236 Jan 2012/10/23 ceguo question211...@answers.launchpad.net Question #211968 on Yade changed:

[Yade-users] [Question #211968]: fabric tensor calc and exportSpheres

2012-10-22 Thread ceguo
New question #211968 on Yade: https://answers.launchpad.net/yade/+question/211968 Hi, In calculating coordination number, we have choice to skip free particles and contacts which don't contribute to stability using Thornton's equation. Can we also remove these contacts when calculate fabric

Re: [Yade-users] [Question #211968]: fabric tensor calc and exportSpheres

2012-10-22 Thread Chareyre
Question #211968 on Yade changed: https://answers.launchpad.net/yade/+question/211968 Status: Open = Answered Chareyre proposed the following answer: Not sure it will work, but try: s=bodyStressTensors() vtkExporter.exportSpheres(what=[...,('particleStress','s[b.id]')]) Also note that

Re: [Yade-users] [Question #211968]: fabric tensor calc and exportSpheres

2012-10-22 Thread Jan Stránský
Question #211968 on Yade changed: https://answers.launchpad.net/yade/+question/211968 Jan Stránský proposed the following answer: Definitely Bruno's answer is good. Also try utils.bodyStressTensors() Jan Dne 22.10.2012 18:01 Chareyre question211...@answers.launchpad.net napsal(a): Question

Re: [Yade-users] [Question #211968]: fabric tensor calc and exportSpheres

2012-10-22 Thread ceguo
Question #211968 on Yade changed: https://answers.launchpad.net/yade/+question/211968 Status: Answered = Open ceguo is still having a problem: Hi Bruno, I'm using version bzr3149, quite a new one. Also when I use your method, it reports: File HOMEDIR/yade/lib/yade-trunk/py/yade/export.py,