The effect of plasma with toroidal rotation on the resistive wall modes in tokamaks is studied numerically. An eigenvalue method is adopted to calculate the growth rate of the modes for changing plasma resistivity and plasma density distribution, as well as the diffusion time of magnetic field through the resistive wall. It is found that the resistive wall mode can be suppressed by the toroidal rotation of the plasma. Also, the growth rate of the resistive wall mode decreases when the edge plasma density is the same as the core plasma density, but it only changes slightly with the plasma resistivity.
A code named LARWM with non-ideal magnetohydrodynamic equations in cylindrical model is used to describe the instability in Tokamak plasma surrounded by a conducting wall with finite resistivity. We mainly take three factors related to the shear equilibrium plasma flow into consideration to study the stabilizing effect of the shear flow on the resistive wall modes (RWMs). The three factors are the velocity amplitude of flow, the shear rate of flow on plasma surface, and the inertial energy of equilibrium plasma flow. In addition, a local shear plasma flow is also calculated by the LARWM code. Consequently, it is found that the inertial energy of the shear equilibrium plasma flow has an important role in the stabilization of the RWMs.