Solving two-phase shallow granular flow equations with a well-balanced NOC scheme on multiple GPUs

Abstract A two-phase shallow granular flow model consists of mass and momentum equations for the solid and fluid phases, coupled together by conservative and non-conservative momentum exchange terms. Development of classic Godunov methods based on Riemann problem solutions for such a model is difficult because of complexity in building appropriate wave structures. Non-oscillatory central (NOC) differencing schemes are attractive as they do not need to solve Riemann problems. In this paper, a staggered NOC scheme is amended for numerical solution of the two-phase shallow granular flow equations due to Pitman and Le. Simple discretization schemes for the non-conservative and bed slope terms and a simple correction procedure for the updating of the depth variables are proposed to ensure the well-balanced property. The scheme is further corrected with a numerical relaxation term mimicking the interphase drag force so as to overcome the difficulty associated with complex eigenvalues in some flow conditions. The resultant NOC scheme is implemented on multiple graphics processing units (GPUs) in a server by using both OpenMP-CUDA and multistream-CUDA parallelization strategies. Numerical tests in several typical two-phase shallow granular flow problems show that the NOC scheme can model wet/dry fronts and vacuum appearance robustly, and can treat some flow conditions associated with complex eigenvalues. Comparison of parallel efficiencies shows that the multistream-CUDA strategy can be slightly faster or slower than the OpenMP-CUDA strategy depending on the grid sizes.

[1]  Jie Cheng,et al.  CUDA by Example: An Introduction to General-Purpose GPU Programming , 2010, Scalable Comput. Pract. Exp..

[2]  Randall J. LeVeque,et al.  Balancing Source Terms and Flux Gradients in High-Resolution Godunov Methods , 1998 .

[3]  Emmanuel Audusse,et al.  A Fast and Stable Well-Balanced Scheme with Hydrostatic Reconstruction for Shallow Water Flows , 2004, SIAM J. Sci. Comput..

[4]  O. Hungr,et al.  A model for the analysis of rapid landslide motion across three-dimensional terrain , 2004 .

[5]  S. Savage,et al.  The motion of a finite mass of granular material down a rough incline , 1989, Journal of Fluid Mechanics.

[6]  Kolumban Hutter,et al.  Gravity-driven free surface flow of granular avalanches over complex basal topography , 1999, Proceedings of the Royal Society of London. Series A: Mathematical, Physical and Engineering Sciences.

[7]  W. Liu,et al.  Solving the Savage–Hutter equations for granular avalanche flows with a second‐order Godunov type method on GPU , 2015 .

[8]  E. Tadmor,et al.  Non-oscillatory central differencing for hyperbolic conservation laws , 1990 .

[9]  Manuel Jesús Castro Díaz,et al.  Numerical Treatment of the Loss of Hyperbolicity of the Two-Layer Shallow-Water System , 2011, J. Sci. Comput..

[10]  Shamsul Qamar,et al.  A kinetic flux-vector splitting method for single-phase and two-phase shallow flows , 2014, Comput. Math. Appl..

[11]  Jason Sanders,et al.  CUDA by example: an introduction to general purpose GPU programming , 2010 .

[12]  Martin Lilleeng Sætra,et al.  Shallow Water Simulations on Multiple GPUs , 2010, PARA.

[13]  S. Osher,et al.  High-Resolution Nonoscillatory Central Schemes with Nonstaggered Grids for Hyperbolic Conservation Laws , 1998 .

[14]  Alfredo Bermúdez,et al.  Upwind methods for hyperbolic conservation laws with source terms , 1994 .

[15]  Alexander Kurganov,et al.  Semidiscrete Central-Upwind Schemes for Hyperbolic Conservation Laws and Hamilton-Jacobi Equations , 2001, SIAM J. Sci. Comput..

[16]  M. J. Castro,et al.  ADER schemes on unstructured meshes for nonconservative hyperbolic systems: Applications to geophysical flows , 2009 .

[17]  Kolumban Hutter,et al.  Shock-capturing and front-tracking methods for granular avalanches , 2015, 1501.04756.

[18]  Richard M. Iverson,et al.  Granular avalanches across irregular three-dimensional terrain: 1. Theory and computation , 2004 .

[19]  Michael Dumbser,et al.  A new efficient formulation of the HLLEM Riemann solver for general conservative and non-conservative hyperbolic systems , 2016, J. Comput. Phys..

[20]  戴義欽 Dynamics of granular avalanches and their simulations with shock-capturing and front-tracking numerical schemes , 2000 .

[21]  A. Kurganov,et al.  On the Reduction of Numerical Dissipation in Central-Upwind Schemes , 2006 .

[22]  Benedict D. Rogers,et al.  Mathematical balancing of flux gradient and source terms prior to using Roe's approximate Riemann solver , 2003 .

[23]  Waqas Ashraf,et al.  A space–time CE/SE method for solving single and two-phase shallow flow models , 2014 .

[24]  Jason Miller,et al.  Central-Upwind Scheme for Savage–Hutter Type Model of Submarine Landslides and Generated Tsunami Waves , 2014, Comput. Methods Appl. Math..

[25]  M. J. Castro,et al.  IFCP Riemann Solver for the Pitman-Le System , 2012 .

[26]  Yulong Xing,et al.  High order finite difference WENO schemes with the exact conservation property for the shallow water equations , 2005 .

[27]  Long Le,et al.  A two-fluid model for avalanche and debris flows , 2005, Philosophical Transactions of the Royal Society A: Mathematical, Physical and Engineering Sciences.

[28]  Marica Pelanti,et al.  A Roe-type scheme for two-phase shallow granular flows over variable topography , 2008 .

[29]  Manuel Jesús Castro Díaz,et al.  A Class of Computationally Fast First Order Finite Volume Solvers: PVM Methods , 2012, SIAM J. Sci. Comput..

[30]  X. Cui Computational and experimental studies of rapid free-surface granular flows around obstacles , 2014 .

[31]  Oldrich Hungr,et al.  A model for the runout analysis of rapid flow slides, debris flows, and avalanches , 1995 .

[32]  Kolumban Hutter,et al.  Channelized free-surface flow of cohesionless granular avalanches in a chute with shallow lateral curvature , 1999, Journal of Fluid Mechanics.

[33]  Richard M. Iverson,et al.  Flow of variably fluidized granular masses across three‐dimensional terrain: 2. Numerical predictions and experimental tests , 2001 .

[34]  Manuel Jesús Castro Díaz,et al.  A multi‐GPU shallow‐water simulation with transport of contaminants , 2013, Concurr. Comput. Pract. Exp..

[35]  Kolumban Hutter,et al.  The Savage‐Hutter theory: A system of partial differential equations for avalanche flows of snow, debris, and mud , 2004 .

[36]  Marica Pelanti,et al.  A Riemann solver for single-phase and two-phase shallow flow models based on relaxation. Relations with Roe and VFRoe solvers , 2011, J. Comput. Phys..

[37]  Richard M. Iverson,et al.  Flow of variably fluidized granular masses across three‐dimensional terrain: 1. Coulomb mixture theory , 2001 .

[38]  Martin Lilleeng Sætra,et al.  Graphics processing unit (GPU) programming strategies and trends in GPU computing , 2013, J. Parallel Distributed Comput..

[39]  Long Hoang Le New models for geophysical mass flows , 2006 .