Harmonic decomposition to describe the nonlinear evolution of stimulated Brillouin scattering