SPH Method for Object-oriented Design and Post-processing
- Author
- WangXiaoHui
- Advisor
- JiangShunLiang
- School
- Nanchang University
- Major
- Applied Computer Technology
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2010
- Downloads
- 135
- Citations
- 0
Abstract
The traditional SPH software is designed by procedure-oriented, the data and operation are separated, the functions of the complex data structures are accessed through procedure, which constrains the program’s the maintenance and expansion. And the SPH analysis software has some of the complexity. Therefore the software engineering object-oriented development methods can improve the development and efficiency. For the exploitation of SPH analysis software, we should follow the object-oriented method with comprehensive and systematic, the primary contents and results are as follows:In allusion to the numerical simulation computation of the Lagrange the hydrodynamics SPH is carried out. The object-oriented Analysis is carried out toward SPH software system has been completed, the class diagram of the system static model is built:in SPH model, the two base classes which domain-module and run-module. These classes are further subdivided, such as the domain-module consists of six sub-classes:file, particle, material, container, boundary particle and array. The run-module consists of two sub-classes:approximate and particle-system. Their association and each class’s attribute and operation, generalization hierarchy of class. The object-oriented SPH model is constructed for the SPH software.According to the result of object-oriented Analysis, the object-oriented design has been completed, each dynamic model of the SPH software system is detailed described, the corresponding sequence diagram、cooperation diagram and active diagram are built, for the initializing of domain-module object, the formation of each object and correspondence, the SPH numerical simulation computation in the run-module is refine analyse, which the SPH basic methods class inlcude the nuclear function calculation and the search of particle support region, the SPH system method include the calculation of approximate function, the SPH hydrodynamics analysis, collision processing and time integration.On the basis of the above work, according to the derived expression for the Lagrangian fluid dynamics SPH, the SPH hydrodynamics numerical simulation calculation program, which contains domain-module and run-module, is written. The SPH fluid flow simulation visualization software is assembled by adding the post-processing module and control module. The object-oriented SPH software correctness is validated by the dam break numerical examples and the good extendiblity and maintainability of the SPH software is validated by the fluid flow numerical simulation in the three-dimensional screw extrusion.
Table of contents
Abstract 3-4
ABSTRACT 4-10
Chapter 1 Introduction 10-17
1.1 Introduction 10-11 <br / > 1.2 meshless SPH method development review 11-13
1.3 object-oriented software development method SPH necessity 13-15
1.3.1 process-oriented SPH method and program design flaws 13-14
1.3.2 object-Oriented programming in SPH research status 14-15
1.4 the main contents 15-16
1.5 thesis is organized 16-17
Chapter 2, SPH, OO , UML and OpenGL primitive concepts 17-22
2.1 smoothed particle hydrodynamics (SPH) Overview 17-18
2.1.1 SPH basic idea 17
2.1.2 SPH basic equation 17 - 18
2.2 object-oriented approach outlined 18-19
2.3 unified Modeling language (UML) Overview 19-20
2.4 OpenGL Overview 20 - 22
Chapter 3 SPH numerical simulation of fluid flow analysis 22-29
3.1 SPH simulation 22-23
3.2 Lagrangian fluid dynamics 23-26
3.2.1 smooth kernel function 24-25
3.2.2 mass density 25
3.2.3 force 25-26
3.2.4 external 26
3.3 SPH simulation of other relevant processing 26-29
3.3.1 collision handling 26 - 27
3.3.2 time Integral 27-28
3.3.3 neighboring particle search method 28-29
Chapter 4 SPH nbsp object-oriented analysis software ; 29-48
4.1 object-Oriented Analysis Overview 29-30
4.2 OBJSPH class and object recognition and determine 30-31
4.3 problem domain module its subclasses 31-36
4.3.1 problem domain module classes constitute 32
4.3.2 particle class constitutes 32-33 <br / > 4.3.3 calculation particle classes constitute 33
4.3.4 materials constitution 33-34
4.3.5 particulate material constituting the class 34
4.3.6 container material class constitutes 34-35
4.3.7 special container class 35
4.3.8 unit class 35-36
4.4 master module and its subclasses 36-43
4.4.1 master module class (Run) constructor 37-38
4.4.2 approximate function base class (Approximation) constructor 38-39
4.4.3 weighting function (Weight) constructor 39-40
4.4.4 SPH base class (SPHBasis) construction 40
4.4.5 particle systems approach the base class (ParticleSystem) constructor 40
4.4.6 fluid Dynamics class (FluidHydrodynamics) constructor 40 -41
4.4.7 SPH fluid system classes (SPH_fluid_system) constructor 41-42
4.4.8 collision handling classes constitute 42-43
4.5 SPH application framework 43-47
4.5.1 SPH simulation system top-level package diagram 43
4.5.2 SPH system architecture 43-44 <br / > 4.5.3 The main components of the core layer analysis 44-45
4.5.4 view layer is mainly component analysis 45-47
4.6 chapter Summary 47-48
Chapter 5 SPH object-oriented software design 48-62
5.1 object-Oriented design Overview 48-50
5.1.1 OOD principles 48
5.1.2 OBJSPH fluid dynamics analysis 48-49
5.1.3 interactive Modeling 49-50
5.2 OBJSPH timing diagram analysis 50-54
5.2.1 SPH problem domain object initialization 50-52
5.2.2 SPH solving calculations 52-54
5.3 OBJSPH of collaboration diagram analysis 54-56
5.4 OBJSPH activity diagram analysis 56-60
5.4.1 OBJSPH SPH core algorithm in an activity diagram 56-59 < br /> 5.4.2 OBJSPH in the main frame of the activity diagram 59-60
5.5 Chapter Summary 60-62
Chapter 6 SPH object-oriented software implementation 62-71
6.1 C implementation principle 62-63
6.2 SPH object-oriented software implementation 63-70
6.2.1 module class implementation problem domain 63
6.2.2 master module class implementation 63-64
6.2.3 SPH fluid systems approach class implementation 64-65
6.2.4 SPH fluid dynamics class implementation 65-67
6.2.5 main frame class implementation 67
6.2.6 shows the class implementation and application 67-70
6.3 SPH software expansion technology 70-71
Chapter 7 visualization experiments and results analysis 71-86
7.1 experimental conditions and initial data 71-73
7.1.1 fluid material 71
7.1.2 water 71-72
7.1.3 -screw extruder 72-73
7.1.4 experimental platform 73
7.2 visualization experiments and results analysis 73-79
7.2.1 water fluid flow analysis 75-76
7.2.2 Example and dam failure analysis 76-78
7.2.3 screw extruder examples and analysis 78-79
7.3 SPH software system testing 79-86
7.3.1 performance Test 79-84
7.3.2 analog robustness and stability testing 84-86 <br / > Chapter 8 Full Summary 86-88
8.1 findings and conclusions 86-87
8.2 the next step 87-88
Acknowledgements 88-89
References 89-93
pursue a degree during the research 93
Related dissertations
- Design and Implementation of Ji’nan Waterconservancy Bureau Covers Security Information System
- Analysis and design of student information management system
- The Design and Implementation of Member Management System for Technical Title Evaluation Committee of WeiFang City
- The Analysis and Implementation of Laboratory Equipment Management System Based on WEB of Zhangjiakou Education College
- County-Township-Village Operation Management Information System for the Rural Work Base on C/S Architecture
- The Design and Implementation of an Network Teaching Platform in a Vocational Technical College
- Air Disinfector Design Based on Rhapsody
- Study and Application of Distance Education Platform Based on UML
- Catering Management System Design and Implementation Based on WEB
- Based on the Web Army Personnel Information Management System Design and Implementation
- Research on group behavior of nonlinear decision model based on pressure field
- Modelling and Simulation of Organizational Structure Based on Total Relationship Flow Management Theorems
- The Effects of the Basic Medical Insurance for Urban Workers on the Patients’ Hospital Choice Behavior in Shenyang:a Study Based on Multi-Agent Modelling Simulation
- Research on the Effect of Income Difference on R&D Network Cooperative Evolution
- The Research on the Knowledge Transfer Model and Strategy of Transformation Bussiness
- A Study on Food Security of Central City
- The Simulation Research of Jiangsu Industrial Development Based on Regional Innovation System
- Research on Interaction between Modern Logistics Industry and Economic Development of Shaanxi Province
- Estimation of Hong Kong RMB Cash Stocks and Flows on Biomarker Method Modeling Research
- Research on Dynamic Pricing Strategy of Market Maker Based on Heterogeneous Agents Beliefs