Title :
Real-time 3D fluid simulation on GPU with complex obstacles
Author :
Liu, Youquan ; Liu, Xuehui ; Wu, Enhua
Author_Institution :
Inst. of Software, Chinese Acad. of Sci., China
Abstract :
In this paper, we solve the 3D fluid dynamics problem in a complex environment by taking advantage of the parallelism and programmability of GPU. In difference from other methods, innovation is made in two aspects. Firstly, more general boundary conditions could be processed on GPU in our method. By the method, we generate the boundary from a 3D scene with solid clipping, making the computation run on GPU despite of the complexity of the whole geometry scene. Then by grouping the voxels into different types according to their positions relative to the obstacles and locating the voxel that determines the value of the current voxel, we modify the values on the boundaries according to the boundary conditions. Secondly, more compact structure in data packing with flat 3D textures is designed at the fragment processing level to enhance parallelism and reduce execution passes. The scalar variables including density and temperature are packed into four channels of texels to accelerate the computation of 3D Navier-Stokes equations (NSEs). The test results prove the efficiency of our method, and as a result, it is feasible to run middle-scale problems of 3D fluid dynamics in an interactive speed for more general environment with complex geometry on PC platform.
Keywords :
Navier-Stokes equations; computational fluid dynamics; computer graphic equipment; data visualisation; flow simulation; image texture; parallel processing; real-time systems; 3D Navier-Stokes equations; 3D fluid dynamics; GPU parallelism; GPU programmability; complex obstacles; data packing; flat 3D textures; real-time 3D fluid simulation; solid clipping; Acceleration; Boundary conditions; Computational geometry; Fluid dynamics; Layout; Navier-Stokes equations; Parallel processing; Solids; Technological innovation; Temperature;
Conference_Titel :
Computer Graphics and Applications, 2004. PG 2004. Proceedings. 12th Pacific Conference on
Print_ISBN :
0-7695-2234-3
DOI :
10.1109/PCCGA.2004.1348355