Two-level parallel load balancing strategy for accelerating DSMC simulations in near-continuum gases

被引:0
|
作者
Xiao, Chenxiang [1 ]
Zhang, Chenchen [2 ]
Zhang, Bin [1 ,3 ]
Xu, Hui [1 ]
Liu, Hong [1 ]
机构
[1] Shanghai Jiao Tong Univ, Sch Aeronaut & Astronaut, 800 Dong Chuan Rd, Shanghai 200240, Peoples R China
[2] Peking Univ, Sch Math Sci, Beijing 100871, Peoples R China
[3] Shanghai Jiao Tong Univ, Sichuan Res Inst, Chengdu 610213, Peoples R China
来源
关键词
DSMC; MPI/OpenMP; load balance; nonblock communication; MONTE-CARLO METHOD; HYPERSONIC FLOW; NUMERICAL-SIMULATION; CIRCULAR-CYLINDER; IMPLEMENTATION;
D O I
10.1142/S0129183124501985
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
The Direct Simulation Monte Carlo (DSMC) algorithm is widely employed for simulating rarefied gas flows and is increasingly applied in near-continuum regimes for research and engineering purposes. However, its computational demands, notably load imbalance and extended simulation time, hinder widespread adoption. Addressing these challenges, this paper introduces the Two-Level parallel load balancing strategy. This novel approach combines thread-level and multi-process parallelism to enhance load balancing and reduce simulation time. Key features include a thread-level load-decoupling strategy implemented via OpenMP and a multi-process load balancing mechanism employing distributed memory via MPI. Building upon our previous PartPlusColl [L. Li, W. Ren and B. Zhang, J. Aeronaut. Astronaut. Aviat. Ser. A 46, 88 (2014)] approach, the load balancing mechanism utilizes Stop At Risk (SAR) criteria for repartitioning with METIS. Additionally, a specialized data transmission mechanism utilizing MPI nonblocking communication minimizes global communication between processes. Validation and evaluation are performed using four hypersonic flow cases around a cylinder and sphere, demonstrating significant improvements. Notably, the proposed strategy achieves 30% enhancement over the PartPlusColl strategy under 512 CPU cores compared to 16 CPU cores, and reduces between-process communication time with 33.57%. These advancements contribute to enhancing the effectiveness of the DSMC algorithm in near-continuum aerodynamic simulations.
引用
收藏
页数:17
相关论文
共 34 条
  • [11] MULTI-LEVEL LOAD BALANCING FOR PARALLEL PARTICLE SIMULATIONS
    Sutmann, Godehard
    VI INTERNATIONAL CONFERENCE ON PARTICLE-BASED METHODS (PARTICLES 2019): FUNDAMENTALS AND APPLICATIONS, 2019, : 80 - 92
  • [12] Extension of the low diffusion particle method for near-continuum two-phase flow simulations
    Su Wei
    He Xiaoying
    Cai Guobiao
    CHINESE JOURNAL OF AERONAUTICS, 2013, 26 (01) : 37 - 46
  • [13] Extension of the low diffusion particle method for near-continuum two-phase flow simulations
    Su Wei
    He Xiaoying
    Cai Guobiao
    Chinese Journal of Aeronautics , 2013, (01) : 37 - 46
  • [14] Extension of the low diffusion particle method for near-continuum two-phase flow simulations
    Su Wei
    He Xiaoying
    Cai Guobiao
    Chinese Journal of Aeronautics, 2013, 26 (01) : 37 - 46
  • [15] Simulations of subsonic vortex-shedding flow past a 2D vertical plate in the near-continuum regime by the parallelized DSMC code
    Tseng, K. C.
    Kuo, T. C.
    Lin, S. C.
    Su, C. C.
    Wu, J. S.
    COMPUTER PHYSICS COMMUNICATIONS, 2012, 183 (08) : 1596 - 1608
  • [16] Two-level Dynamic Load Balancing for High Performance Scientific Applications
    Mohammed, Ali
    Cavelan, Aurelien
    Ciorba, Florina M.
    Cabezon, Ruben M.
    Baniceseu, Ioana
    PROCEEDINGS OF THE 2020 SIAM CONFERENCE ON PARALLEL PROCESSING FOR SCIENTIFIC COMPUTING, PP, 2020, : 69 - 80
  • [17] Evaluation of a nearest-neighbor load balancing strategy for parallel molecular Simulations in MPI environment
    Di Serio, A
    Ibáñez, MB
    RECENT ADVANCES IN PARALLEL VITUAL MACHINE AND MESSAGE PASSING INTERFACE, PROCEEDINGS, 2002, 2474 : 226 - 233
  • [18] A Two-Level Scheduling Strategy for optimising communications of data parallel programs in clusters
    Hsu, Ching-Hsien
    Chen, Shih-Chang
    INTERNATIONAL JOURNAL OF AD HOC AND UBIQUITOUS COMPUTING, 2010, 6 (04) : 263 - 269
  • [19] Load serving entity interactions on residential energy management strategy: A two-level approach
    Sattarpour, Tohid
    Nazarpour, Daryoush
    Golshannavaz, Sajjad
    SUSTAINABLE CITIES AND SOCIETY, 2018, 40 : 440 - 453
  • [20] A two-level strategy for standardization of near infrared spectra by multi-level simultaneous component analysis
    Zhang, Jin
    Guo, Cheng
    Cui, Xiaoyu
    Cai, Wensheng
    Shao, Xueguang
    ANALYTICA CHIMICA ACTA, 2019, 1050 : 25 - 31