Research and Implementation on Parallelization Technology of Monte Carlo Numerical Simulation of Rarefied Gas

Author
FuYou
Advisor
KangJiChang
School
Northwestern Polytechnical University
Major
Applied Computer Technology
Classification
TP391.9 Computer simulation
Degree
Doctoral dissertation
Year
2002
Downloads
408
Citations
2

Request the full text

Abstract

As an anniversary computing technology for the simulation of rarefied gas flows, Direct Simulation Monte Carlo (DSMC) digital simulation method is widely applied in many high science and technology areas such as aeronautics and aerospace, micro-electronic mechanical system, space material and nanotech, etc.. DSMC puts up strict requirements on high speed and memory capacity for simulating computers, which single CPU computer systems can hardly fulfill.With the development of parallel computing, there emerged more and more kinds of high performance computing platforms. Carrying out Direct simulation Monte Carlo on these platforms is becoming a key research direction. It is of great theoretic and application importance to study parallel programming technology and tools for the DSMC.The traditional CFD parallelization technology based on continuous medium emphasizes the contiguousness of physical effects and takes fluid parameters at grid points as computing objects. Whereas, the parallel computing of DSMC based on discrete medium emphasizes the dynamic movement of molecules and treats parameters of moving molecules as computing objects. Distribution of the computing tasks of the former is much easier than that of the latter one, of which the computing tasks are changing with the movement of molecules in computing period. So the task distribution of CFD can be fulfilled by dividing the grids in a static way, but DSMC cannot. Task distribution can only be done in dynamic way.The research work in area of DSMC parallelization is still in the bud. At abroad, DSMC research is focused on parallelization of certain particular problems. It is far away to form a systemic theory and method. We do not find any information about the development of DSMC parallel programming tools. As for in China, there is almost no such literature published.Cooperating with Energy and Power Engineering School, Xi’an Jiaotong University, our laboratory has begun to explore and research the parallelization technology of DSMC programs for the first time. We have got elementary successful results.The data dependency of DSMC is caused by the random migration of molecules across the divisional line between sub-domains of different computing111nodes. This paper presents a new concept of migration-dependency, based on which the dynamic dependency analysis of the parallel sub-tasks can be accomplished by tracing the movement of molecules in the parallel simulation. This is the foundation of DSMC parallel computing model.A parallel computing model is presented, based on migration-dependency. A Scalable Parallel Run-time Library is developed to solve all the key difficult problems such as dynamic data dependency analysis, synchronization, communication, and load balancing.A mechanism of judging run-time communication based on the migration dependency is also presented. This mechanism solves the puzzle of the sustained change of communication quantity. A mirror-anti-direction communication method is brought forward to avoid communication deadlock and to program expediently.The paper puts up with a dynamic load balancing method based on data migration to resolve the load imbalance in the parallel simulation caused by the free movement of molecules. Moreover, a load information adaptive acquisition method in the information strategy and a heavy-load-first algorithm in the location strategy are presented. A good load balance result has been reached.The paper carried out the architecture of the DSMC interactive parallelization tool software. The architecture is integrated into the ready made one for CFD programs parallelizer -PARACTIVE. The result software tool is called as PARACTIVE+. Two DSMC programs from Xi’an Jiaotong University have already been parallelized successfully. Parallel efficiency obtained can achieve 85% when executed on 4 computing nodes, and 75% on 8 nodes cluster system, comprised of 9 Pentium IV 1.7G PCs. These results gained the positive evaluation from the user definitely.The paper gives a model for

Table of contents

