Advect Tracer Particles

Hi all,

I was wondering if it is possible to seed some tracer particles in the simulation domain and have them be advected with the fluid flow? If so how would I go about doing this. I am currently working with the examples/showCases/multicomponent2d example.

Thanks,
Djimp

Update: so I managed just about to cobble together a working example in 2D based on the 3D code there is however one issue; the particles are not advected across periodic boundary conditions. Instead they simply disappear.

Is there a way to make the particles (or the AdvanceParticlesFunctional2D) aware of periodicity?

Thanks.