[Yade-users] [Question #691584]: About periodic simple shear

2020-06-28 Thread Lei Hang
New question #691584 on Yade: https://answers.launchpad.net/yade/+question/691584 Hello, I am a new user for yade. When I study the yade documentation about periodic simple shear, I don't understand the meaning of "if 0:..., else:...". The detailed code is following: from yade import pack,plot

[Yade-users] [Question #691573]: How to creat 2D random dense pack in a disc-shape plane?

2020-06-28 Thread Wang Yu
New question #691573 on Yade: https://answers.launchpad.net/yade/+question/691573 I want to creat a 2D random dense pack in a disc-shape plane, and I've tried the randomdensepack function using the inCylinder Predicate. I tried to set the thickness of the cylinder to zero but the randomdensepac