Directory 5-8 Chinese Abstract 8-10 English summary 10-12 first chapter 12-20 < br /> 1.1 Introduction 12-13 1.2 parallel programming development and status 13-15 the 1.3 program parallelization technology research and development 15-16 1.4 the main content of our content with this study and innovation 16-18 1.5 The structure of the paper is arranged 18-20 based on the partition of the continuous medium CFD program parallelization technology 20-33 , 2.1 two parallel computing model 20-21 2.2 Based on the continuous medium CFD program algorithm and partition-based parallel computing model 21-24 2.3 based partition CFD program parallelization technology 24-31 2.3.1 The basic content of the program parallelization 24-25 2.3.2 partition-based parallel technology 25-31 2.3.2.1 based on the partition of CFD correlation analysis and synchronization technology 26-30 2.3.2.2 data distribution, program conversion and parallel program generation technology 30-31 2.3.2. 3 CFD-oriented interactive parallelization technology 31 2.4 Chapter Summary 31-33 Chapter rarefied gas DSMC program parallelization research 33 -48 3.1 of the basic concepts and methods of rarefied gas dynamics the the 34-36 3.1.1 flow partition 34-35 3.1 .2 rarefied gas flow control equation-Boltzmann equation and its solution method the 35-36 3.2 Monte Carlo method, and its basic idea 36-37 3.3 . DSMC Method Introduction 37-40 3.3.1 DSMC method principle 37-38 3.3.2 DSMC method key technologies 38-39 3.3.3 DSMC method is different from the characteristics of the traditional CFD methods 39-40 3.4 serial the DSMC procedures analysis of 40-42 3. 5 DSMC the program parallelization Method 42-46 3.5.1 DSMC program parallelization 42-43 3.5.2 DSMC program parallel programming algorithm 43-44 3.5.3 based on scalable parallel runtime library the SPRL the DSMC parallel program structure a 44-46 3.6 This chapter summary 46 -48 Chapter migration technology and its run-time communication determining mechanisms 48-71 4.1-DSMC serial program simulation model 48-50 <br / > 4.2 DSMC division parallel data the 50-52 4.3 migration related concepts the 52-56 4.3.1 DSMC parallel computing basic concepts 52-54 4.3.2 to migration related concepts 54-56 4.4 DSMC parallel simulation program calculates the model 56-57 4. 5 DSMC program migration analysis algorithm 57-60 4.6 based on to determine the mechanism of migration associated runtime communication 60-70 4.6.1 based migration DSMC parallel program communication decision 60 4.6.2 based migration communication organization 60-64 4.6.3 based on the migration of synchronous communication 64-67 4.6.4 optimized based on the migration of synchronous communication 67-70 4.7 Chapter Summary 70-71 first five chapters based data migration, dynamic load balancing technology 71-86 5.1 Introduction 71-72 5.2 load balancing method for parallel computing model the 72-73 5.3 Load Regulation algorithm Classification and Research 73-74 5.4 load regulation technology research 74-79 5.4.1 Dynamic load adjustment algorithm classification 74 5.4.2 load adjustment strategy 74-78 5.4.2.1 Information Strategy 75-76 5.4.2.2 location strategy 76-78 5.4.2.3 selection strategy 78 5. 4.3 load adjustment steps 78-79 5.5 based on dynamic load adjustment data migration technology 79-84 5.5.1 DSMC parallel program load characteristics nbsp the ; 79 5.5.2 DSMC parallel program based on the load of data migration adjustment strategy 79-84 5.6 Chapter Summary 84-86 Chapter rarefied gas DSMC program interactive parallelization tools software 86-102 6.1 the PARACTIVE characteristics and structure 86-88 6.2 DSMC interactive parallel of interactive technology the distribution 88-89 6.3 the array Description Protocol DADP 89-93 6.4 the DSMC program interactive parallelization tools software architecture and calculation process 93-96 6.5 DSMC the interactive parallel system performance prediction model the 96-101 6.6 Chapter Summary 101-102 the DSMC procedures of Chapter VII of the rarefied gas performance testing interactive parallelization tools 102-108 7.1 parallel computing environment 102-103 7.2 operator example illustrates 103 7.3 parallel test results and analysis parallel programs generate 103-107 7.3.1 results correctness test 103 <br / > 7.3.2 different scale examples in parallel on different scale cluster system efficiency 103-106 7.3.3 based on dynamic load adjustment data migration technology 106 7.3.4 communication speed parallel efficiency are found; 106-107 7.4 Chapter Summary 107-108 Chapter VIII Conclusion References 108-111 111-119 Acknowledgements 119-121 during the appendix author Dr. published papers, scientific research and Awards 121