← Back to team overview

yade-users team mailing list archive

[Question #180603]: generate one aabbWall

 

New question #180603 on Yade:
https://answers.launchpad.net/yade/+question/180603

Hi,

For a model with periodic space (in 2 directions) I need only one wall/facet.
I have to create a layer of facets, because they are bodies and no body should be "larger than half of the cell size".
I used the following command to get my "facet-layer"

for ii in range(1,4):
 for jj in range(1,4):
  id_facets=O.bodies.append(geom.facetBox((((2*ii-1)/6.0)*x_cu,((2*jj-1)/6.0)*y_cu,z_cl),((x_cu-x_cl)/6.0,(y_cu-y_cl)/6.0,0),fixed=True,material=FacetMat))

I heard that facets have knows bugs and I want to avoid using facets, so I tried to use aabbWalls. But with this command automatically 6 walls are created, so I have to delete 5 of them:

wall=utils.aabbWalls(material=FacetMat)
wallId=O.bodies.append(wall)
for ii in range(0,len(wallId)):
 if ii != 4:
  O.bodies.erase(wallId[ii])	#erase all walls except the boddom wall (wallId[4])

Ok, now I have the same problem with the body size:

2280  FATAL yade.ThreadRunner /home/me/YADE/yade/core/ThreadRunner.cpp:31 run: Exception occured:                                                                                                                
/home/me/YADE/yade/pkg/common/InsertionSortCollider.cpp: Body larger than half of the cell size encountered

Now my questions:
1) Is it possible to create only 1 wall, instead of 6 and deleting 5 of them?
2) Is it possible to create one wall, that is bigger than half of the cell size, without getting the error message?
I know, that in PFC this is possible, because walls and particles are not in the same class/category.

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