A computational algorithm coupled with a particle selection routine for the simulation of the Bond locked-cycle test. (January 2022)