A hybrid MPI-OpenMP parallel implementation for pseudospectral simulations with application to Taylor–Couette flow

Abstract A hybrid-parallel direct-numerical-simulation method with application to turbulent Taylor–Couette flow is presented. The Navier–Stokes equations are discretized in cylindrical coordinates with the spectral Fourier–Galerkin method in the axial and azimuthal directions, and high-order finite differences in the radial direction. Time is advanced by a second-order, semi-implicit projection scheme, which requires the solution of five Helmholtz/Poisson equations, avoids staggered grids and renders very small slip velocities. Nonlinear terms are evaluated with the pseudospectral method. The code is parallelized using a hybrid MPI-OpenMP strategy, which, compared with a flat MPI parallelization, is simpler to implement, allows to reduce inter-node communications and MPI overhead that become relevant at high processor-core counts, and helps to contain the memory footprint. A strong scaling study shows that the hybrid code maintains scalability up to more than 20,000 processor cores and thus allows to perform simulations at higher resolutions than previously feasible. In particular, it opens up the possibility to simulate turbulent Taylor–Couette flows at Reynolds numbers up to O ( 10 5 ) . This enables to probe hydrodynamic turbulence in Keplerian flows in experimentally relevant regimes.

[1]  R. Adrian,et al.  Direct numerical simulation of a 30R long turbulent pipe flow at R + = 685: large- and very large-scale motions , 2012, Journal of Fluid Mechanics.

[2]  Dan Kosloff,et al.  A modified Chebyshev pseudospectral method with an O(N –1 ) time step restriction , 1993 .

[3]  D. Coles Transition in circular Couette flow , 1965, Journal of Fluid Mechanics.

[4]  M. Avila,et al.  Scale invariance at the onset of turbulence in Couette flow. , 2013, Physical review letters.

[5]  Bruno Eckhardt,et al.  Direct numerical simulations of local and global torque in Taylor–Couette flow up to Re = 30 000 , 2012, Journal of Fluid Mechanics.

[6]  P. Spalart Direct simulation of a turbulent boundary layer up to Rθ = 1410 , 1988, Journal of Fluid Mechanics.

[7]  P. Moin,et al.  DIRECT NUMERICAL SIMULATION: A Tool in Turbulence Research , 1998 .

[8]  Anthony Randriamampianina,et al.  An improved projection scheme applied to pseudospectral methods for the incompressible Navier-Stokes equations , 1998 .

[9]  D. Anderson,et al.  Algorithms for minimization without derivatives , 1974 .

[10]  C. Jones The transition to wavy Taylor vortices , 1985, Journal of Fluid Mechanics.

[11]  M. Avila Stability and angular-momentum transport of fluid flows between corotating cylinders. , 2012, Physical review letters.

[12]  Anthony T. Patera,et al.  Secondary instability of wall-bounded shear flows , 1983, Journal of Fluid Mechanics.

[13]  Richard M. Lueptow,et al.  Interaction of wavy cylindrical Couette flow with endwalls , 2004 .

[14]  D. Lathrop,et al.  Angular momentum transport in turbulent flow between independently rotating cylinders. , 2010, Physical review letters.

[15]  P. Moin,et al.  Turbulence statistics in fully developed channel flow at low Reynolds number , 1987, Journal of Fluid Mechanics.

[16]  L. Rayleigh On the Dynamics of Revolving Fluids , 1917 .

[17]  G. S. Patterson,et al.  Numerical simulation of turbulence , 1972 .

[18]  Isabel Mercader,et al.  An efficient spectral code for incompressible flows in cylindrical geometries , 2010 .

[19]  Philip S. Marcus,et al.  Simulation of Taylor-Couette flow. Part 1. Numerical methods and comparison with experiment , 1984, Journal of Fluid Mechanics.

[20]  Steven G. Johnson,et al.  The Design and Implementation of FFTW3 , 2005, Proceedings of the IEEE.

[21]  Javier Jiménez,et al.  Computing high-Reynolds-number turbulence: will simulations ever replace experiments?* , 2003 .

[22]  Javier Jiménez,et al.  Scaling of the velocity fluctuations in turbulent channels up to Reτ=2003 , 2006 .

[23]  Ramis Örlü,et al.  Assessment of direct numerical simulation data of turbulent boundary layers , 2010, Journal of Fluid Mechanics.

[24]  Claudio Canuto,et al.  Spectral Methods: Evolution to Complex Geometries and Applications to Fluid Dynamics (Scientific Computation) , 2007 .

[25]  Parviz Moin,et al.  A spectral numerical method for the Navier-Stokes equations with applications to Taylor-Couette flow , 1983 .

[26]  John Shalf,et al.  The International Exascale Software Project roadmap , 2011, Int. J. High Perform. Comput. Appl..

[27]  Jerry Westerweel,et al.  Fully developed turbulent pipe flow: a comparison between direct numerical simulation and experiment , 1994, Journal of Fluid Mechanics.

[28]  G. S. Patterson,et al.  Numerical Simulation of Three-Dimensional Homogeneous Isotropic Turbulence , 1972 .

[29]  KosloffDan,et al.  A modified Chebyshev pseudospectral method with an O(N1) time step restriction , 1993 .

[30]  R. Sani,et al.  On pressure boundary conditions for the incompressible Navier‐Stokes equations , 1987 .

[31]  Suchuan Dong,et al.  Direct numerical simulation of turbulent Taylor–Couette flow , 2007, Journal of Fluid Mechanics.

[32]  Coughlin,et al.  Turbulent Bursts in Couette-Taylor Flow. , 1996, Physical review letters.

[33]  D. Lohse,et al.  Angular momentum transport and turbulence in laboratory models of Keplerian flows , 2011, 1111.6915.

[34]  D. Lohse,et al.  Turbulence decay towards the linearly stable regime of Taylor–Couette flow , 2013, Journal of Fluid Mechanics.

[35]  Interaction between Ekman pumping and the centrifugal instability in Taylor–Couette flow , 2003 .

[36]  S. Orszag,et al.  High-order splitting methods for the incompressible Navier-Stokes equations , 1991 .

[37]  Hantao Ji,et al.  Hydrodynamic turbulence cannot transport angular momentum effectively in astrophysical disks , 2006, Nature.

[38]  M. Avila,et al.  Transient growth in linearly stable Taylor–Couette flows , 2013, Journal of Fluid Mechanics.

[39]  Patrick Bontoux,et al.  A spectral projection method for the simulation of complex three-dimensional rotating flows , 2002 .

[40]  Maurizio Quadrio,et al.  Initial response of a turbulent channel flow to spanwise oscillation of the walls , 2003 .

[41]  Dwight Barkley,et al.  Computational study of turbulent laminar patterns in couette flow. , 2005, Physical review letters.

[42]  Bengt Fornberg A practical guide to pseudospectral methods: Applications for spectral methods , 1996 .

[43]  H. Ji,et al.  Stability of quasi-Keplerian shear flow in a laboratory experiment , 2011, 1102.3725.

[44]  Gregory P. King,et al.  Wave speeds in wavy Taylor-vortex flow , 1984, Journal of Fluid Mechanics.

[45]  H. Ji,et al.  Nonlinear stability of laboratory quasi-Keplerian flows. , 2014, Physical review. E, Statistical, nonlinear, and soft matter physics.

[46]  A. Meseguer,et al.  Solenoidal spectral formulations for the computation of secondary flows in cylindrical and annular geometries , 2007 .

[47]  S. Balbus Fluid dynamics: A turbulent matter , 2011, Nature.

[48]  Global endwall effects on centrifugally stable flows , 2008 .