Journal of Guangdong University of Technology ›› 2019, Vol. 36 ›› Issue (03): 25-31.doi: 10.12052/gdutxb.180173

Previous Articles     Next Articles

Fast Simulation of Realistic Smoke Based on Vortex Particles

Zhu Jian, Zhang Hao-chen, Chen Bing-feng, Cai Rui-chu   

  1. School of Computers, Guangdong University of Technology, Guangzhou 510006, China
  • Received:2018-12-18 Online:2019-05-09 Published:2019-04-04

Abstract: Physically based fluid simulation method can obtain realistic simulation results by solving the fluid governing equation directly, but numerical dissipations are liable to occur, thus causing the loss of fluid details. In this research, it is proposed to simulate the fluid with vortex particles. Firstly, the vorticity field is obtained by solving the curl form of the governing equation, upon which it is converted into an incompressible velocity field. This method greatly reduces numerical dissipations, automatically guaranteeing that the final velocity field is divergence-free, and thus can preserve much more fluid details. In addition, aiming at the performance bottleneck of the algorithm in solving Poisson equation for the vorticity-to-velocity conversion, an efficient preconditioned conjugate gradient method is designed and implemented based on GPU (graphics processing unit) to solve this equation, which can be more than ten times faster than the existing solvers. Experimental results show that the proposed algorithm can achieve more realistic fluid simulation results than the existing methods, and the simulation speed is significantly improved.

Key words: smoke simulation, vortex particle method, preconditioned conjugate gradient, Poisson equation, graphics processing unit

CLC Number: 

  • TP391
