← Back to team overview

yade-users team mailing list archive

Re: [Question #198183]: clump packing in 2D

 

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

Luc Scholtès proposed the following answer:
Hi Ning,

as Jerome said, you have to consider that yade deals with spheres and
not circles. If you want to create a "2D sample", you have to define the
third dimension of the make cloud fonction approximately equal to the
maximum radius of your spheres (make cloud generates assembly in a box
if I remember well). I am pretty sure this works for spheres. Not sure
for clumps though... Moreover, as Jerome precised, you will then have to
block some of the DOFs of the elements to actually force the model to be
2D:

for o in O.bodies:
 body.state.blockedDOFs='zXY'

should work assuming that you choose (x,y) as the 2D domain.

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