원시데이터 수집 시스템
선정목록으로

Investigation of load imbalance in the hybrid atomistic-continuum simulation based on geometric coupling

간접 관련 산업용 섬유 · (10) 아라미드 (21) 에폭시수지

기본 정보

저자
  1. Qian Wang — College of Computer, National University of Defense Technology, Changsha, China, State key Laboratory of High Performance Computing,|||National University of Defense Technology, Changsha, China.
  2. Xiao-guang Ren — College of Computer, National University of Defense Technology, Changsha, China, State key Laboratory of High Performance Computing,|||National University of Defense Technology, Changsha, China.
  3. Chao Li — College of Computer, National University of Defense Technology, Changsha, China, State key Laboratory of High Performance Computing,|||National University of Defense Technology, Changsha, China.
  4. Wenjing Yang — College of Computer, National University of Defense Technology, Changsha, China, State key Laboratory of High Performance Computing,|||National University of Defense Technology, Changsha, China.
DOI
10.2991/imst-16.2016.33
저널
–
발행년도
2016
발행기관
–
피인용수
0
라이선스
cc-by-nc
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.2991/imst-16.2016.33
토픽
High-Velocity Impact and Material Behavior
OpenAlex ID
W2559930364

평가 내용

관련도
간접 관련
사업분야
산업용 섬유 · (10) 아라미드
부 분야
(21) 에폭시수지
R&D 측면
분석·모델링
확신도
0.40
근거 용어
hybrid atomistic-continuum simulation, molecular dynamics (MD), CFD solver, load imbalance, geometric coupling
판단 근거
이 논문은 원자 단위(MD)와 연속체 단위(CFD) 시뮬레이션을 결합하는 하이브리드 시뮬레이션의 병렬 연산 효율성을 높이는 알고리즘을 다룹니다. 코오롱인더스트리의 직접적인 제품 연구는 아니나, 고분자(아라미드, 에폭시 등)의 미세 구조와 거시적 물성 간의 관계를 해석하는 멀티스케일 시뮬레이션 방법론으로서 R&D에 응용 가능합니다.
R&D 활용 포인트
고분자 소재(아라미드, 수지 등)의 분자 구조 설계 및 미세 구조에 따른 기계적/열적 물성 변화를 예측하는 멀티스케일 시뮬레이션 효율화에 활용 가능합니다.
평가 입력
본문 16,168자

초록

The hybrid atomistic-continuum (HAC) simulation based on geometric coupling has intrinsic load imbalance under conventional parallel decomposition method.This paper presents qualitative guiding rules for alleviating load imbalance in the HAC simulation.We reveal the intrinsic load imbalance in the HAC parallel simulation, analyze the coupling procedures involved in the coupling exchange and present two qualitative decomposition rules for the atomistic region decomposition.The results of the benchmark case show the decomposition style under the guiding rules instruction performs much better than the default decomposition method which coupling overhead is only 58% of the default and communication time consuming is 75% of the default.

본문 16,168자

