Nonlinear dynamics of SWNTs. Energy beating and localization