Structural evolution and rheology of colloidal gels by dynamic simulation