The invention provides a non-viscous computational fluid
mechanics method for parallel acceleration of ILU linear equation solution by using
CUDA. The method comprises the following steps: S1, downloading a
source code of an SU2
open source solver platform; s2, downloading and installing a
CUDA (Compute Unified Device Architecture) Toolkit computing platform and a Visual
Studio compiling tool; s3, downloading and installing a CMake environment, configuring environment options of a
CUDA (Compute Unified Device Architecture) and an MPI (
Message Passing Interface) through the CMake, and configuring an SU2 project by utilizing a command line tool of the CMake; a CUDA Toolkit and a Visual
Studio are used to construct a non-viscous
solver system based on SU2-CUDA-CFD (Compute Unified Device Architecture-
Call Forwarding Detection); and S4, initializing the SU2
solver through an API function in the CUDA, and accelerating ILU iterative solution and post-
processing in parallel. According to the method, the SU2 code is compiled in Windows / Linux in a cross-platform mode through CMake, various processes of a non-stick solver in the SU2 are achieved through a CUDA platform, the calculation time is greatly shortened, perfect matching of a calculation task and hardware capacity is achieved, stability is better, the solving process can be easily controlled and adjusted, and an accurate and reliable flow field solution is obtained.