yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #02703
Re: regularHex Pack
hi,
I reported a bug, https://bugs.launchpad.net/yade/+bug/550912
I think y+= hy/2 must be y+= hy/3
also,when run it there is an error:
File "/home/moradi/YADE-trunk/YADE/lib/yade-bzr2112/py/yade/pack.py", line
206
<<<<<<< TREE
^
SyntaxError: invalid syntax
Nasibeh Moradi
> in the RegularHex pack the spheres must have equal distance from
> > other, isn't it?
> > I check it for gap=0 , the pack is wrong,
> > I also draw a hexagonal pack in SOLIDWORKS and check the distance of
> > spheres in layers,
> > in file pack.py the distance between layers in directions y and z is
> > wrong.
> > for gap=0, in y direction must be (1/3)*h=(1/3)*r*sqrt(3)
> > and in z direction, (2/3)*r*sqrt(6).
>
> Hi,
>
> thanks for your report, you are right, there was a bug. I fixed that
> (hopefully) in r2112.
>
> Next time, it is perhaps better to use http://bugs.launchpad.net/yade to
> report, so that it doesn't get forgotten if there is no immediate
> reaction.
>
> Cheers, Vaclav
>
References