← 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

    Status: Open => Answered

Jan Stránský proposed the following answer:
Hello,
I see several options, based on your goal (about which I am not sure from your message). It also depends on the meaning of "randomly distributed in space" (especially desired density of resulting packing). To get better advises, please specify more your problem.

options for dense packing:
- create easily cubic packing:
   - either try to define cylinder such that after extracting it has desired mass
   - or extract cylinder with defined dimensions and mass whichever it has
   - or you can play with compression stage to get desired packing fraction such that both cylinder size and mass fits your requirements.

options for loose packing:
- define cylinder, place randomly particles to the cylinder until desired total mass is met

cheers
Jan

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