Abstract

Computational load imbalance is a well-known performance issue in multiprocessor reacting flow simulations utilizing directly integrated chemical kinetics. We introduce an open-source dynamic load balancing model named DLBFoam to address this issue within OpenFOAM, an open-source C++ library for Computational Fluid Dynamics (CFD). Due to the commonly applied operator splitting practice in reactive flow solvers, chemistry can be treated as an independent stiff ordinary differential equation (ODE) system within each computational cell. As a result of the highly non-linear characteristics of chemical kinetics, a large variation in the convergence rates of the ODE integrator may occur, leading to a high load imbalance across multiprocessor configurations. However, the independent nature of chemistry ODE systems leads to a problem that can be parallelized easily (called an embarrassingly parallel problem in the literature) during the flow solution. The presented model takes advantage of this feature and balances the chemistry load across available resources. Additionally, a reference mapping model is utilized to further speed-up the simulations. When DLBFoam it utilized with both these features enabled, a speed-up by a factor of 10 is reported for reactive flow benchmark cases. To the best of our knowledge, this model is the first open-source implementation of chemistry load balancing in the literature. Program summaryProgram Title: DLBFoamCPC Library link to program files:https://doi.org/10.17632/bb9zjfzcmm.1Developer's repository link:https://github.com/blttkgl/DLBFoamLicensing provisions: GPLv3Programming language: C++Nature of problem: Solution of chemical kinetics in parallel reacting flow solvers raises a computational imbalance across multiprocessor architectures. DLBFoam balances the load distribution evenly, providing significant speed-up in reacting CFD applications.Solution method: The dynamic load balancing is implemented by distributing the point-wise chemistry problems from most loaded processes to less loaded ones using MPI communication protocol.Additional comments including restrictions and unusual features: The present model is designed to work with the standard chemistry model class available in OpenFOAM (versions 7 and 8). For the time being, the model does not support derived combustion models such as “TDAC” and covers gas-phase reaction kinetics only. In addition, the boundary surface chemistry problems are neglected by the model.

Highlights

  • ✩ The review of this paper was arranged by Prof

  • To carry out the performance analysis, we have developed a benchmarking suite in OpenFOAM, where a given set of chemistry problems are solved in parallel by the ordinary differential equation (ODE) solver and the total execution times are measured

  • Following the performance benchmark of the load balancing model in the previous section, here we demonstrate the model performance in actual reactive Computational Fluid Dynamics (CFD) simulations

Read more

Summary

Introduction

✩ The review of this paper was arranged by Prof. Hazel Andrew. ✩✩ This paper and its associated computer program are available via the Computer. In terms of dynamic run-time loadbalancing algorithms, Antonelli et al [18] developed a MessagePassing Interface (MPI) based parallel solver which utilizes a cell distribution based load balancing algorithm. Both Kodavasal et al [19] and Shi et al [20] considered stiffness detection approaches as balancing criteria for their balancing algorithms. In contrast to previous studies where implementations are either not publicly available or based on commercial CFD codes, in the present study we introduce a robust open-source load balancing algorithm for parallel reacting flow simulations.

Reacting flow solver
Dynamic load balancing
Reference mapping
Unit benchmarks
Results
Reactive shear layer
Three dimensional reacting diesel spray
Conclusions and future work
Declaration of competing interest

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.