본문 펼치기
# Investigation of load imbalance in the hybrid atomistic- continuum simulation based on geometric coupling Qian Wang <sup>a</sup> , Xiaoguang Ren, Chao Li and Wenjing Yang _College of Computer, National University of Defense Technology, Changsha, China,_ _State key Laboratory of High Performance Computing, National University of Defense Technology, Changsha,_ _China._ Abstract. The hybrid atomistic-continuum (HAC) simulation based on geometric coupling has intrinsic load imbalance under conventional parallel decomposition method. This paper presents qualitative guiding rules for alleviating load imbalance in the HAC simulation. We reveal the intrinsic load imbalance in the HAC parallel simulation, analyze the coupling procedures involved in the coupling exchange and present two qualitative decomposition rules for the atomistic region decomposition. The results of the benchmark case show the decomposition style under the guiding rules instruction performs much better than the default decomposition method which coupling overhead is only 58% of the default and communication time consuming is 75% of the default. Keywords: qualitative guiding rules, load imbalance, hybrid atomistic-continuum method. 1 Introduction The hybrid atomistic-continuum method (HAC)[1]based on the geometric coupling is a reliable simulation approach capable of accurately describing the flow characteristics at micro- and nanoscales[2,3]. The HAC method based on geometric domain decomposition splits the simulation domain into the continuum region, the atomistic region and the overlap region, which exchanges the simulation data between the previous two regions to keep the physical properties consistently, i.e., density, velocity and temperature, etc.[4]. In the previous research, the parallel HAC coupling framework based on the geometric domain decomposition consists of the continuum solver (CFD solver), the atomistic solver (MD solver) and relatively coupling operations for data exchanging[5,6]. There are several coupling procedures involved to correctly exchanging data between two simulation solvers. Reasonable parallel coupling operations plays an important role on efficient coupling simulation. There are also different multiscale coupling methods, i.e., Finite Volume Method and Lattice Boltzmann Method[7], Finite Volume Method and Brownian Configuration Method[8], etc. Nevertheless, there are much more parallel issues to be investigated about the HAC coupling method. For there are two kinds of simulation scales and methods in one parallel simulation. There are many subtle parallel issues in the HAC simulation. The previous research had scarcely taken consideration on the parallel issues. Although the HAC method has already gained simulation efficiency, these coupling operations will still lead the coupling oriented load imbalance in the [a Corresponding author : wangqiannudt@gmail.com](mailto:wangqiannudt@gmail.com) coupling simulation and must be further investigated. In this paper, we present numerical analysis of the parallel load imbalance in the geometric coupling simulation. The main contributions of this paper are as follows: 1. We analyze the coupling oriented load imbalance phenomenon in the geometric coupling simulation method and propose decomposition guiding rules for the atomistic region. 2. We design and implement the Hybrid Atomistic-Continuum framework based on open source code OpenFOAM and LAMMPS. The coupling time probes are implemented in the hybrid framework. 3. We verify our decomposition guiding rules through benchmark experiments on our hybrid framework. The results indicate that the decomposition style under the guiding rules instruction performs coupling overhead only 58% of the default and communication time consuming 75% of the default. 2 Numerical modeling In this section, we present our hybrid atomistic-continuum coupling framework using LAMMPS and OpenFOAM. OpenFOAM servers as the main framework which is highly modular and elegant extendibility[9] and LAMMPS[10] is built as a library to be called from. For a 2D simulation domain, the computational domain is split into an atomistic region and a continuum region, using an overlap region to alleviate dramatic density oscillation and couple the results of these two regions. The outer boundary of the continuum region which resides in the atomistic region is called hybrid solution interface (HSI)[1].The overlap region contains a control region (control region), a buff region (buffer region), an atomistic-coupled-to-continuum-region (A→C region) and a continuum- coupled-to-atomistic region (C→A region). In the control region, there is a reflecting wall boundary condition to prevent particles leaving the atomistic region freely and the outer boundary is the MD-continuum interface. The schematic diagram of the domain decomposition based on HAC method is depicted in Figure 1. Figure 1. Decomposition of computational domain and the configuration of the overlap region. We use an incompressible, Newtonian solver as our continuum solver and the truncated and shifted Lennard-Jones (LJ) potential to model the interactions between particles. we choose liquid Argon as the model liquid flow with LJ parameters σ = 0.34nm, ε = 1.67 × 10 <sup>−21</sup> ?and m = 6.63 × 10 <sup>−26</sup> In the overlap region, we use constraint dynamic method[1] to exchange CFD data to MD (C->A) ??, where _m_ is the particle mass and a well defined liquid phase of Argon with T??? <sup>−1</sup> = 1.1, and data averaging method to exchange MD data to CFD (A->C).In the ρ? <sup>3</sup> = 0.81 and the dynamic viscosityμ = 2.14ετ? <sup>−3</sup> where ??is the Boltzmann constant. _control region_, we use an non-periodic boundary force to remedy the pressure of the atomistic region. Finally, due to the existing of mass flux through HSI, we use our parallel particle insertion algorithm to handle this exchange. The detailed implementation of these operations can be referenced in our previous work[11,12]. 3 Analyze and optimize of load imbalance In this section, we analyze the coupling procedures in the hybrid atomistic-continuum simulation in detail, formalize the source of the load imbalance and present the guiding rules for the parallel decomposition of the atomistic region. In the previous section, we give the coupling framework of our HAC method. The certain coupling procedures affects the coupling simulation efficiency as depict in Figure 2.As we all know, the major simulation time of the HAC method sis on the MD part, even though the HAC method narrowing the atomistic region. We can see that the coupling procedures control the particles located in the overlap region and manipulate the physical data exchanging. These coupling procedures, i.e., _C->A, A->C,_ _mass flow and non-periodic boundary force_, append extra particle operations to the original MD operations. Figure 2. Coupling framework of the HAC method and Detail coupling operations. In order to clearly depict the intrinsic load imbalance in the HAC simulation, we categorize processes involved in the HAC simulation as follows:  _Pure CFD process_, _PCFD_ : only contain sub mesh on it;  _Pure MD process_, _PMD_ : only contain sub domain on it;  _Couple process_, _PCouple_ : contain both sub mesh and sub domain on it ; The schematic diagram of parallel decomposition for both the overlap region and the atomistic region is depicted in Figure 3 with 12 degree of parallelism. As the Figure 3 shows, the process _P2_, _P5_, _P8_ and _P11_ are the _Couple process_, while others are the _Pure MD process_ . Figure 3. Default parallel decomposition of the atomistic region and the overlap region. The particles in the overlap region are named as _couple particle_, while others particles are named as _normal particle_ . The simulation time distribute on the?????, ????and ???are defined as follows: ????? = ?? + ????? ????? ????? = ?? + ????? ???? = ?? + ????? ????? = ?? + ????? ???? = ?? + ????? = ?? + ????? + T ???? = ?? + ????? ??? = ?? + ????? + T?????? ??? = ?? + ????? + T?????? whereTs represents the serial computation time of solving one linear system and one sub lattice for coupling procedures. In order to fully use the simulation power, in one HAC simulation, there are usually only PMD and PCouple. For each process in the HAC simulation, we can define the balance domain, Tcomm is the corresponding communication overhead.Tcoupleis the corresponding overhead ratio among them as follows: i rbalance = PMD i j MD�PCouple j �P In the HAC simulation, the processes need several barriers to correctly exchange data and coupling simulation. The diagram of the barrier timing is depicted in Figure 4. Less barrierbetween all processes will lead less communication time between processes. Figure 4. Time line of coupling operations. The key of decomposition of the atomistic region is to balance the coupling overhead for each guiding rules of the parallel decomposition are to make the process to be the Couple process and process. The closer allocate the overhead of coupling procedures to the highest number of processes. rbalance to 1, the more balance among the whole simulation. The qualitative Rule 1: allocate the overlap region to the highest number of processes for the load balance sake; Rule 2: the minimum length of the atomistic sub domain should larger than the cutoff radius of the pair potential. Using the above guiding rules, we can further improve the simulation efficiency of the HAC simulation. 4 Experiments and results In this section, we use the benchmark case, i.e., the channel flow past the rough wall to verify our guiding rules of the parallel decomposition. The test case is the channel flow past the rough wall as shown in Figure 5. The simulation domain domain to present the load imbalance problem and the degree of parallelism is 192 processors. The is x × y = 384 × 384? <sup>2</sup>, while the z direction of the MD domain is 10?. We use a large simulation moving and still wall are no slip boundary condition. The length of cell and bin are the same with 2?. The rough bottom wall consists two layers of FCC (111) solid particles and the height of it is about 8?. The cutoff radius is chosen 2.2? for time sake. The velocity of the top wall isU? = 3.0 ??⁄ . The time step of MD is 0.005? . Figure 5. The simulation domain of the benchmark case. In such configuration of the simulation domain, the default decomposition of the atomistic region check the effective of the guiding rule. is 24 × 8. We choose another five kinds of decomposition style to compare with the default one and Table 1. Parameters of decomposition styles for the atomistic regions. Length of subdomain Style <u>(</u> _<u>x</u>_ <u>direction)</u> Number of bins Length of subdomain Number of bins Style <u>(</u> _<u>x</u>_ <u>direction)</u> <u>(</u> _<u>x</u>_ <u>direction)</u> <u>1</u> 2 <u>192</u> ~~×~~ <u>1</u> <u>2</u> ~~?~~ 3 96 ~~×~~ 2 4 ~~?~~ 4 64×3 6? 6 48×4 8? <u>8</u> 32×6 12? <u>24×8</u> <u>16?</u> <u>(</u> _<u>x</u>_ <u>direction)</u> The surface-to-volume ratio of these six styles are calculated in the following Table 2. We can see that the default decomposition method has the minimum surface-to-volume ratio. Table 2. Surface-to-volume ratio of six styles. Surface-to-volume Style Surface area of all sub domains <u>ratio</u> 2728.00 2.60 1648.00 1.57 192 ~~×~~ 1 1314.67 1.25 96×2 1168.00 1.11 64×3 1061.33 1.01 48×4 <u>1048.00</u> <u>1.00</u> 32×6 <u>24×8</u> We compare the following time consuming to show our guiding method superiority over the total simulation time. The pure CFD calculation and pure MD calculation are almost the same for default method, i.e., the ratio of couple simulation time these six styles. Tcpand communication time Tcommover the Figure 6. The ratio of the communication time to the total simulation time among six decomposition styles. Figure 7. The ratio of the couple operation time to the total simulation time among six decomposition styles. communication time. Because the side length of the sub domain is smaller than the cutoff radius and disobey Rule 2 with worse communication time. In Figure 6 and Figure 7, we can see that the second The result of the first style, i.e., 192×1 which has a length of 2σ in x direction perform a worse style performs the best communication time even though the surface-to-volume ratio is larger than the style with obeys Rule 1and Rule 2 performs the best result than the other decomposition. The 96×2 overhead to the highest number of processes so to further improve the efficiency. default one and From Figure 6 and Figure 7 we can find that reasonable decomposition for the HAC simulation rbalance is more closer to 1. Furthermore, the 96×2 style balances the coupling Figure 7. The ratio of the couple operation time to the total simulation time among six decomposition styles. From Figure 6 and Figure 7 we can find that reasonable decomposition for the HAC simulation can further reduce unnecessary overhead and improve simulation efficiency. 5 Conclusions This paper gives qualitative guiding rules for alleviate the load imbalance phenomenon in the hybrid atomistic-continuum simulation based on geometric coupling. The results of the benchmark case show the decomposition style of the guiding rules perform much better than the default decomposition method which coupling overhead is only 58% of the default and communication time consuming is 75% of the default. The decomposition guiding rules could have quantitative description. We aim to propose the quantitative rules for the parallel decomposition of the atomistic region in the future. Acknowledgments The authors declare that there is no conflict of interest regarding the publication of this paper. The authors would like to thank the National Natural Science Foundation of China (Grant no. 61303071 and 61120106005) and the Open fund from State Key Laboratory of High Performance Computing (no. 201303-01, 201503-01 and 201503-02) for funding. References 1. S. T. O'Connell, and P. A. Thompson. 1995. _Molecular dynamics-continuum hybrid computations:_ _A tool for studying complex fluid flows, Phys Rev E Stat Phys Plasmas Fluids Relat Interdiscip_ _Topics, 52: R5792-R95._ 2. T. M. Squires, and S. R. Quake. 2005. _Microfluidics: Fluid physics at the nanoliter scale, Rev_ _Mod Phys, 77: 977-1026._ 3. G. M. Whitesides. 2006. _The origins and the future of microfluidics, Nature, 442: 368-73._ 4. T. Werder, J. H. Walther, and P. Koumoutsakos. 2005. _Hybrid atomistic-continuum method for_ _the simulation of dense fluid flows, Journal of Computational Physics, 205: 373-90._ 5. P. Neumann, H. Flohr, R. Arora, P. Jarmatz, N. Tchipev, and H. J. Bungartz. 2016. _MaMiCo:_ _Software design for parallel molecular-continuum flow simulations, Computer Physics_ _Communications, 200: 324-35._ 6. M. K. Borg, D. A. Lockerby, and J. M. Reese. 2013. _A hybrid molecular-continuum simulation_ _method for incompressible flows in micro/nanofluidic networks, Microfluid Nanofluid, 15: 541-57._ 7. S. Zou, X. F. Yuan, X. J. Yang, W. Yi, and X. H. Xu. 2014. _An integrated lattice Boltzmann and_ _finite volume method for the simulation of viscoelastic fluid flows, Journal of Non-Newtonian_ _Fluid Mechanics, 211: 99-113._ 8. X.-W. Guo, X.-H. Xu, Q. Wang, H. Li, X.-G. Ren, and X. Yang. 2016. _A hybrid decomposition_ _parallel algorithm for multi-scale simulation of viscoelastic fluids. In IPDPS2016._ 9. OpenFOAM. 2016. _http://www.openfoam.org/._ 10. S. Plimpton. 1995. _Fast Parallel Algorithms for Short-Range Molecular Dynamics, Journal of_ _Computational Physics, 117: 1-19._ 11. Q. Wang, X.-H. Xu, C. Li, H.-Y. Ji, X.-G. Ren, and X.-J. Yang. 2016. _Coupling Strategies_ _Investigation of Hybrid Atomistic-Continuum Method Based on State Variable Coupling._ 12. W.-J. Yang, W. Yi, X.-G. Ren, L.-Y. Xu, X.-H. Xu, and X.-F. Yuan. 2015. _Toward large scale_ _parallel computer simulation of viscoelastic fluid flow: A study of benchmark flow problems,_ _Journal of Non-Newtonian Fluid Mechanics, 222: 82-95._

