A hydrodynamic study of the circumstellar envelope of α Scorpii