Numerical study on the behaviour of jointed rock under train loads