Simulation on local flux creep in type-II superconductors*