Numerical modelling of black-hole-binary mergers