Welcome to ask.woodem.org. You may post when you login through your GitHub account.

I can't delete particles using Boxoulet

0 votes
asked Jan 28, 2016 by RafaelOrtega (190 points)
Dear Friend
The questions is this:
I need simulate some particles falling in to a hole, but
When I try to delete those particles using Box Outlet(box=((-400,-400,-250),(400,400,-400)),inside=True,save=True,label='salida')., in the hole, these particles aren't removed, and consequently I can't count the particles that pass through the hole.
Thanks for your answer

1 Answer

0 votes
answered Feb 4, 2016 by eudoxos (46,530 points)
selected Jul 29, 2016 by eudoxos
Best answer

box=((-400,-400,-250),(400,400,-400)) : the z-range is -250...-400, the lower bound is higher than the upper bound, thus there is no point which will be evaluated as inside the box. Could that be the problem?

As a remark: for counting  particles passing through the box without deleting them, you can use the Outlet.markMask attribute.

Cheers, Vaclav