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 条
  • [21] Acceleration of Particle Based Fluid Simulation with Adhesion Boundary Conditions Using GPU
    Kanetsuki, Yasutomo
    Nakata, Susumu
    MODELING, DESIGN AND SIMULATION OF SYSTEMS, ASIASIM 2017, PT II, 2017, 752 : 337 - 348
  • [22] Material point method-based simulation of dynamic process of soil landslides considering pore fluid pressure
    Wu, Fengyuan
    Sun, Wei
    Li, Xinchao
    Guan, Yongping
    Dong, Manman
    INTERNATIONAL JOURNAL FOR NUMERICAL AND ANALYTICAL METHODS IN GEOMECHANICS, 2023, 47 (13) : 2385 - 2404
  • [23] A GPU-based method for approximate real-time fluid flow simulation
    University of Science and Technology AGH, Institute of Computer Science, al. Mickiewicza 30, 30-059 Kraków, Poland
    Mach. Graph. Vis., 2008, 3 (267-278):
  • [24] Simulation of high explosive explosion using adaptive material point method
    Ma, Shang
    Zhang, Xiong
    Lian, Yanping
    Zhou, Xu
    CMES-COMPUTER MODELING IN ENGINEERING & SCIENCES, 2009, 39 (02): : 101 - 123
  • [25] A Framework for Simulation of Magnetic Soft Robots Using the Material Point Method
    Davy, Joshua
    Lloyd, Peter
    Chandler, James H.
    Valdastri, Pietro
    IEEE ROBOTICS AND AUTOMATION LETTERS, 2023, 8 (06): : 3470 - 3477
  • [26] Simulation of geomembrane response to settlement in landfills by using the material point method
    Zhou, SJ
    Stormont, J
    Chen, Z
    INTERNATIONAL JOURNAL FOR NUMERICAL AND ANALYTICAL METHODS IN GEOMECHANICS, 1999, 23 (15) : 1977 - 1994
  • [27] Simulation of high explosive explosion using adaptive material point method
    Ma, Shang
    Zhang, Xiong
    Lian, Yanping
    Zhou, Xu
    CMES - Computer Modeling in Engineering and Sciences, 2009, 39 (02): : 101 - 123
  • [28] NUMERICAL SIMULATION OF HUMAN HEAD IMPACT USING THE MATERIAL POINT METHOD
    Zhou, Shuangzhen
    Zhang, Xiong
    Ma, Honglei
    INTERNATIONAL JOURNAL OF COMPUTATIONAL METHODS, 2013, 10 (04)
  • [29] An improved study of physically based fluid simulation on GPU
    Tong, Zhizhong
    Huang, Qitao
    He, Jingfeng
    Han, Junwei
    PROCEEDINGS OF 2007 10TH IEEE INTERNATIONAL CONFERENCE ON COMPUTER AIDED DESIGN AND COMPUTER GRAPHICS, 2007, : 179 - 184
  • [30] An improved study of physically based fluid simulation on GPU
    Department of Electromechanical Engineering, Harbin Institute of Technology, Harbin, China
    Proc. IEEE Int. Conf. Comput. Aided Des. Comput. Graph., CAD/Graph., 1600, (179-184):