Implementation of NS Equations in Parallel on GPU

Author
MiaoShuMing
Advisor
LiuHong , SongWenBin
School
Shanghai Jiaotong University
Major
Aircraft design
Classification
TP332 Arithmetic unit and the controller (CPU)
Degree
Master's thesis
Year
2011
Downloads
412
Citations
1

Request the full text

Abstract

Recently, with the great enhancement of GPU’s performance, more and more industries carry out GPGPU(General-Purpose Computation on Graphics Processing Unit). In the aviation field, CFD computing accounts for plentiful time,many experts abroad take advantage of GPU to solve NS equations in parallel. Compared with cluster computing, the speedup achieved by GPU is quite large, almost 30. And the revolution of CFD computing resulted from GPU is encouraging. Many CFD commercial software such as ANSYS, Autodesk involve in the research of GPU. Meanwhile, in our country, there are few cases which could illustrate that solving NS equations in parallel on GPU is feasible and can gets a high speedup, not to mention that in the engineering practice. This situation blocks the development of solving NS equations on GPU.According to the situation, this paper devises and accomplishes the algorithm of solving NS equations in parallel on GPU, which aims to introduce the advanced computing techniques and promote the power and techniques of CFD computing. This paper focus on the following works: (1) Investigate the existing numerical method of solving NS equations for the viscous compressible flows; (2) devise and accomplish the algorithms of solving NS equations in parallel on GPU, and optimizes the application performance with many techniques; (3) compare the serial solution and parallel solution of the ORENA M6 wing and ANOTHER wing,Compared the parallel solution to the serial solution of ORENA M6 wing and ANOTHER wing, we can conclude that the algorithm of solving NS equations in parallel on GPU is correct. On GPU, a speedup of 24 is got for the ORENA M6 wing on a grid of 244800(51×30×160)meshes, and a speedup of 37 for ANOTHER wing on a grid of 1676480(208×65×124) meshes. The result demonstrates that solving NS equations in parallel on GPU could achieve a high speedup with nice scalability.

Table of contents

Abstract 3-5 ABSTRACT 5-9 The first chapter 9-17 1.1 Background and Significance 9-10 1.2 Parallel research status at home and abroad CFD technology 10-15 1.2.1 CFD -based distributed memory parallel technology development 10-11 1.2.2 CFD -based shared memory parallel technology development 11-13 1.2.3 GPU-based parallel CFD technology development 13-15 The main work of this paper 1.3 15-17 Solving chapter RANS equations 17-31 2.1 Governing equations 17-18 2.2 turbulence model 18-20 2.3 space discrete finite volume method 20-21 2.3.1 for liquidity calculation 20-21 2.3.2 viscous fluxes calculated 21 2.4 RUNGE-KUTTA explicit time advancing 21-22 2.5 Boundary Conditions 22-23 2.5.1 solid wall boundary conditions 22 2.5.2 Far -field boundary conditions 22-23 2.6 Convergence Acceleration 23-24 2.6.1 Local step 23-24 2.6.2 implicit residual smoothing 24 2.7 program flow 24-25 2.8 serial examples check 25-30 2.9 Summary 30-31 The third chapter on the GPU NS equations parallel algorithm design 31-43 3.1 introduces the concept of parallel computing 31-32 3.1.1 concurrency, parallelism and parallelism 31 3.1.2 granularity 31 3.1.3 speedup and laws 31-32 3.1.4 parallel efficiency and scalability 32 3.1.5 load balancing 32 3.1.6 hotspot 32 3.2 CUDA architecture introduces 32-36 3.2.1 CUDA programming model 32-35 3.2.2 CUDA programming language 35 3.2.3 hardware execution 35-36 3.3 PCAM design process 36-42 divided 3.3.1 task 37-39 3.3.2 Communication Analysis 39 3.3.3 task polymerization 39-40 mapping nbsp 3.3.4 GPU on ; 40-42 3.4 Summary 42-43 Chapter Four key technologies and implementation 43-48 4.1 matrix transformation 43-44 4.2 GPU main memory and data transmission is minimized 44-45 Optimization 4.3 GLOBAL MEMORY visit 45-47 4.4 synchronous implementation 47 4.5 Summary 47-48 Chapter numerical examples and analysis counted 48-60 5.1 introduces a parallel environment 48 5.2 M6 wing serial and parallel computing results contrast 48-52 5.3 The results of a comparison of serial and parallel wing 52-58 5.4 Analysis 58 5.4.1 correctness 58 5.4.2 Scalability 58 5.5 Summary 58-60 Chapter VI Summary and Outlook 60-62 6.1 summarizes 60 6.2 Prospects 60-62 References 62-67 Thanks 67-68 study papers published during Masters 68-71 Appendix 71

Related dissertations

  1. Research of Efficient Computing Method on GPU-based LS-SVM
    BaoWenLei ·Harbin Institute of Technology ·2012 ·Master's thesis
  2. Optimization of CUDA-based Parallel SOM Algorithm and Its Application
    ZhangJinChao ·Harbin Institute of Technology ·2012 ·Master's thesis
  3. Research on GPU General Computing on Text Classification
    LiZhiLong ·Zhejiang Sci-Tech University ·2014 ·Master's thesis
  4. Research and Implementation of FIR Filtering Parallel Algorithm Based on GPU
    XiaoZuo ·Northeastern University ·2011 ·Master's thesis
  5. Research on Text Detecting and Removal in Video Image Based on CUDA
  6. Rapid Implementation of the Small Infrared Target Detection Algorithm on CUDA
  7. Parallel Face Detection CUDA Accelerating
  8. Research on Boundary Face Method Base on GPU-acceleration
    YuLieXiang ·Hunan University ·2013 ·Master's thesis
  9. Research on Applying GPU Parallel Computation to Medical Image Processing
    LiYingMin ·Tianjin University ·2012 ·Master's thesis
  10. Research of Image Registration and Mosaic Technology Based on GPU
    ZouGang ·Tianjin University ·2012 ·Master's thesis
  11. Research and Implementation of Parallel Resampling Algorithm Based on GPU
    YuYinPing ·Northeastern University ·2013 ·Master's thesis
  12. The CAPTCHA Machine Pattern Recognition Technology Based on GPU Research and Application
  13. Study of Visual Tracking Algorithm Based on CUDA
    ZhangPing ·Beijing Jiaotong University ·2014 ·Master's thesis
  14. Improved Push-Relabel Algorithm for Graph Cuts And Design and Implementation on the GPU
    LiZuo ·Beijing Jiaotong University ·2014 ·Master's thesis
  15. Research and Implementation of Hashalgorithm Library on GPU
    LiKai ·South China University of Technology ·2013 ·Master's thesis
  16. Design and GPU Implementation of the DSP Algorithm in the Coherent Receiver of Fiber Communication
  17. Research of Real-time Acoustic Imaging Array Positioning Technology
    YuLiZhi ·Xiangtan University ·2013 ·Master's thesis
  18. Research on Simulation Methods Based on GPU for Small Delay Faults
    PengMingMing ·Hunan University ·2013 ·Master's thesis
  19. Hyperspectral image mixed pixel decomposition parallel optimization based on GPU
  20. High-Order Difference Forward Modeling and Reverse-Time Migration Based on CUDA
    XiangFei ·Ocean University of China ·2013 ·Master's thesis