← Back to team overview

yade-users team mailing list archive

[Question #215571]: 2D makeCloud

 

New question #215571 on Yade:
https://answers.launchpad.net/yade/+question/215571

Hi
My task is to fill a portion of a plane with the maximum number of particles

I read about a discussion about using makeCloud in 2D but it is not working for me. 
I'm using yade-daily 3+3354+42~lucid1, if I type this:

...
sp.makeCloud(minCorner=(0,0,0),maxCorner=(1,1,0),rRelFuzz=.2,num=500,periodic=False)
...

I get this:

File "2d.py", line 15, in <module>
    sp.makeCloud(minCorner=(0,0,0),maxCorner=(1,1,0),rRelFuzz=.2,num=500,periodic=False)
ValueError: The box as null volume, this is not supported. One exception is for flat box defined by min-max in periodic conditions, if hSize argument defines a non-null volume (or if the hSize argument is left undefined).

I do not understand.

Moreover, I have some problem in understanding how makeCloud works in general: what is the way to fill a box with the maximum number of spheres of the same radius (=a cloud of spheres with the minimum porosity?)??

thanks

Riccardo



-- 
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.