← Back to team overview

yade-users team mailing list archive

Re: [Question #696150]: Output specific bodies using TW.setState

 

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

Bruno Chareyre proposed the following answer:
Hi,
I confirm TesselationWrapper may have issues with space periodicity, but not because of this:

> " Hypothetically: If the particle in state 0 is on the right edge and
moves right it will appear on the left side (state 1)"

It would not appear on the left side in terms of position. Particles
leaving from right and appearing on left is just a visualization trick.
In memory positions remain untouched, they are all over the place
instead of staying in their initial period. Hence the problem: in order
to build periodic triangulation the positions should be packed into a
single period, first, then additional clones should be added all around
that period to close the domain. That's what we do in
PeriodicFlowEngine.

Alternatively, we could use PeriodicTriangulation from CGAL directly.
They implemented it after the integration in yade (partly on our
request...), and it is not used currently.  For the moment I don't see
an out-of-the-box solution with TesselationWrapper + periodic BCs.

Bruno

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