← Back to team overview

yade-users team mailing list archive

Re: [Question #647318]: How to generate particles in a cylinder given their mass distribution with size?

 

Question #647318 on Yade changed:
https://answers.launchpad.net/yade/+question/647318

Jan Stránský proposed the following answer:
Hi Hashir,
the geometry is different each time, because makeCloud creates each time different initial positions. Use seed to make it each time the same
sp.makeCloud(..., seed=1) # [3] you can also use any nonzero integer
cheers
Jan

[3] https://yade-
dem.org/doc/yade.pack.html#yade._packSpheres.SpherePack.makeCloud

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.