Material Point Method based Fluid Simulation on GPU using Compute Shader

被引:0
作者
Dharma, Dody [1 ]
Jonathan, Cliff [1 ]
Kistidjantoro, A. Imam [1 ]
Manaf, Afwarman [1 ]
机构
[1] Inst Teknol Bandung, Sch Elect Engn & Informat, Informat Res Grp, Bandung, Indonesia
来源
2017 4TH INTERNATIONAL CONFERENCE ON ADVANCED INFORMATICS, CONCEPTS, THEORY, AND APPLICATIONS (ICAICTA) PROCEEDINGS | 2017年
关键词
fluid; simulation; MPM; GPU; compute shader; OpenGL;
D O I
暂无
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Fluid simulation, specifically the Material Point Method (MPM) based simulation, requires a large number of particles and a big grid size to create a realistic looking simulation. This paper explains what we can do to improve the performance of the simulation by using compute shader and the strategy behind it. Compute shader is a shader used for General Purpose Graphics Processing Unit (GPGPU) programming, running in a separate pipeline than the rendering pipeline. Since the MPM simulation requires serialized code to update the values of the grid nodes and particles, it becomes a challenge to implement it into a parallelized code that can be run on the GPU with compute shader. First, we have to plan which part of the code that can be parallelized. We also have to translate the code into a GLSL program that doesn't have any C/C++ pointer and Object Oriented class. We then compare the simulation performance between the one running on CPU and the compute shader one, and see how much improvement is made by implementing it with compute shader.
引用
收藏
页数:6
相关论文
共 16 条
  • [11] Richmond P., 2008, P INT WORKSH SUP 200
  • [12] Standford University, GEN PURP COMP GRAPH
  • [13] Analysis and reduction of quadrature errors in the material point method (MPM)
    Steffen, Michael
    Kirby, Robert M.
    Berzins, Martin
    [J]. INTERNATIONAL JOURNAL FOR NUMERICAL METHODS IN ENGINEERING, 2008, 76 (06) : 922 - 948
  • [14] Volkov V., 2010, Better Performance at Lower Occupancy
  • [15] Xiao S., 2010, Proceedings of IEEE INFOCOM 2010, P1
  • [16] York A.R., 1997, Development of Modifications to The Material Point Method for the Simulation of Thin Membranes, Compressible Fluids and Their Interactions