Multi‐Level Memory Structures for Simulating and Rendering Smoothed Particle Hydrodynamics

In this paper, we present a novel hash map‐based sparse data structure for Smoothed Particle Hydrodynamics, which allows for efficient neighbourhood queries in spatially adaptive simulations as well as direct ray tracing of fluid surfaces. Neighbourhood queries for adaptive simulations are improved by using multiple independent data structures utilizing the same underlying self‐similar particle ordering, to significantly reduce non‐neighbourhood particle accesses. Direct ray tracing is performed using an auxiliary data structure, with constant memory consumption, which allows for efficient traversal of the hash map‐based data structure as well as efficient intersection tests. Overall, our proposed method significantly improves the performance of spatially adaptive fluid simulations and allows for direct ray tracing of the fluid surface with little memory overhead.

[1]  Matthias Teschner,et al.  SPH Fluids in Computer Graphics , 2014, Eurographics.

[2]  Alexandr Andoni,et al.  Near-Optimal Hashing Algorithms for Approximate Nearest Neighbor in High Dimensions , 2006, 2006 47th Annual IEEE Symposium on Foundations of Computer Science (FOCS'06).

[3]  Rüdiger Westermann,et al.  Acceleration techniques for GPU-based volume rendering , 2003, IEEE Visualization, 2003. VIS 2003..

[4]  J. Monaghan,et al.  Smoothed particle hydrodynamics: Theory and application to non-spherical stars , 1977 .

[5]  Renato Pajarola,et al.  Interactive SPH simulation and rendering on the GPU , 2010, SCA '10.

[6]  John Amanatides,et al.  A Fast Voxel Traversal Algorithm for Ray Tracing , 1987, Eurographics.

[7]  Greg Humphreys,et al.  Physically Based Rendering: From Theory to Implementation , 2004 .

[8]  Miguel Sainz,et al.  Screen space fluid rendering with curvature flow , 2009, I3D '09.

[9]  Wei Wu,et al.  GPU-accelerated SPH fluids surface reconstruction using two-level spatial uniform grids , 2016, The Visual Computer.

[10]  H.-P. Seidel,et al.  Realtime Ray Tracing on GPU with BVH-based Packet Traversal , 2007, 2007 IEEE Symposium on Interactive Ray Tracing.

[11]  Christopher Horvath Mass Preserving Multi-Scale SPH , 2013 .

[12]  Jan Bender,et al.  Divergence-free smoothed particle hydrodynamics , 2015, Symposium on Computer Animation.

[13]  Markus H. Gross,et al.  Optimized Spatial Hashing for Collision Detection of Deformable Objects , 2003, VMV.

[14]  Sylvain Lefebvre,et al.  Coherent parallel hashing , 2011, ACM Trans. Graph..

[15]  Jihun Yu,et al.  Reconstructing surfaces of particle-based fluids using anisotropic kernels , 2010, SCA '10.

[16]  J. Monaghan Smoothed particle hydrodynamics , 2005 .

[17]  Dinesh Manocha,et al.  Fast BVH Construction on GPUs , 2009, Comput. Graph. Forum.

[18]  Kui Wu,et al.  Fast Fluid Simulations with Sparse Volumes on the GPU , 2018, Comput. Graph. Forum.

[19]  Richard Keiser,et al.  Multiresolution particle-based fluids , 2006 .

[20]  Matthias Zwicker,et al.  Surface splatting , 2001, SIGGRAPH.

[21]  David R. Hill,et al.  OpenVDB: an open-source data structure and toolkit for high-resolution volumes , 2013, SIGGRAPH '13.

[22]  Jan Bender,et al.  Interlinked SPH Pressure Solvers for Strong Fluid-Rigid Coupling , 2019, ACM Trans. Graph..

[23]  Andreas Kolb,et al.  Multi-Level-Memory Structures for Adaptive SPH Simulations , 2019, VMV.

[24]  W. Dehnen,et al.  Improving convergence in smoothed particle hydrodynamics simulations without pairing instability , 2012, 1204.2471.

[25]  Marie-Paule Cani,et al.  Space-Time Adaptive Simulation of Highly Deformable Substances , 1999 .

[26]  Robert Bridson,et al.  Animating sand as a fluid , 2005, ACM Trans. Graph..

[27]  Daniel Winkler,et al.  Neighbour lists for smoothed particle hydrodynamics on GPUs , 2017, Comput. Phys. Commun..

[28]  Xiangyu Hu,et al.  Perceptual evaluation of liquid simulation methods , 2017, ACM Trans. Graph..

[29]  Jan Bender,et al.  Density maps for improved SPH boundary handling , 2017, Symposium on Computer Animation.

[30]  Andreas Kolb,et al.  Constrained neighbor lists for SPH-based fluid simulations , 2016, Symposium on Computer Animation.

[31]  Matthias Teschner,et al.  Versatile surface tension and adhesion for SPH fluids , 2013, ACM Trans. Graph..

[32]  Moncho Gómez-Gesteira,et al.  Optimization strategies for parallel CPU and GPU implementations of a meshfree particle method , 2011, ArXiv.

[33]  Tim Foley,et al.  KD-tree acceleration structures for a GPU raytracer , 2005, HWWS '05.

[34]  Andreas Kolb,et al.  Infinite continuous adaptivity for incompressible SPH , 2017, ACM Trans. Graph..

[35]  Sylvain Lefebvre,et al.  Perfect spatial hashing , 2006, ACM Trans. Graph..

[36]  William E. Lorensen,et al.  Marching cubes: A high resolution 3D surface construction algorithm , 1987, SIGGRAPH.

[37]  Leonidas J. Guibas,et al.  Adaptively sampled particle fluids , 2007, ACM Trans. Graph..

[38]  Matthias Teschner,et al.  Adaptive Surface Reconstruction for SPH using 3-Level Uniform Grids , 2013, WSCG.

[39]  Matthias Teschner,et al.  Eurographics/ Acm Siggraph Symposium on Computer Animation (2007) Weakly Compressible Sph for Free Surface Flows , 2022 .

[40]  L. Hernquist,et al.  TREESPH: A Unification of SPH with the Hierarchical Tree Method , 1989 .

[41]  Moncho Gómez-Gesteira,et al.  New multi-GPU implementation for smoothed particle hydrodynamics on heterogeneous clusters , 2013, Comput. Phys. Commun..

[42]  Andreas Kolb,et al.  Temporal Blending for Adaptive SPH , 2012, Comput. Graph. Forum.

[43]  Matthias Teschner,et al.  A Parallel SPH Implementation on Multi‐Core CPUs , 2011, Comput. Graph. Forum.

[44]  James F. Blinn,et al.  A Generalization of Algebraic Surface Drawing , 1982, TOGS.

[45]  László Szécsi,et al.  Real-Time Metaball Ray Casting with Fragment Lists , 2012, Eurographics.

[46]  Markus H. Gross,et al.  Particle-based fluid simulation for interactive applications , 2003, SCA '03.

[47]  E LorensenWilliam,et al.  Marching cubes: A high resolution 3D surface construction algorithm , 1987 .

[48]  Matthias Müller,et al.  Eurographics/ Acm Siggraph Symposium on Computer Animation (2007) Screen Space Meshes , 2022 .

[49]  Pierre Alliez,et al.  A Survey of Surface Reconstruction from Point Clouds , 2017, Comput. Graph. Forum.

[50]  M. Ament,et al.  Volume Rendering , 2015 .

[51]  T SilvaClaudio,et al.  A Survey of Surface Reconstruction from Point Clouds , 2017 .

[52]  Matthias Teschner,et al.  Generalized drag force for particle-based simulations , 2017, Comput. Graph..

[53]  Tomoyuki Nishita,et al.  GPU‐based Fast Ray Casting for a Large Number of Metaballs , 2008, Comput. Graph. Forum.

[54]  Rüdiger Westermann,et al.  Efficient High-Quality Volume Rendering of SPH Data , 2010, IEEE Transactions on Visualization and Computer Graphics.

[55]  Simon Green,et al.  Particle Simulation using CUDA , 2010 .

[56]  Shuai Zhang,et al.  Real-time high-quality surface rendering for large scale particle-based fluids , 2017, I3D.

[57]  Jan Bender,et al.  Turbulent Micropolar SPH Fluids with Foam , 2019, IEEE Transactions on Visualization and Computer Graphics.

[58]  J. Owen,et al.  Adaptive Smoothed Particle Hydrodynamics: Methodology. II. , 1995, astro-ph/9512078.

[59]  Paul A. Navrátil,et al.  Visualization of Cosmological Particle-Based Datasets , 2007, IEEE Transactions on Visualization and Computer Graphics.

[60]  Jan Bender,et al.  Smoothed Particle Hydrodynamics Techniques for the Physics Based Simulation of Fluids and Solids , 2020, Eurographics.