Disclosed in the present invention is an unstructured grid flood simulation system based on GPU acceleration technology. The system comprises the steps: carrying out the spatial dispersion on a simulation region to obtain a triangular grid terrain file; reading the file, and storing nodes and unit data in the file in a program variable; establishing a topological relation for the file according to the principle that node numbers of two adjacent triangles sharing one side are the same; calculating a related variable of each triangular grid according to the established topological relation; converting coordinate values in the nodes into a unit, and initializing each related variable; allocating memories to all the variables in the GPU, and copying the values of the variables into GPU variables; respectively calculating a flux item, a bottom slope source item, a friction resistance source item and time stepping on the GPU; and copying a result value calculated on the GPU into a host memory, and outputting a simulated water depth distribution diagram. The unstructured grid flood simulation system based on GPU acceleration technology provided in the embodiments of the present invention is stable in calculation, high in precision and simulation efficiency, and can realize accurate simulation of the flood process.
展开▼