Numerical simulation of a rolling process