• DocumentCode
    2580034
  • Title

    A CUDA Pseudo-spectral Solver for Two-Dimensional Navier-Stokes Equation

  • Author

    Lou, Kaiyuan ; Yin, Zhaohua

  • Author_Institution
    Inst. of Mech., Beijing, China
  • fYear
    2012
  • fDate
    19-22 Oct. 2012
  • Firstpage
    62
  • Lastpage
    66
  • Abstract
    In this paper, the two dimension incompressible Navier-Stokes equations with pseudo-spectral method are solved using the related subroutines in FFTW and CUFFT. Compared with the codes on CPU, the performance of the codes on GPU is much better, especially when the resolution increases. For the resolution of 2048 × 2048, the acceleration reaches 14.45 times. We also try to combine MPI (Message Passing Interface) and CUDA (Compute Unified Device Architecture) in our solver. Due to the inevitable frequent data transfers between Host and Device, the speedup is not so ideal compared with that of the single node, and 1.82 times acceleration is obtained in double precision for the resolution of 4096 × 4096.
  • Keywords
    Navier-Stokes equations; application program interfaces; mechanical engineering computing; message passing; parallel architectures; CUDA pseudo-spectral solver; CUFFT; FFTW; MPI; compute unified device architecture; message passing interface; two dimension incompressible Navier-Stokes equations; Acceleration; Computational fluid dynamics; Computers; Equations; Graphics processing units; Instruction sets; Mathematical model; CUDA; N-S equation; spectral method;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Distributed Computing and Applications to Business, Engineering & Science (DCABES), 2012 11th International Symposium on
  • Conference_Location
    Guilin
  • Print_ISBN
    978-1-4673-2630-8
  • Type

    conf

  • DOI
    10.1109/DCABES.2012.93
  • Filename
    6385240