Numerical study of transient stimulated Brillouin scattering