Dynamic analysis of jarring process by finite-difference method