fix meanfreetime command

Syntax

fix ID group-ID meanfreetime keyword values
  • ID, group-ID are documented in fix command

  • meanfreetime = style name of this fix command

  • zero or more keyword/value pairs may be appended to args

  • keyword = check_every or t_start

    check_every value = evaluate collisional state every Nth step
    t_start value = start sampling at this time

Examples

fix fmft all meanfreetime t_start 1.0

Description

This fix sums up the time between collisions for each particle and counts the number of these intervals. A starting time t_start and a rate check_every for evaluation can be specified.

Restart, fix_modify, output info:

No information about this fix is written to binary restart files. None of the fix_modify options are relevant to this fix.

This fix computes a global scalar, the time between contacts averaged over all particles, which can be accessed by various output commands. E.g. an equal-style variable can be used to store and output the result.

Restrictions

none

Related commands: none

Default: check_every = 1, t_start = 0.0