yade-users team mailing list archive
Mailing list archive
Re: [Question #697744]: Increase particle radiues
Question #697744 on Yade changed:
Status: Open => Answered
Jan Stránský proposed the following answer:
The first error says that it expects a number, but you provide a
> r= odeint(model,P,t,args=(P,P,P,P,P,))
> b.state.radius = r
maybe here, r might be something different than you want.
Concerning radii of cylinders, the condition "if isinstance(b.shape, Sphere)" is true also for cylinder, since Cylinder is inherited from Sphere .
b.shape.__class__ == Sphere
instead to detect just spheres (and not derived classes too).
You received this question notification because your team yade-users is
an answer contact for Yade.