Counting particles moving through periodic boundary conditions

Submitted by FelixV on
ckloss

Hi Felix,

there is also a second possibility: The image flag of each particle (see dump command) always keeps track of which "image" the particle is in

Cheers
Christoph

Mon, 17 Feb 2014 - 19:06 Permalink

Dear all,

i'm fairly new to LIGGGHTS and i'm simulating particles flowing trough a pipe with periodic boundary conditions in flow direction. I would like to count the particles per iteration which are passing my periodic boundary. I'm able to do so by dumping particle positions to a file and check the passing by a script.
I was wondering if there is a way to do so using LIGGGHTS?

Best regards
Felix V.