On pragmatic parallelization of a serial Navier‐Stokes solver in cylindrical coordinates
Author:
Nygård Frode,Andersson Helge I.
Abstract
PurposeThe purpose of this paper is to describe a pragmatic parallelization of a publicly available serial code aimed for direct numerical simulations of turbulent flow fields. The code solves the full Navier‐Stokes equations in a cylindrical coordinate system.Design/methodology/approachThe parallelization is performed by a single program multiple data approach using the Message‐Passing Interface (MPI) Library for processor communication.FindingsIn order to maintain the original coding of the subroutines, two obstacles had to be overcome. First, special attention had to be given to the inversion of the sparse matrixes from the linear terms in the Navier‐Stokes equations solved by an implicit scheme. Second, the serial FFT‐routines, needed for the direct Poisson‐solver, had to be replaced by parallel versions. Two directions of parallelization were tested. Parallelization in the axial direction turned out to be more efficient than parallelization in the circumferential direction.Originality/valueThis paper presents a pragmatic parallelization of an open source finite difference code and should be useful to researchers in the field of numerical methods for fluid flow who need to parallelize a numerical code.
Subject
Applied Mathematics,Computer Science Applications,Mechanical Engineering,Mechanics of Materials
Reference7 articles.
1. Chapman, B., Jost, G. and Van Der Pas, R. (2008), Using OpenMP: Portable Shared Memory Parallel Programming, The MIT Press, Cambridge, MA. 2. Eggels, J.G.M., Unger, F., Weiss, M.H., Westerweel, J., Adrian, R.J., Friedrich, R. and Nieuwstadt, F.T.M. (1994), “Fully developed turbulent pipe flow: a comparison between direct numerical simulation and experiment”, J. Fluid Mech., Vol. 286, pp. 175‐209. 3. Grama, A., Gupta, A., Karypis, G. and Kumar, V. (2003), Introduction to Parallel Computing, 2nd ed., Pearson Education, Harlow. 4. Gropp, W., Lusk, E. and Skjellum, A. (1999), Using MPI: Portable Parallel Programming with the Message‐Passing Interface, 2nd ed., The MIT Press, Cambridge, MA. 5. Long, L.N., Morris, P.J. and Agarwal, A. (2004), “A review of parallel computing in computational aeronautics”, Int. J. Comp. Fluid Dyn., Vol. 18, pp. 493‐502.
Cited by
4 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
|
|