yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #21836
Re: [Question #688281]: Finding a way to pack two concentric cylinders of differing radii with spheres of differing radii
Question #688281 on Yade changed:
https://answers.launchpad.net/yade/+question/688281
Status: Open => Answered
Jan Stránský proposed the following answer:
Hello,
> I am fairly new to Yade
welcome :-)
> How do I only fill the outer cylinder using the code below whilst randomly varying the spheres' radii?
> How do I enable spherical packing for the outer cylinder
> How do I randomly generate sp.MakeCloud to give me a randomized spherical radius with a specified number of spheres (say 200)?
It depends on the requirements. If you are happy with "some" packing, it is possible to use simple makeCloud and "crop" it to the cylinder. But the number of spheres would be somehow random..
If you require specific number of particles, you will have to write your own function (but it does not sound too difficult :-)
> How do I update InteractionLoop to help with facet-sphere collision with two cylinders?
> still have two facet-sphere collisions on the interface between both the outer cylinder walls and the outside wall of the inner cylinder?
Looking at the script, it should work (do you have other experience?)
Please read [1] and next time open a new question for a different topic.
cheers
Jan
[1] https://www.yade-dem.org/wiki/Howtoask
--
You received this question notification because your team yade-users is
an answer contact for Yade.