A Numerical Model for Cold Welding of Metals