The invention relates to the technical field of a cesium feed-in
system in a magnetic confinement
nuclear fusion negative neutral
beam system, in particular to an optimization method for DSMC numerical
simulation of a cesium feed-in
system based on
CUDA parallel. According to the technical scheme, the method comprises the following steps: setting a molecular initial state at a host end, and preparing initial conditions for analog computation; allocating a memory space for the
molecular array and the related
data structure at the equipment end;
molecular motion is calculated in parallel through a GPU at an equipment end, and collision between molecules and a wall surface is processed. According to the method, the
simulation efficiency is improved to the minute level through a
CUDA parallel computing architecture, a grid-based molecular index and memory access mechanism is optimized, the statistical reliability is guaranteed by adopting a thread-independent random
number generator, near-vacuum molecular index is accurately restored by means of a decoupled
physical model, and the statistical reliability is improved. Therefore, an efficient and practical analysis tool is provided for cesium feed-in
system engineering design on the premise that the
numerical precision is guaranteed.