Numerical Realization of Shallow Water Bodies’ Hydrodynamics Grid Equations using Tridiagonal Preconditioner in Areas of Complex Shape
https://doi.org/10.23947/2587-8999-2023-7-2-19-30
Abstract
Introduction. Mathematical modeling of hydrodynamic processes in shallow reservoirs of complex geometry in the presence of coastal engineering systems requires an integrated approach in the development of algorithms for constructing computational grids and methods for solving grid equations. The work is devoted to the description of algorithms that allow to reduce the time for solving SLAE by using an algorithm for processing overlapping geometry segments and organizing parallel pipeline calculations. The aim of the work is to compare the acceleration of parallel algorithms for the methods of Seidel, Jacobi, modified alternately triangular method and the method of solving grid equations with tridiagonal preconditioner depending on the number of computational nodes.
Materials and Methods. The numerical implementation of the modified alternating-triangular iterative method for solving grid equations (MATM) of high dimension is based on parallel algorithms based on a conveyor computing process. The decomposition of the computational domain for the organization of the pipeline calculation process has been performed. A graph model is introduced that allows to fix the connections between neighboring fragments of the computational grid. To describe the complex geometry of a reservoir, including coastal structures, an algorithm for overlapping geometry segments is proposed.
Results. It was found that the efficiency of implementing one step of the MATM on the GPU depends only on the number of threads along the Oz axis, and the step execution time is inversely proportional to the number of nodes of the computational grid along the Oz axis. Therefore, it is recommended to decompose the computational domain into parallelepipeds in such a way that the size along the Oz axis is maximum, and the size along the Ox axis is minimal. Thanks to the algorithm for combining geometry segments, it was possible to speed up the calculation by 14–27 %.
Discussion and Conclusions. An algorithm has been developed and numerically implemented for solving a system of large-dimensional grid equations arising during the discretization of the shallow water bodies’ hydrodynamics problem by MATM, adapted for heterogeneous computing systems. The graph model of a parallel-pipeline computing process is proposed. The connection of water body’s geometry segments allowed to reduce the number of computational operations and increase the speed of calculations. The efficiency of parallel algorithms for the methods of Seidel, Jacobi, modified alternately triangular method and the method of solving grid equations for problems of hydrodynamics in flat areas, depending on the number of computational nodes, is compared.
Keywords
About the Authors
V. N. LitvinovRussian Federation
Vladimir N Litvinov, Associate Professor of the Mathematics and Computer Science Department, PhD. (Tech.)
1, Gagarin Sq., Rostov-on-Don, 344003
ScopusID: 57210417831
AuthorID: 675769
A. M. Atayan
Russian Federation
Asya M Atayan, Assistant of the Computer Engineering and Automated Systems Software Department
1, Gagarin Sq., Rostov-on-Don, 344003
ScopusID: 57213156282
AuthorID: 919484
N. N. Gracheva
Russian Federation
Natalia N Gracheva, PhD. (Tech.), Associate Professor of the Mathematics and Bioinformatics Department
21, Lenin St., Zernograd, 347740
ScopusID: 57201921924
AuthorID: 676644
N. B. Rudenko
Russian Federation
Nelly B Rudenko, Associate Professor of the Mathematics and Bioinformatics Department, PhD. (Tech.)
21, Lenin St., Zernograd, 347740
ScopusID: 57222150363
AuthorID: 677604
N. Yu. Bogdanova
Russian Federation
Natalia Yu Bogdanova, Lecturer of the Mathematics and Computer Science Department
1, Gagarin Sq., Rostov-on-Don, 344003
AuthorID: 764564
References
1. Vabishchevich P. Iterative Methods for Solving Convection-diffusion Problem. Computational Methods in Applied Mathematics. 2002;2(4):410–444. https://www.doi.org/10.2478/cmam-2002-0023
2. Geiser J, Hueso J, Martinez E. Adaptive Iterative Splitting Methods for Convection-Diffusion-Reaction Equations. Mathematics. 2020;8:302. https://www.doi.org/10.3390/math8030302
3. Subbaian G, Reddy S. Performance Analysis of Different Iterative Solvers Parallelized On GPU Architecture. 2023;2:215–220. https://www.doi.org/10.1007/978-981-19-6970-6_39
4. Lakshmiranganatha S, Muknahallipatna S. Performance Analysis of Accelerator Architectures and Programming Models for Parareal Algorithm Solutions of Ordinary Differential Equations. Journal of Computer and Communications. 2021;9(2):29–56. https://www.doi.org/10.4236/jcc.2021.92003
5. Temirbekov A, Baigereyev D, Temirbekov N, et al. Amantayeva A. Parallel CUDA implementation of a numerical algorithm for solving the Navier-Stokes equations using the pressure uniqueness condition. AIP Conference Proceedings; 2021;2325:020063. https://www.doi.org/10.4236/jcc.2021.9200310.1063
6. Paliwal M, Chilla R, Prasanth N, et al. Parallel implementation of solving linear equations using OpenMP. International Journal of Information Technology. 2022;14:1677–1687. https://www.doi.org/10.1007/s41870-022-00899-9
7. Akimova EN, Sultanov MA, Misilov VE, et al. Parallel sweep algorithm for solving direct and inverse problems for time-fractional diffusion equation. Numerical Methods and Programming (Vychislitel’nye Metody i Programmirovanie). 2022;23(4):275–287. (In Russ.) https://www.doi.org/10.26089/NumMet.v23r417
8. Sultanov M, Akimova E, Misilov V, et al. Parallel Direct and Iterative Methods for Solving the Time-Fractional Diffusion Equation on Multicore Processors. Mathematics. 2022;10(3):323. https://www.doi.org/10.3390/math10030323
9. Sechenov P, Rybenko I. Solving the problem of one-dimensional thermal conductivity on graphics processors using CUDA technology. Applied Mathematics and Control Sciences. 2021;4:23–41. https://www.doi.org/10.15593/2499-9873/2021.4.02
10. Khimich A, Polyanko V, Chistyakova T. Parallel Algorithms for Solving Linear Systems on Hybrid Computers. Cybernetics and Computer Technologies. 2020:53–66. https://www.doi.org/10.34229/2707-451X.20.2.6
11. Golovashkin DL. Parallel algorithms for solving tridiagonal grid equations based on the method of counter runs. Mathematical modeling. 2005;17(11):118–128. (In Russ.).
12. Volkov-Bogorodsky DB, Sushko GB, Kharchenko SA. Combined MPI+threads parallel implementation of the block method for modeling thermal processes in structurally inhomogeneous media. Computational methods and programming. 2010;11(1):127–136. (In Russ).
13. Munk DJ, Kipouros T, Vio GA. Multi-physics bi-directional evolutionary topology optimization on GPUarchitecturе. Engineering with Computers. 2019;35(4):1059–1079. https://www.doi.org/10.1007/s00366-018-0651-1
14. Sukhinov AI, Chistyakov AE, Shishenya AV, et al. Predictive Modeling of Coastal Hydrophysical Processes in Multiple-Processor Systems Based on Explicit Schemes. Mathematical Models and Computer Simulations. 2018;10(5):648–658. https://www.doi.org/10.1134/S2070048218050125
15. Konovalov AN. The method of rapid descent with an adaptive alternately triangular preconditioner. Differential equations. 2004;40(7):953–963. (In Russ.).
16. Samarskiy AA, Vabishevich PN. Numerical methods for solving convection-diffusion problems, Stereotype Publishing House. Moscow: Book House «LIBROCOM»; 2015. 248 p. (In Russ).
17. Oyarzun G, Borrell R, Gorobets A, et al. MPI-CUDA sparse matrix–vector multiplication for the conjugate gradient method with an approximate inverse preconditioner. Computers and Fluids. 2014;92:244–252. https://www.doi.org/10.1016/j.compfluid.2013.10.035
18. Khokhlov NI, Petrov IB. Application of the grid-characteristic method for solving the problems of the propagation of dynamic wave disturbances in high-performance computing systems. Proceedings of ISP RAS. 2019;31:237–252.
19. Sukhinov AI, Belova YuV, Chistyakov AE. Solution of the matter transport problem at high Peclet numbers. Numerical methods and programming. 2017;18(4):371–380.
20. Sukhinov AI, Chistyakov AE, Protsenko EA, et al. Accounting method of filling cells for the hydrodynamics problems solution with complex geometry of the computational domain. Mathematical Models and Computer Simulations. 2019;31(8):79–100. https://www.doi.org/10.1134/S0234087919080057
21. Sukhinov AI, Chistyakov AE, Protsenko EA. Upwind and Standard Leapfrog Difference Schemes. Numerical methods and programming. 2019;20(2):170–181. https://www.doi.org/0.26089/NumMet.v20r216; Sukhinov AI, Chistyakov AE, Kuznetsova IY, et al. Modelling of suspended particles motion in channel. Journal of Physics: Conference Series. 2020;1479(1). https://www.doi.org/10.1088/1742-6596/1479/1/012082
22. Sukhinov AI, Chistyakov AE. Adaptive analog-SSOR iterative method for solving grid equations with nonselfadjoint operators. Mathematical Models and Computer Simulations. 2012;4(4):398–409.
Review
For citations:
Litvinov V.N., Atayan A.M., Gracheva N.N., Rudenko N.B., Bogdanova N.Yu. Numerical Realization of Shallow Water Bodies’ Hydrodynamics Grid Equations using Tridiagonal Preconditioner in Areas of Complex Shape. Computational Mathematics and Information Technologies. 2023;7(2):19-30. https://doi.org/10.23947/2587-8999-2023-7-2-19-30