Particles Packing with overlaps

Asked by Ali Naseri

Hi There

I'm totally new to Yade. I would like to creat a packing of spherical particles with overlaps in a box for further CFD simulations in Ansys. I have read part of the website but would appreciate if anybody got a experience to tell me where I should start and if I can use any specific built-in function to get things going.

Thanks

Question information

Language:
English Edit question
Status:
Solved
For:
Yade Edit question
Assignee:
No assignee Edit question
Solved by:
Klaus Thoeni
Solved:
Last query:
Last reply:
Revision history for this message
Klaus Thoeni (klaus.thoeni) said :
#1

Hi Ali,

you probably can just generate a TriaxialTest and export the spheres if you
need a random packing. Start yade, press F10 and have a look at the controller
tab Generate. You can choose TriaxialTest and adapt a few parameters. If you
just want to create a packinng with overlap make sure
autoCompressionActivation is off. You can change the size of the box. You
should use internalCompaction in order to keep the size of the box. Play with
the parameters in order to see if you can get what you need. You can export
the spheres e.g. by:

from yade import export
export.text('mypacking.spheres')

furthermore you can have a look at scripts/triax-tutorial if you want to use
python scripts.

HTH
Klaus

On Fri, 27 Jan 2012 08:05:46 AM Ali Naseri wrote:
> New question #185947 on Yade:
> https://answers.launchpad.net/yade/+question/185947
>
>
> Hi There
>
> I'm totally new to Yade. I would like to creat a packing of spherical
> particles with overlaps in a box for further CFD simulations in Ansys. I
> have read part of the website but would appreciate if anybody got a
> experience to tell me where I should start and if I can use any specific
> built-in function to get things going.
>
> Thanks

Revision history for this message
Ali Naseri (artnaseri) said :
#2

Thanks Klaus, I tried that and I used the internal compaction to get overlaps, but how can I find the geometry attributes like porosity, coordination number etc after several iterations and compaction process. I used utils.porosity but apparently it does not work for this module, it sends error. Also in the controller for Triaxial Test I can not find any button that shows the packing characteristics at the end. Any idea? Thanks alot

Revision history for this message
Best Klaus Thoeni (klaus.thoeni) said :
#3

Hi Ali,

yade does not really work by clicking buttons ;-) The generator is just for
some standard configurations. However, you should be able to create your
desired packing.

utils.porosity needs the volume, type ?utils.porosity in yade's command line
or have a look in the documentation where you can also find how to get the
coordination number (e.g. utils.avgNumInteractions).

https://www.yade-dem.org/doc/yade.utils.html?#yade.utils.porosity

https://www.yade-dem.org/doc/yade.utils.html?#yade.utils.avgNumInteractions

So you could change the parameters and see if you can get the desired
porosity.

You probably should also have a look at the documentation of TriaxialTest.

https://www.yade-dem.org/doc/yade.wrapper.html?#yade.wrapper.TriaxialTest

HTH

On Sat, 28 Jan 2012 05:35:43 AM Ali Naseri wrote:
> Question #185947 on Yade changed:
> https://answers.launchpad.net/yade/+question/185947
>
> Status: Answered => Open
>
> Ali Naseri is still having a problem:
>
> Thanks Klaus, I tried that and I used the internal compaction to get
> overlaps, but how can I find the geometry attributes like porosity,
> coordination number etc after several iterations and compaction process. I
> used utils.porosity but apparently it does not work for this module, it
> sends error. Also in the controller for Triaxial Test I can not find any
> button that shows the packing characteristics at the end. Any idea? Thanks
> alot

Revision history for this message
Ali Naseri (artnaseri) said :
#4

Thanks Klaus Thoeni, that solved my question.