IDEAS home Printed from https://ideas.repec.org/a/hin/jnlmpe/2375102.html
   My bibliography  Save this article

Parallel Implementation of FEM Solver for Shared Memory Using OpenMP

Author

Listed:
  • Rabia Majeed
  • Ramisha Farrukh
  • Omer Riaz
  • Sikandar Ali
  • Ali Samad
  • Mukhtaj Khan
  • Vijay Kumar

Abstract

FEM solver is designed for shared memory architectures using an object-oriented paradigm. The FEM solver is divided into five major sections; these are a collection of mesh data, creating an object for each finite element, application of boundary conditions, assembly of a linear system of equations, and lastly a solver to calculate the solution for the system of linear equations. This work has focused on the study of multiple parallel implementations for each stage of the FEM solver. All the stages are implemented in C++ while each stage parallel regions are implemented using OpenMP. The data structures used in this work are also C++ objects implemented using STL containers, like sparse matrix used is constructed as two-layer nested binary trees where each internal tree represents a sparse row in a global matrix. These structures are used in every stage and have never been converted into more conventional matrix structures like CSR, etc. Finally, this work has shown the contribution of time for each stage and the amount of speedup achieved for them. Using 16 threads, the solver has attained a speedup of 5.21 for mesh having 2099201 unknowns and Poisson’s equation. Two linear solvers Jacobi and CG are used which were consuming 95% of total solver time. The novelty of our work lies in the fact that this work focused on the implementation of Finite Element Application (FEA) using object-oriented programming for a shared memory architecture using OpenMP without considering conventional techniques of application speedup and specialized data structures like CSR, etc.

Suggested Citation

  • Rabia Majeed & Ramisha Farrukh & Omer Riaz & Sikandar Ali & Ali Samad & Mukhtaj Khan & Vijay Kumar, 2022. "Parallel Implementation of FEM Solver for Shared Memory Using OpenMP," Mathematical Problems in Engineering, Hindawi, vol. 2022, pages 1-13, March.
  • Handle: RePEc:hin:jnlmpe:2375102
    DOI: 10.1155/2022/2375102
    as

    Download full text from publisher

    File URL: http://downloads.hindawi.com/journals/mpe/2022/2375102.pdf
    Download Restriction: no

    File URL: http://downloads.hindawi.com/journals/mpe/2022/2375102.xml
    Download Restriction: no

    File URL: https://libkey.io/10.1155/2022/2375102?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    More about this item

    Statistics

    Access and download statistics

    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:hin:jnlmpe:2375102. 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: Mohamed Abdelhakeem (email available below). General contact details of provider: https://www.hindawi.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.