IDEAS home Printed from https://ideas.repec.org/a/gam/jmathe/v12y2024i14p2184-d1433693.html
   My bibliography  Save this article

Parallel Implicit Solvers for 2D Numerical Models on Structured Meshes

Author

Listed:
  • Yaoxin Zhang

    (National Center for Computational Hydroscience and Engineering, University of Mississippi, Oxford, MS 38655, USA)

  • Mohammad Z. Al-Hamdan

    (National Center for Computational Hydroscience and Engineering, University of Mississippi, Oxford, MS 38655, USA
    Department of Civil Engineering, University of Mississippi, University, MS 38677, USA
    Department of Geology and Geological Engineering, University of Mississippi, University, MS 38677, USA)

  • Xiaobo Chao

    (National Center for Computational Hydroscience and Engineering, University of Mississippi, Oxford, MS 38655, USA)

Abstract

This paper presents the parallelization of two widely used implicit numerical solvers for the solution of partial differential equations on structured meshes, namely, the ADI (Alternating-Direction Implicit) solver for tridiagonal linear systems and the SIP (Strongly Implicit Procedure) solver for the penta-diagonal systems. Both solvers were parallelized using CUDA (Computer Unified Device Architecture) Fortran on GPGPUs (General-Purpose Graphics Processing Units). The parallel ADI solver (P-ADI) is based on the Parallel Cyclic Reduction (PCR) algorithm, while the parallel SIP solver (P-SIP) uses the wave front method (WF) following a diagonal line calculation strategy. To map the solution schemes onto the hierarchical block-threads framework of the CUDA on the GPU, the P-ADI solver adopted two mapping methods, one block thread with iterations (OBM-it) and multi-block threads (MBMs), while the P-SIP solver also used two mappings, one conventional mapping using effective WF lines (WF-e) with matrix coefficients and solution variables defined on original computational mesh, and a newly proposed mapping using all WF mesh (WF-all), on which matrix coefficients and solution variables are defined. Both the P-ADI and the P-SIP have been integrated into a two-dimensional (2D) hydrodynamic model, the CCHE2D (Center of Computational Hydroscience and Engineering) model, developed by the National Center for Computational Hydroscience and Engineering at the University of Mississippi. This study for the first time compared these two parallel solvers and their efficiency using examples and applications in complex geometries, which can provide valuable guidance for future uses of these two parallel implicit solvers in computational fluids dynamics (CFD). Both parallel solvers demonstrated higher efficiency than their serial counterparts on the CPU (Central Processing Unit): 3.73~4.98 speedup ratio for flow simulations, and 2.166~3.648 speedup ratio for sediment transport simulations. In general, the P-ADI solver is faster than but not as stable as the P-SIP solver; and for the P-SIP solver, the newly developed mapping method WF-all significantly improved the conventional mapping method WF-e.

Suggested Citation

  • Yaoxin Zhang & Mohammad Z. Al-Hamdan & Xiaobo Chao, 2024. "Parallel Implicit Solvers for 2D Numerical Models on Structured Meshes," Mathematics, MDPI, vol. 12(14), pages 1-37, July.
  • Handle: RePEc:gam:jmathe:v:12:y:2024:i:14:p:2184-:d:1433693
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2227-7390/12/14/2184/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2227-7390/12/14/2184/
    Download Restriction: no
    ---><---

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jmathe:v:12:y:2024:i:14:p:2184-:d:1433693. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.