← Back to team overview

yade-users team mailing list archive

Re: [Question #691573]: How to creat 2D random dense pack in a disc-shape plane?

 

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

    Status: Open => Answered

Jan Stránský proposed the following answer:
Hello,

it seems you will have to write your own randomDensePack, i.e. creating a loose packing and compressing it.
You can (depending on your needs):
- create a dense rectangle and "crop" it to be a circle
- or using a circular boundary* for compaction

* circular boundary might be:
- facets or boxes discretizing the circle
- new Shape dedicated for this task

cheers
Jan

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