Toroidal modeling of interaction between internal kink mode and plasma flow