Question about fix massflow/mesh command

Submitted by lcraul on Tue, 04/02/2019 - 03:59

Hello, all,
I'm trying to use the fix massflow/mesh command to count the particle flowing trough the outlet of my model. I use the following code in my script.
# Mass flow measurement
fix massflow all mesh/surface file Outlet.stl type 3
fix mass all massflow/mesh mesh massflow vec_side 1.0 0.0 0.0 count once file ../DEM/post/Particlemassflow*.txt

Then I got a txt file with the following contents:
# ID diameter x y z u v w (ex ey ez, color)
1557 0.0001386 0.1 0.002632 0.0004918 2.373 -0.0045 -0.0001297
1617 0.0001386 0.1 0.01188 0.0005572 2.079 0.006318 -0.0002314
1598 0.0001386 0.1 0.01341 0.0005425 1.775 0.0002602 -0.0002309
1497 0.00033 0.1 0.01069 0.0005001 2.112 0.008481 -0.0003971
1602 0.0001386 0.1 0.003556 0.0004683 2.062 -0.006904 -0.0001586
1426 0.00033 0.1 0.01479 0.0004983 2.02 -0.009167 -0.0004639
1446 0.00033 0.1 0.004478 0.0004987 2.052 -0.01134 -0.0004702
These contents just give the ID, position and velocity information of the particle flowing through the outlet. It doesn't give the cumulative number of the particle flowing through the outlet and the time. How should I use these information to get the cumulative number of the particle with time? Do I need use a third-party tool to realize it? If not, where or how can I get the cumulative number of the particle with time? Because the command information says it counts the total number of particles and the associated mass. But there is no total number information. Does anybody know this situation? Could you give me some suggestions?

Thank you very much!