Visual Debugging of SPH Simulations

Smoothed particle hydrodynamics (SPH) is a popular mesh-free, particle-based fluid simulation approach for a wide range of applications. There are several numerical variants of SPH along with a variety of models for aspects such as boundary conditions, compressibility or incompressibility, and surface tension. Different combinations of these models lead to varying effects that occur during simulation, and their analysis is a critical challenge for fluid mechanics. In this paper, we address this challenge by presenting a visual debugging application for simulations, which allows users to evaluate the properties of the models and to detect possible computational errors. Our multi-view application uses a combination of interactive 3D visualization of the particles and non-spatial visualizations from the field of information visualization, namely scatter plots and parallel coordinates plots. Our visual debugging environment thus enables a quantitative analysis of the multidimensional simulation attributes, including internal and physical properties contributing to the simulation process. All views support brushing and linking, that is, selections of interesting value ranges in the plots are directly visible in the 3D view and, conversely, the selection of particles in the 3D view highlights the corresponding data points in the plots. Since typical SPH simulations come with large numbers of data points, we employ stochastic subsampling to reduce visual clutter in the non-spatial views and accelerate the rendering speed. We discuss four real-world use cases for visual debugging of fluid simulations that showcase how our visual debugging environment is instrumental for identify code errors and increases the understanding of the simulation models. We also show how the combination of coupled views can reveal internal details, thus serving to improve simulation results.

[1]  Stefan Gumhold,et al.  Splatting Illuminated Ellipsoids with Depth Correction , 2003, VMV.

[2]  Thomas Ertl,et al.  MegaMol—A Prototyping Framework for Particle-Based Visualization , 2015, IEEE Transactions on Visualization and Computer Graphics.

[3]  J. Monaghan Simulating Free Surface Flows with SPH , 1994 .

[4]  David H. Rogers,et al.  Visual Debugging , 2002, IEEE Computer Graphics and Applications.

[5]  Lars Linsen,et al.  SmoothViz: Visualization of Smoothed Particles Hydrodynamics Data , 2011 .

[6]  Alan J. Dix,et al.  by chance enhancing interaction with large data sets through statistical sampling , 2002, AVI '02.

[7]  Michael Mayer,et al.  Case study: visual analysis of complex, time-dependent simulation results of a diesel exhaust system , 2004, VISSYM'04.

[8]  Valerio Pascucci,et al.  CPU ray tracing large particle data with balanced P-k-d trees , 2015, 2015 IEEE Scientific Visualization Conference (SciVis).

[9]  H. Hauser,et al.  Interactive focus+context visualization with linked 2D/3D scatterplots , 2004, Proceedings. Second International Conference on Coordinated and Multiple Views in Exploratory Visualization, 2004..

[10]  Rüdiger Westermann,et al.  Motion visualization in large particle simulations , 2012, Visualization and Data Analysis.

[11]  Camilla Forsell,et al.  Evaluation of Parallel Coordinates: Overview, Categorization and Guidelines for Future Research , 2016, IEEE Transactions on Visualization and Computer Graphics.

[12]  Helwig Hauser,et al.  Outlier-Preserving Focus+Context Visualization in Parallel Coordinates , 2006, IEEE Transactions on Visualization and Computer Graphics.

[13]  Hans Hagen,et al.  High performance multivariate visual data exploration for extremely large data , 2008, 2008 SC - International Conference for High Performance Computing, Networking, Storage and Analysis.

[14]  Daniel J. Price SPLASH: An Interactive Visualisation Tool for Smoothed Particle Hydrodynamics Simulations , 2007, Publications of the Astronomical Society of Australia.

[15]  Thomas Ertl,et al.  Eurographics/ Ieee-vgtc Symposium on Visualization 2010 Coherent Culling and Shading for Large Molecular Dynamics Visualization , 2022 .

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

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

[18]  Jonathan C. Roberts,et al.  Visualization for the Physical Sciences , 2012, Comput. Graph. Forum.

[19]  Matthias Teschner,et al.  Implicit Incompressible SPH , 2014, IEEE Transactions on Visualization and Computer Graphics.

[20]  Yongning Zhu,et al.  Animating sand as a fluid , 2005, SIGGRAPH 2005.

[21]  Thomas Ertl,et al.  Hardware-Accelerated Glyphs for Mono- and Dipoles in Molecular Dynamics Visualization , 2005, EuroVis.

[22]  Matthias Teschner,et al.  Versatile rigid-fluid coupling for incompressible SPH , 2012, ACM Trans. Graph..

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

[24]  Daniel Weiskopf,et al.  State of the Art of Parallel Coordinates , 2013, Eurographics.

[25]  Vladimir Molchanov,et al.  SmoothViz : An Interactive Visual Analysis System for SPH Data , 2013 .

[26]  John Biddiscombe,et al.  Interactive Visualization and Exploration of SPH Data , 2007 .

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

[28]  Daniel Weiskopf,et al.  Evaluation of Surface Tension Models for SPH-Based Fluid Animations Using a Benchmark Test , 2015, VRIPHYS.

[29]  Thomas Ertl,et al.  Evaluation of Visualizations for Interface Analysis of SPH , 2014, EuroVis.

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

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

[32]  Bernice E. Rogowitz,et al.  WEAVE: a system for visually linking 3-D and statistical visualizations, applied to cardiac simulation and measurement data , 2000 .

[33]  David H. Rogers,et al.  Case study: Visual debugging of finite element codes , 2002, IEEE Visualization, 2002. VIS 2002..

[34]  Jens Schneider,et al.  Interactive Rendering of Giga-Particle Fluid Simulations , 2014, High Performance Graphics.