The simulation of nonlinear self-focusing phenomenon using ray-tracing method can macroscopically provide an intuitive picture of the propagation of light in a self-focusing material,without adopting paraxial approximation or self-similar hypothesis.In this paper,propagation of light is sampled by discrete slices along a certain direction.Thus nonlinear propagation is turned into the combination of optical modulation of the refractive index on separate slices and linear propagation between each two adjacent...