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
关键词
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
相关论文
共 50 条
  • [1] CPU–GPU buffer communication using compute shader to fill volumes with spheres
    F. A. Madera-Ramirez
    J. L. Lopez-Martinez
    F. Moo-Mena
    J. Gomez-Montalvo
    [J]. The Journal of Supercomputing, 2022, 78 : 6448 - 6460
  • [2] CPU-GPU buffer communication using compute shader to fill volumes with spheres
    Madera-Ramirez, F. A.
    Lopez-Martinez, J. L.
    Moo-Mena, F.
    Gomez-Montalvo, J.
    [J]. JOURNAL OF SUPERCOMPUTING, 2022, 78 (05): : 6448 - 6460
  • [3] Interactive Fluid Simulation Based on Material Point Method for Mobile Devices
    Dharma, Dody
    Manaf, Afwarman
    [J]. 2015 2ND INTERNATIONAL CONFERENCE ON ADVANCED INFORMATICS: CONCEPTS, THEORY AND APPLICATIONS ICAICTA, 2015,
  • [4] Ballistic Injury Simulation Using the Material Point Method
    Ionescu, Irina
    Weiss, Jeffrey A.
    Guilkey, James
    Cole, Martin
    Kirby, Robert M.
    Berzins, Martin
    [J]. MEDICINE MEETS VIRTUAL REALITY 14: ACCELERATING CHANGE IN HEALTHCARE: NEXT MEDICAL TOOLKIT, 2006, 119 : 228 - +
  • [5] Simulation of Spall Fracture Based on Material Point Method
    Chen Wei-Dong
    Zhang Fan
    Yang Wen-Miao
    [J]. ADVANCES IN FRACTURE AND DAMAGE MECHANICS XI, 2013, 525-526 : 97 - 100
  • [6] Efficient cloth simulation based on the material point method
    Lv, Aoran
    Zhu, Yuanpeng
    Xian, Chuhua
    [J]. COMPUTER ANIMATION AND VIRTUAL WORLDS, 2022, 33 (3-4)
  • [7] A GPU parallel computing strategy for the material point method
    Dong, Youkou
    Wang, Dong
    Randolphl, Mark F.
    [J]. COMPUTERS AND GEOTECHNICS, 2015, 66 : 31 - 38
  • [8] Fluid-membrane interaction based on the material point method
    York, AR
    Sulsky, D
    Schreyer, HL
    [J]. INTERNATIONAL JOURNAL FOR NUMERICAL METHODS IN ENGINEERING, 2000, 48 (06) : 901 - 924
  • [9] Simulation of heat and fluid flow in porous medium and fractures by material point method
    Wang, Guilin
    Sun, Fan
    Wang, Runqiu
    Zhang, Liang
    Cao, Tianci
    Li, Boyi
    [J]. INTERNATIONAL JOURNAL OF NUMERICAL METHODS FOR HEAT & FLUID FLOW, 2022, 32 (10) : 3328 - 3359
  • [10] Numerical simulation of explosive welding using the material point method
    Wang, Yuxin
    Beom, H. G.
    Sun, Ming
    Lin, Song
    [J]. INTERNATIONAL JOURNAL OF IMPACT ENGINEERING, 2011, 38 (01) : 51 - 60