Question #678308 on Yade changed:
https://answers.launchpad.net/yade/+question/678308
Status: Open => Solved
hafsa confirmed that the question is solved:
thank you Jan
--
You received this question notification because your team yade-users is
an answer contact for Yade.
Question #678308 on Yade changed:
https://answers.launchpad.net/yade/+question/678308
hafsa posted a new comment:
thank Jan my problem is solved
for the person who wont saved properties of spheres in cylinder there's my code
:
from yade import pack,plot,export,wrapper
#material of cylinder
Question #678308 on Yade changed:
https://answers.launchpad.net/yade/+question/678308
Jan Stránský posted a new comment:
> ( id ) start with 192 not by zero
> Cylinder=O.bodies.append(geom.facetCylinder(...
because the first 192 bodies are facets created by the facetCylinder command.
cheers
Jan
Question #678308 on Yade changed:
https://answers.launchpad.net/yade/+question/678308
Status: Answered => Open
hafsa is still having a problem:
hi Robert ,
thank you for answer me , i changed O.bodies like you said and it's work so
thank you a obtain file (vibration.txt) contains properties
Question #678308 on Yade changed:
https://answers.launchpad.net/yade/+question/678308
Status: Open => Answered
Robert Caulk proposed the following answer:
O.bodies contains all bodies, including any walls (Facet) you might have
appended. I guess walls don't have radii :-)
You can use a
Question #678308 on Yade changed:
https://answers.launchpad.net/yade/+question/678308
Status: Answered => Open
hafsa is still having a problem:
hi Bruno ,
thank you for answer me , i changed the script like you advise me to :
#saving parameters of spheres in file
def myaddData():
for b
Question #678308 on Yade changed:
https://answers.launchpad.net/yade/+question/678308
Bruno Chareyre proposed the following answer:
Ah... and in O.bodies[b] 'b' should be an integer, not a body.
Else it is a bit like
O.bodies[O.bodies[O.bodies[O.bodies[
Bb]
--
You received
Question #678308 on Yade changed:
https://answers.launchpad.net/yade/+question/678308
Status: Open => Answered
Bruno Chareyre proposed the following answer:
Hi,
O.bodies[b].radius does not exist. It should be O.bodies[b].shape.radius (if
O.bodies[b] is a sphere).
Regards
Bruno
--
You
New question #678308 on Yade:
https://answers.launchpad.net/yade/+question/678308
hi every one ,
i am trying to save properties of spheres (id,x,y,z,r,force) in file during
simulation each second (period=1 s) and add iteration number to base name each
1s.
the simulation is about filling a
9 matches
Mail list logo