← Back to team overview

yade-dev team mailing list archive

[Bug 1666838] [NEW] aperiodic randomDensePack huge overlaps and strange behavior

 

Public bug reported:

Based on question https://answers.launchpad.net/yade/+question/473518, I
did some simple tests using Yade 1.20.0 on Ubuntu 16.04

########################
from yade import pack
pred=pack.inAlignedBox((0,0,0),(2,1,1))
spheres=pack.randomDensePack(pred, radius=0.1)
O.bodies.append(spheres)
O.step()
print max(i.geom.penetrationDepth for i in O.interactions)
O.bodies.append(box((1,.5,.5),(1,.5,.5),wire=True))
########################

I got:
- packing smaller than predicate
- huge overlaps: r=0.1, max penetrationDepth=0.09 (!)

playing with cropLayers and dim parameters did not help much (especially
concerning the overlaps).

Am I missing something, or is the default behavior that bad?

cheers
Jan

** Affects: yade
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yade
developers, which is subscribed to Yade.
https://bugs.launchpad.net/bugs/1666838

Title:
  aperiodic randomDensePack huge overlaps and strange behavior

Status in Yade:
  New

Bug description:
  Based on question https://answers.launchpad.net/yade/+question/473518,
  I did some simple tests using Yade 1.20.0 on Ubuntu 16.04

  ########################
  from yade import pack
  pred=pack.inAlignedBox((0,0,0),(2,1,1))
  spheres=pack.randomDensePack(pred, radius=0.1)
  O.bodies.append(spheres)
  O.step()
  print max(i.geom.penetrationDepth for i in O.interactions)
  O.bodies.append(box((1,.5,.5),(1,.5,.5),wire=True))
  ########################

  I got:
  - packing smaller than predicate
  - huge overlaps: r=0.1, max penetrationDepth=0.09 (!)

  playing with cropLayers and dim parameters did not help much
  (especially concerning the overlaps).

  Am I missing something, or is the default behavior that bad?

  cheers
  Jan

To manage notifications about this bug go to:
https://bugs.launchpad.net/yade/+bug/1666838/+subscriptions


Follow ups