Font Size: a A A

Design And Implementation Of Simulation And Visualization For Discrete Particle Systems Based On Opengl

Posted on:2011-11-26Degree:MasterType:Thesis
Country:ChinaCandidate:Y F HuFull Text:PDF
GTID:2198330332474190Subject:Computer
Abstract/Summary:PDF Full Text Request
The discrete particle system includes physical discrete particle system and imaginary discrete particle system, the physical discrete particle system is composed of a large number of granular particles and the imaginary discrete particle system is generated by simplifying the continuous system. Since a large number of particles exist generally in the particle system, it is important efficiently to simulate and display the particle system.The discrete particle system used in the thesis is the particle system to simulate the fluid flow with smoothed particle hydrodynamic (SPH) method, SPH is meshless and lagrangian. The OpenGL and GLUT are used for graphical technologies, the simulating example is making wave in a pool.Simulating the fluid flow by SPH method is hot research area, Fluids v.l is very good and provides open source codes, my work is conducted based on the Fluids v.l. The display list approach is used in Fluids v.l to display the particle, the display modules and technologies are explained and some improvement is made.In the thesis, the GLUT technologies are introduced for developing the computer display system, the SPH method is given to simulate the fluid flow. The technologies of the display module are elaborated and includes the display list, soft shadowing and shadow map technologies, the expansive technologies of the graphic card to accelerate graphics display, and the frame buffer technologies putting the shadow in the FBO (Frame Buffer Object).The sphere model is used in Fluids v.l to display particles, its limitation is that the same model is used for each particle and the sphere model is composed of a number of triangles. But the, particle size is variant in the actual discrete particle systems, the different models to display different particles are more reasonable. However, if a different sphere model is used to display each particle, Fluids v.l performance will decline significantly. In this thesis, two improvement are made, one is that the different model are adopted for various size particle; another is that less triangles are used to represent a sphere while the display performance is still excellent.
Keywords/Search Tags:OpenGL, GLUT, Particle System, Smoothed Particle Hydrodynamic method, Simulation
PDF Full Text Request
Related items