Question #238406 on Yade changed:
https://answers.launchpad.net/yade/+question/238406
Status: Open => Answered
Donia Marzougui proposed the following answer:
Hello
The walls that you have in your problem have not a radius, so if you
want to list all the radi of spheres in your simulation, you have to
discard before the identities of the 6 walls (id from 0 to 5) by doing
this:
a=open('radius.txt','w')
for i in O.bodies:
if i.id>5:
a.write('%d %f \n'%(i.id, i.shape.radius))
a.close()
Bests
Donia
--
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