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 条
  • [31] A SPH-Based Fluid Simulation Framework on GPU
    Zhao, Xiangkun
    Li, Fengxia
    Zhan, Shouyi
    2ND INTERNATIONAL SYMPOSIUM ON COMPUTER NETWORK AND MULTIMEDIA TECHNOLOGY (CNMT 2010), VOLS 1 AND 2, 2010, : 130 - 133
  • [32] Numerical Simulation of Mesodamage Behavior of Concrete Based on Material Point Method
    Liu, Aihua
    Zou, Jiaqiang
    Hu, Wei
    Liu, Ming
    Cong, Peitong
    Zhang, Wei
    ADVANCES IN CIVIL ENGINEERING, 2020, 2020
  • [33] Numerical simulation of Energetic materials burning based on material point method
    Chen, Wei-dong
    Zhang, Feng-chao
    Lu, Sheng-zhuo
    PROCEEDINGS OF THE 2017 6TH INTERNATIONAL CONFERENCE ON ENERGY, ENVIRONMENT AND SUSTAINABLE DEVELOPMENT (ICEESD 2017), 2017, 129 : 741 - 747
  • [34] Material Point Method-Based Simulation Techniques for Medical Applications
    Sung, Su-Kyung
    Kim, Jae-Hyeong
    Shin, Byeong-Seok
    ELECTRONICS, 2024, 13 (07)
  • [35] NUMERICAL SIMULATION OF EXTREME DEFORMATION PROBLEMS BASED ON MATERIAL POINT METHOD
    Zhang, Xiong
    7TH INTERNATIONAL CONFERENCE INTEGRITY-RELIABILITY-FAILURE (IRF2020), 2020, : 5 - 6
  • [36] Real-Time Cloth Simulation Using Compute Shader in Unity3D for AR/VR Contents
    Va, Hongly
    Choi, Min-Hyung
    Hong, Min
    APPLIED SCIENCES-BASEL, 2021, 11 (17):
  • [37] A Massively Parallel and Scalable Multi-GPU Material Point Method
    Wang, Xinlei
    Qiu, Yuxing
    Slattery, Stuart R.
    Fang, Yu
    Li, Minchen
    Zhu, Song-Chun
    Zhu, Yixin
    Tang, Min
    Manocha, Dinesh
    Jiang, Chenfanfu
    ACM TRANSACTIONS ON GRAPHICS, 2020, 39 (04):
  • [38] Coupling of soil deformation and pore fluid flow using material point method
    Bandara, Samila
    Soga, Kenichi
    COMPUTERS AND GEOTECHNICS, 2015, 63 : 199 - 214
  • [39] A Model-Based Simulation of CFRP-Steel Bond Failure Using the Material Point Method
    Faleh, Haydar
    Shen, Luming
    Al-Mahaidi, Riadh
    ADVANCES IN STRUCTURAL ENGINEERING, 2011, 14 (05) : 777 - 787
  • [40] A material point method for simulation of viscoelastic flows
    Peter A. Gordon
    Fushen Liu
    Holger A. Meier
    Rohan Panchadhara
    Vikas Srivastava
    Computational Particle Mechanics, 2019, 6 : 311 - 325