Nonlinear dynamics of a concentrated system of rigid rods subjected to periodic shear flow