yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #03216
ball mill
Hi every body
Thanks for your E-mails.
I defined millIds in my code in this
way:
'mill=pack.sweptPolylines2gtsSurface(ppts,threshold=.01*min(dTheta*millRad,bumpHt))#,capStart=True,capEnd=True)
millIds=O.bodies.append(pack.gtsSurface2Facets(mill,color=(1,0,1),wire=False))
# add triangles, save their ids'
For drawing the torque-time graph, I
used the command you said.
'def myAddPlotData():
plot.addData(Torque=O.forces.t(millIds)[1],
time=O.time)' but it
has similar errors.
I don't know why it has such errors.
Besudes, millIds contain cylinder and
linears(bumps). Do you think these errors come back to incorrect
definition of body(millIds) or not?
Follow ups