Solving shallow-water systems in 2D domains using Finite Volume methods and multimedia SSE instructions

被引:20
作者
Castro, M. J. [2 ]
Garcia-Rodriguez, J. A. [2 ]
Gonzalez-Vida, J. M. [1 ]
Pares, C. [2 ]
机构
[1] Univ Malaga, Dpto Matemat Aplicada, E-29071 Malaga, Spain
[2] Univ Malaga, Dpto Anal Matemat, E-29071 Malaga, Spain
关键词
Conservation laws; Shallow-water equations; Geophysical flows; Nonconservative products; Finite Volume methods; Parallelization; SIMD parallelisms; SSE instructions;
D O I
10.1016/j.cam.2007.10.034
中图分类号
O29 [应用数学];
学科分类号
070104 ;
摘要
The goal of this paper is to construct efficient parallel solvers for 2D hyperbolic systems of conservation laws with source terms and nonconservative products. The method of lines is applied: at every intercell a projected Riemann problem along the normal direction is considered which is discretized by means of well-balanced Roe methods. The resulting 2D numerical scheme is explicit and first-order accurate. In [M.J. Castro, J.A. Garcia, J.M. Gonzalez, C. Pares, A parallel 2D Finite Volume scheme for solving systems of balance laws with nonconservative products: Application to shallow flows, Comput. Methods Appl. Mech. Engrg. 196 (2006) 2788-2815] a domain decomposition method was used to parallelize the resulting numerical scheme, which was implemented in a PC cluster by means of MPI techniques. In this paper, in order to optimize the computations, a new parallelization of SIMD type is performed at each MPI thread, by means of SSE ("Streaming SIMD Extensions"), which are present in common processors. More specifically, as the most costly part of the calculations performed at each processor consists of a huge number of small matrix and vector computations, we use the Intel (c) Integrated Performance Primitives small matrix library. To make easy the use of this library, which is implemented using assembler and SSE instructions, we have developed a C++ wrapper of this library in an efficient way. Some numerical tests were carried out to validate the performance of the C++ small matrix wrapper. The specific application of the scheme to one-layer Shallow-Water systems has been implemented on a PC's cluster. The correct behavior of the one-layer model is assessed using laboratory data. (C) 2007 Elsevier B.V. All rights reserved.
引用
收藏
页码:16 / 32
页数:17
相关论文
共 25 条
[1]  
[Anonymous], 1986, PROCEEDING C HYPERBO
[2]   UPWIND METHODS FOR HYPERBOLIC CONSERVATION-LAWS WITH SOURCE TERMS [J].
BERMUDEZ, A ;
VAZQUEZ, E .
COMPUTERS & FLUIDS, 1994, 23 (08) :1049-1071
[3]  
Bouchut F., 2004, Nonlinear Stability of Finite Volume Methods for Hyperbolic Conservation Laws and Well-Balanced Schemes. Frontiers in Mathematics, DOI 10.1007/b93802
[4]   A Q-scheme for a class of systems of coupled conservation laws with source term.: Application to a two-layer 1-D shallow water system [J].
Castro, M ;
Macías, J ;
Parés, C .
ESAIM-MATHEMATICAL MODELLING AND NUMERICAL ANALYSIS-MODELISATION MATHEMATIQUE ET ANALYSE NUMERIQUE, 2001, 35 (01) :107-127
[5]   High order finite volume schemes based on reconstruction of states for solving hyperbolic systems with nonconservative products.: Applications to shallow-water systems [J].
Castro, Manuel ;
Gallardo, Jose E. M. ;
Pares, Carlos .
MATHEMATICS OF COMPUTATION, 2006, 75 (255) :1103-1134
[6]   Numerical treatment of wet/dry fronts in shallow flows with a modified Roe scheme [J].
Castro, Manuel J. ;
Gonzalez-Vida, Jose M. ;
Pares, Carlos .
MATHEMATICAL MODELS & METHODS IN APPLIED SCIENCES, 2006, 16 (06) :897-931
[7]   A parallel 2d finite volume scheme for solving systems of balance laws with nonconservative products:: Application to shallow flows [J].
Castro, MJ ;
García-Rodríguez, JA ;
González-Vida, JM ;
Parés, C .
COMPUTER METHODS IN APPLIED MECHANICS AND ENGINEERING, 2006, 195 (19-22) :2788-2815
[8]   The numerical treatment of wet/dry fronts in shallow flows:: Application to one-layer and two-layer systems [J].
Castro, MJ ;
Ferreiro, AMF ;
García-Rodríguez, JA ;
González-Vida, JM ;
Macías, J ;
Parés, C ;
Vázquez-Cendón, ME .
MATHEMATICAL AND COMPUTER MODELLING, 2005, 42 (3-4) :419-439
[9]  
CASTRO MJ, 2007, HIGH ORDER EXT UNPUB
[10]  
DalMaso G, 1995, J MATH PURE APPL, V74, P483