Numerical Simulation of Wagons Impact