The invention discloses a CFD (computational fluid dynamics) boundary
processing acceleration method based on GPU (
graphics processing unit) parallelism, and belongs to the technical field of fluid
mechanics related calculation. The problem that in the prior art, a traditional CFD boundary
processing acceleration method is low in calculation efficiency is solved. The method comprises the following steps: generating a computational grid required for simulating a flow field, and reading grid information and boundary condition information of
computational simulation; initializing a flow field according to the calculation parameters,
copying flow
field data and flow field boundary information from a main memory to a
video memory, establishing a boundary pointer array in the
video memory, and instantiating a boundary pointed by each pointer; according to the boundary pointer array, the flow
field data and the flow field boundary information,
time step cycle calculation is carried out by utilizing a GPU, and
physical quantity updating of a boundary virtual unit corresponding to the thread is realized; and after
time step cycle calculation convergence,
video memory flow
field data are copied to a main memory, and flow
field simulation calculation is completed. The method effectively improves the calculation efficiency, and can be applied to CFD boundary processing.