[lammps-users] residence time

hi

I want to calculate residence time ,is there command in lammps to do it?fix ave/histo can help me?

You have to be more specific. “Residence time” can refer to many different things requiring different types of calculations.
In most of the cases I know, however, this kind of analysis is done through post-processing trajectory files, as this requires making specific assumptions about the kind of system/structure/composition you have and that in turn would require writing rather specific code and thus makes it rather unattractive to implement as a generic feature in LAMMPS.