How to compute the molar flux ?

Hello, lammps-users

Recently, I need to get the molar flux, the number of molecule flow through a surface in united time in my research. I think there are not “compute” to get the molar flux. Anyone compute that? Could you give me some suggestions?

Many thanks!

Don. B

No, there is not a compute that calculates a flux thru a surface.
Someone would have to write one.