A local differential quadrature method based on Fourier series expansion numerically solves the generalized nonlinear Schrodinger equation. For time integration, a Runge-Kutta fourth-order method is used. Matrix stability analysis is used to examine the method's stability. Three test problems involving the motion of a single solitary wave, the interaction of two solitary waves, and a solution that blows up in finite time, respectively, demonstrate the accuracy and efficiency of the provided method. Finally, the numerical results obtained from the presented method are compared with the exact solution and those obtained in earlier works available in the literature.
Read full abstract