We present a robust numerical procedure for obtaining ring-type spatial optical beams with phase singularities in nonlinear media. This numerical algorithm can be used for fast computing stationary solutions with high topological charge for the case of a generalized nonlinear Schrödinger equation. Remarkably, we find that the method converges to the ring-type solution starting virtually from any initial condition. The method is based in the use of Chebyshev spectral methods for the calculation of a required Hankel transform. We provide the codes for the straightforward use of this algorithm in Matlab.
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.