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

VG posted a new comment:
Thanks a lot, Jan!

A combination of unloading the sample in compress.py and the use of
following in main simulation gets the desired packing and initial
conditions:

for b in O.bodies:
  if not isinstance(b.shape,Sphere):
        continue
  b.dynamic = False

O.step()


for i in O.interactions:
        i.phys.unp = i.geom.penetrationDepth

for b in O.bodies:
  if not isinstance(b.shape,Sphere):
        continue
  b.dynamic = True

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

_______________________________________________
Mailing list: https://launchpad.net/~yade-users
Post to     : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp

Reply via email to