섹션 본문

섹션 본문이 없습니다.

참고문헌 11건

  1. An integrated lattice Boltzmann and finite volume method for the simulation of viscoelastic fluid flows Journal of Non-Newtonian Fluid Mechanics · Elsevier BV · 2014 10.1016/j.jnnfm.2014.07.003
  2. Fast Parallel Algorithms for Short-Range Molecular Dynamics Journal of Computational Physics · Elsevier BV · 1995 10.1006/jcph.1995.1039
  3. Microfluidics: Fluid physics at the nanoliter scale Reviews of Modern Physics · American Physical Society · 2005 10.1103/revmodphys.77.977
  4. Toward large scale parallel computer simulation of viscoelastic fluid flow: A study of benchmark flow problems Journal of Non-Newtonian Fluid Mechanics · Elsevier BV · 2014 10.1016/j.jnnfm.2014.09.004
  5. Molecular dynamics–continuum hybrid computations: A tool for studying complex fluid flows Physical review. E, Statistical physics, plasmas, fluids, and related interdisciplinary topics · American Physical Society · 1995 10.1103/physreve.52.r5792
  6. The origins and the future of microfluidics Nature · Nature Portfolio · 2006 10.1038/nature05058
  7. Hybrid atomistic–continuum method for the simulation of dense fluid flows Journal of Computational Physics · Elsevier BV · 2004 10.1016/j.jcp.2004.11.019
  8. A hybrid molecular-continuum simulation method for incompressible flows in micro/nanofluidic networks Microfluidics and Nanofluidics · Springer Science+Business Media · 2013 10.1007/s10404-013-1168-y
  9. MaMiCo: Software design for parallel molecular-continuum flow simulations Computer Physics Communications · Elsevier BV · 2015 10.1016/j.cpc.2015.10.029
  10. A Hybrid Decomposition Parallel Algorithm for Multi-scale Simulation of Viscoelastic Fluids 2022 IEEE International Parallel and Distributed Processing Symposium (IPDPS) · 2016 10.1109/ipdps.2016.21
  11. Coupling Strategies Investigation of Hybrid Atomistic-Continuum Method Based on State Variable Coupling Advances in Materials Science and Engineering · Hindawi Publishing Corporation · 2017 10.1155/2017/1014636