create boundary with walls

Asked by Mahdeyeh

Hello there
I want to create a boundary for volume of my simulation with 23 walls. How I can give coordinate to walls?
for example one of the walls has these coordinates: (0,2,0) (0,-2,0) (0,2,4) (0,-2,4)

How I should write code for creating this boundary
Should I use this code: yade.utils.wall? How write coordinate in this code?

thanks

Question information

Language:
English Edit question
Status:
Solved
For:
Yade Edit question
Assignee:
No assignee Edit question
Solved by:
Jan Stránský
Solved:
Last query:
Last reply:
Revision history for this message
Best Jan Stránský (honzik) said :
#1

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

Revision history for this message
Mahdeyeh (mahdiye.sky) said :
#2

Thanks Jan Stránský, that solved my question.