{"title":"A dynamic load balancing model coupled with DAC and ISAT for a stochastic turbulent combustion model","authors":"Z. Huo, M. Cleary, Kun Wu, A. Masri, Xuejun Fan","doi":"10.1080/13647830.2023.2165967","DOIUrl":null,"url":null,"abstract":"Due to the composition-dependent stiffness of chemistry, simulations of reactive turbulent flows may present computational load imbalance among parallel processes when spatial decomposition is used for parallelisation, causing high CPU idle time and waste of computational resources. To increase computational efficiency, a dynamic load balancing (DLB) model is proposed to redistribute computational load among computing cores. The DLB model exploits a decomposition in the mixture fraction space with two dynamic adjusting decomposition strategies to realise load redistribution. The DLB model is suitable for the integration of chemistry on stochastic particles in hybrid Eulerian/Lagrangian turbulent combustion models in which the Eulerian field is conventionally decomposed statically in physical space in a way that balances the computational load for the solution of the Navier-Stokes equation but which does not generally lead to balanced load for the computation of the composition fields. Here it is tested using an OpenFOAM-based platform, mmcFoam, which is a comprehensive object-orientated C++ library for stochastic turbulent combustion modelling. Apart from direct integration (DI) for chemistry, the DLB model is also coupled with dynamic adaptive chemistry (DAC) and in situ adaptive tabulation (ISAT), which allows for extra speedup. The performance of the coupled models is validated and assessed for two laboratory flame conditions that exhibit different levels of computational load imbalance. Overall, the DLB model effectively balances the computational load distribution and increases the effective usage of computing power, shortening the simulation wall time required. Moreover, a strong scaling test is carried out using up to 512 cores. Although all approaches have sub-ideal scalability, the scalability of each with DLB is significantly better than without DLB. While DLB-ISAT has relatively poor scalability compared to the DI- and DAC-based methods, DLB-ISAT still ranks the fastest among the algorithms in all scaling trials.","PeriodicalId":50665,"journal":{"name":"Combustion Theory and Modelling","volume":null,"pages":null},"PeriodicalIF":1.9000,"publicationDate":"2023-01-17","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Combustion Theory and Modelling","FirstCategoryId":"5","ListUrlMain":"https://doi.org/10.1080/13647830.2023.2165967","RegionNum":4,"RegionCategory":"工程技术","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q4","JCRName":"ENERGY & FUELS","Score":null,"Total":0}
引用次数: 1
Abstract
Due to the composition-dependent stiffness of chemistry, simulations of reactive turbulent flows may present computational load imbalance among parallel processes when spatial decomposition is used for parallelisation, causing high CPU idle time and waste of computational resources. To increase computational efficiency, a dynamic load balancing (DLB) model is proposed to redistribute computational load among computing cores. The DLB model exploits a decomposition in the mixture fraction space with two dynamic adjusting decomposition strategies to realise load redistribution. The DLB model is suitable for the integration of chemistry on stochastic particles in hybrid Eulerian/Lagrangian turbulent combustion models in which the Eulerian field is conventionally decomposed statically in physical space in a way that balances the computational load for the solution of the Navier-Stokes equation but which does not generally lead to balanced load for the computation of the composition fields. Here it is tested using an OpenFOAM-based platform, mmcFoam, which is a comprehensive object-orientated C++ library for stochastic turbulent combustion modelling. Apart from direct integration (DI) for chemistry, the DLB model is also coupled with dynamic adaptive chemistry (DAC) and in situ adaptive tabulation (ISAT), which allows for extra speedup. The performance of the coupled models is validated and assessed for two laboratory flame conditions that exhibit different levels of computational load imbalance. Overall, the DLB model effectively balances the computational load distribution and increases the effective usage of computing power, shortening the simulation wall time required. Moreover, a strong scaling test is carried out using up to 512 cores. Although all approaches have sub-ideal scalability, the scalability of each with DLB is significantly better than without DLB. While DLB-ISAT has relatively poor scalability compared to the DI- and DAC-based methods, DLB-ISAT still ranks the fastest among the algorithms in all scaling trials.
期刊介绍:
Combustion Theory and Modelling is a leading international journal devoted to the application of mathematical modelling, numerical simulation and experimental techniques to the study of combustion. Articles can cover a wide range of topics, such as: premixed laminar flames, laminar diffusion flames, turbulent combustion, fires, chemical kinetics, pollutant formation, microgravity, materials synthesis, chemical vapour deposition, catalysis, droplet and spray combustion, detonation dynamics, thermal explosions, ignition, energetic materials and propellants, burners and engine combustion. A diverse spectrum of mathematical methods may also be used, including large scale numerical simulation, hybrid computational schemes, front tracking, adaptive mesh refinement, optimized parallel computation, asymptotic methods and singular perturbation techniques, bifurcation theory, optimization methods, dynamical systems theory, cellular automata and discrete methods and probabilistic and statistical methods. Experimental studies that employ intrusive or nonintrusive diagnostics and are published in the Journal should be closely related to theoretical issues, by highlighting fundamental theoretical questions or by providing a sound basis for comparison with theory.