$SF
Current simulation timestep number. For saving files in dynamics simulations, such as simulation state, use $SF instead of $F. For each value of $F, a simulation may calculate several substeps, so if you use $F you may have several sub-frames overwrite the same file. $SF is equal to $ST (simulation time) divided by $TIMESTEP (simulation time step size).