← Back to team overview

yade-users team mailing list archive

Re: [Question #680281]: create boundary with walls

 

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

    Status: Open => Answered

Jan Stránský proposed the following answer:
Hello,

yade Wall shapes are infinite zero thickness planes parallel to xy, yz
or zx planes. So you might use them if the extent to infinity is not a
problem.

Otherwise you may use Boxes:
###
w = box(center=(0,0,2),extents=(0.1,2,2)) # [1], 0.1 is to have non-zero thickness in x direction
O.bodies.append(w)
###

In any case, you have to use corresponding Bo1 and Ig2 functors [2]

cheers
Jan

[1] https://yade-dem.org/doc/yade.utils.html#yade.utils.box
[2] https://yade-dem.org/doc/user.html#functors-choice

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