[1] HUANG Z P, GONG G H, HAN L. Physically-based smoke simulation for computer graphics:a survey[J]. Multimedia Tools and Applications, 2015, 74(18):7569-7594
[2] BRIDSON R. Fluid simulation for computer graphics[M]. New York, America:A K Peters/CRC Press, 2015:21-28.
[3] HUANG Z P, KAVAN L, LI W K, et al. Reducing numerical dissipation in smoke simulation[J]. Graphical Models, 2015, 78:10-25
[4] COTTET G H, KOUMOUTSAKOS P D. Vortex methods:theory and practice[M]. Cambridge, UK:Cambridge University Press, 2000.
[5] SELLE A, RASMUSSEN N, FEDKIW R. A vortex particle method for smoke, water and explosions[J]. ACM Transactions on Graphics, 2005, 24(3):910-914
[6] PFAFF T, THUEREY N, GROSS M. Lagrangian vortex sheets for animating fluids[J]. ACM Transactions on Graphics, 2012, 31(4):1-8
[7] MAURICIO V, BEN H, LANG J, et al. Vortical inviscid flows with two-way solid-fluid coupling[J]. IEEE Transaction on Visualization and Computer Graphics, 2014, 20(2):303-315
[8] ZHANG X X, LI M C, BRIDSON R. Resolving fluid boundary layers with particle strength exchange and weak adaptivity[J]. ACM Transactions on Graphics, 2016, 35(4):1-8
[9] EBERHARDT S, WEISSMANN S, PINKALL U, et al. Hierarchical vorticity skeletons[C]//Proceedings of the ACM SIGGRAPH/Eurographics Symposium on Computer Animation. NY, USA:ACM Press, 2017:1-11.
[10] ZHU J, LUO Y, REN X H, et al. Synthetic fluid details for the vorticity loss in advection[J]. Computer Animation and Virtual Worlds, 2018, 29(3-4):1-11
[11] JANG T, BLANCO I RIBERA R, BAE J, et al. Simulating SPH fluid with multi-level vorticity[J]. International Journal of Virtual Reality, 2011, 10(1):17-23
[12] PEER A, TESCHNER M. Prescribed velocity gradients for highly viscous SPH fluids with vorticity diffusion[J]. IEEE Transactions on Visualization and Computer Graphics, 2017, 23(12):2656-2662
[13] COOK S. CUDA Programming:a developer's guide to parallel computing with GPUs[M]. Waltham, USA:Elsevier, 2013:106-205.
[14] TOLKE J, KRAFCZYK M. Teraflop computing on a desktop pc with gpus for 3d cfd[J]. International Journal of Computational Fluid Dynamics, 2008, 22(7):443-456
[15] MCADAMS A, SIFAKIS E, TERAN J. A parallel multigrid Poisson solver for fluids simulation on large grids[C]//ACM SIGGRAPH Symposium on Computer Animation. Madrid, Spain:Eurographics Association Aire-la-Ville, 2010:65-74.
[16] BAILEY D, BIDDLE H, AVRAMOUSSIS N, et al. Distributing liquids using OpenVDB[C]//ACM SIGGRAPH 2015 Talks. Los Angeles:ACM Press, 2015:1.
[17] YANG Y, YANG X B, YANG S C. A fast iterated orthogonal projection framework for smoke simulation[J]. IEEE Transactions on Visualization and Computer Graphics, 2016, 22(5):1492-1502
[18] LIU H X, MITCHELL N, AANJANEYA M, et al. A scalable Schur-complement fluids solver for heterogeneous compute platforms[J]. ACM Transactions on Graphics, 2016, 35(6):1-12
[19] CHU J Y, ZAFAR N B, YANG X B. A schur complement preconditioner for scalable parallel fluid simulation[J]. ACM Transactions on Graphics, 2017, 36(5):1-10
[20] TAKADA K, NITTA T, OHNO K. Acceleration of SPH-based fluid simulation on GPU[C]//High Performance Computing Symposium. Los Angeles, USA:ACM Press, 2017:26-35.
[21] GAO M, WANG X L, WU K, et al. GPU optimization of material point methods[J]. ACM Transactions on Graphics, 2018, 37(6):1-12
[22] AMADOR G, GOMES A. CUDA-based linear solvers for stable fluids[C]//ICISA 2010:2010 International Conference on Information Science and Applications. Seoul:IEEE, 2010:279-286.
[1] Xie Guo-bo, Lin Li, Lin Zhi-yi, He Di-xuan, Wen Gang. An Insulator Burst Defect Detection Method Based on YOLOv4-MP [J]. Journal of Guangdong University of Technology, 2023, 40(02): 15-21.
[2] Chen Jing-yu, Lyu Yi. Frost Detection Method of Cold Chain Refrigerating Machine Based on Spiking Neural Network [J]. Journal of Guangdong University of Technology, 2023, 40(01): 29-38.
[3] Ye Wen-quan, Li Si, Ling Jie. Sparse-view SPECT Image Reconstruction Based on Multilevel-residual U-Net [J]. Journal of Guangdong University of Technology, 2023, 40(01): 61-67.
[4] Zou Heng, Gao Jun-li, Zhang Shu-wen, Song Hai-tao. Design and Implementation of a Dropping Guidance Device for Go Robot [J]. Journal of Guangdong University of Technology, 2023, 40(01): 77-82,91.
[5] Xie Guang-qiang, Xu Hao-ran, Li Yang, Chen Guang-fu. Consensus Opinion Enhancement in Social Network with Multi-agent Reinforcement Learning [J]. Journal of Guangdong University of Technology, 2022, 39(06): 36-43.
[6] Liu Xin-hong, Su Cheng-yue, Chen Jing, Xu Sheng, Luo Wen-jun, Li Yi-hong, Liu Ba. Real Time Detection of High Resolution Bridge Crack Image [J]. Journal of Guangdong University of Technology, 2022, 39(06): 73-79.
[7] Xiong Wu, Liu Yi. Application of Particle Filter Algorithm in Static Deformation Monitoring of BDS High-Speed Rail [J]. Journal of Guangdong University of Technology, 2022, 39(04): 66-72.
[8] Yi Min-qi, Liu Hong-wei, Gao Hong-ming. Research on the Factors Influencing the Co-purchase Network of Products on E-commerce Platforms [J]. Journal of Guangdong University of Technology, 2022, 39(03): 16-24.
[9] Qiu Zhan-chun, Fei Lun-ke, Teng Shao-hua, Zhang Wei. Palmprint Recognition Based on Cosine Similarity [J]. Journal of Guangdong University of Technology, 2022, 39(03): 55-62.
[10] Zheng Jia-bi, Yang Zhen-guo, Liu Wen-yin. Marketing-Effect Estimation Based on Fine-grained Confounder Balancing [J]. Journal of Guangdong University of Technology, 2022, 39(02): 55-61.
[11] Gary Yen, Li Bo, Xie Sheng-li. An Evolutionary Optimization of LSTM for Model Recovery of Geophysical Fluid Dynamics [J]. Journal of Guangdong University of Technology, 2021, 38(06): 1-8.
[12] Li Guang-cheng, Zhao Qing-lin, Xie Kan. A Design of Decentralized Data Processing Scheme [J]. Journal of Guangdong University of Technology, 2021, 38(06): 77-83.
[13] Xie Guang-qiang, Zhao Jun-wei, Li Yang, Xu Hao-ran. Cooperative Lane-changing Based on Multi-cluster System [J]. Journal of Guangdong University of Technology, 2021, 38(05): 1-9.
[14] Zhang Wei, Zhang Zhen-bin. Joint Graph Embedding and Feature Weighting for Unsupervised Feature Selection [J]. Journal of Guangdong University of Technology, 2021, 38(05): 16-23.
[15] Deng Jie-hang, Yuan Zhong-ming, Lin Hao-run, Gu Guo-sheng. Superpixel and Visual Saliency Synergetic Image Quality Assessment [J]. Journal of Guangdong University of Technology, 2021, 38(05): 33-39.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!