Journey into SPH Simulation: A Comprehensive Framework and Showcase (2403.11156v1)
Abstract: This report presents the development and results of an advanced SPH (Smoothed Particle Hydrodynamics) simulation framework, designed for high fidelity fluid dynamics modeling. Our framework, accessible at https://github.com/jason-huang03/SPH_Project, integrates various SPH algorithms including WCSPH, PCISPH, and DFSPH, alongside techniques for rigid-fluid coupling and high viscosity fluid simulations. Leveraging the computational power of CUDA and the versatility of Taichi, the framework excels in handling large-scale simulations with millions of particles. We demonstrate the capability of our framework through a series of simulations showcasing rigid-fluid coupling, high viscosity fluids, and large-scale fluid dynamics. Furthermore, a detailed performance analysis reveals CUDA's superior efficiency across different hardware platforms. This work is an exploraion into modern SPH simulation techniques, showcasing their practical implementation and capabilities.
- Adaptively Sampled Particle Fluids. ACM Trans. Graph. 26, 3 (jul 2007), 48–es. https://doi.org/10.1145/1276377.1276437
- Coupling elastic solids with smoothed particle hydrodynamics fluids. Computer Animation and Virtual Worlds 24, 3-4 (2013), 195–203. https://doi.org/10.1002/cav.1499 arXiv:https://onlinelibrary.wiley.com/doi/pdf/10.1002/cav.1499
- Versatile Rigid-Fluid Coupling for Incompressible SPH. ACM Trans. Graph. 31, 4, Article 62 (jul 2012), 8 pages. https://doi.org/10.1145/2185520.2185558
- Markus Becker and Matthias Teschner. 2007. Weakly Compressible SPH for Free Surface Flows (SCA ’07). Eurographics Association, Goslar, DEU.
- Jan Bender and Dan Koschier. 2015. Divergence-Free Smoothed Particle Hydrodynamics. In Proceedings of the 14th ACM SIGGRAPH / Eurographics Symposium on Computer Animation (Los Angeles, California) (SCA ’15). Association for Computing Machinery, New York, NY, USA, 147–155. https://doi.org/10.1145/2786784.2786796
- Jan Bender and Dan Koschier. 2017. Divergence-Free SPH for Incompressible and Viscous Fluids. 23, 3 (mar 2017), 1193–1206. https://doi.org/10.1109/TVCG.2016.2578335
- Volume Maps: An Implicit Boundary Representation for SPH. In Proceedings of the 12th ACM SIGGRAPH Conference on Motion, Interaction and Games (Newcastle upon Tyne, United Kingdom) (MIG ’19). Association for Computing Machinery, New York, NY, USA, Article 26, 10 pages. https://doi.org/10.1145/3359566.3360077
- Constraint Fluids. IEEE Transactions on Visualization and Computer Graphics 18, 3 (mar 2012), 516–526. https://doi.org/10.1109/TVCG.2011.29
- Interlinked SPH Pressure Solvers for Strong Fluid-Rigid Coupling. ACM Trans. Graph. 38, 1, Article 5 (jan 2019), 13 pages. https://doi.org/10.1145/3284980
- Kubric: a scalable dataset generator. (2022).
- DiffTaichi: Differentiable Programming for Physical Simulation. ICLR (2020).
- Taichi: a language for high-performance computation on spatially sparse data structures. ACM Transactions on Graphics (TOG) 38, 6 (2019), 201.
- QuanTaichi: A Compiler for Quantized Simulations. ACM Transactions on Graphics (TOG) 40, 4 (2021).
- Implicit Incompressible SPH. 20, 3 (mar 2014), 426–435. https://doi.org/10.1109/TVCG.2013.105
- Dan Koschier and Jan Bender. 2017. Density Maps for Improved SPH Boundary Handling. In Proceedings of the ACM SIGGRAPH / Eurographics Symposium on Computer Animation (Los Angeles, California) (SCA ’17). Association for Computing Machinery, New York, NY, USA, Article 1, 10 pages. https://doi.org/10.1145/3099564.3099565
- Smoothed Particle Hydrodynamics Techniques for the Physics Based Simulation of Fluids and Solids. In Eurographics 2019 - Tutorials, Wenzel Jakob and Enrico Puppo (Eds.). The Eurographics Association, 1–41. https://doi.org/10.2312/egt.20191035
- A Survey on SPH Methods in Computer Graphics. Computer Graphics Forum (2022). https://doi.org/10.1111/cgf.14508
- Weighted Laplacian Smoothing for Surface Reconstruction of Particle-based Fluids. In Vision, Modeling, and Visualization. The Eurographics Association. https://doi.org/10.2312/vmv.20231245
- Miles Macklin and Matthias Müller. 2013. Position Based Fluids. 32, 4, Article 104 (jul 2013), 12 pages. https://doi.org/10.1145/2461912.2461984
- J J Monaghan. 2005. Smoothed particle hydrodynamics. Reports on Progress in Physics 68, 8 (jul 2005), 1703. https://doi.org/10.1088/0034-4885/68/8/R01
- Particle-Based Fluid Simulation for Interactive Applications (SCA ’03). Eurographics Association, Goslar, DEU, 154–159.
- Position Based Dynamics. J. Vis. Comun. Image Represent. 18, 2 (apr 2007), 109–118. https://doi.org/10.1016/j.jvcir.2007.01.005
- An Implicit Viscosity Formulation for SPH Fluids. ACM Trans. Graph. 34, 4, Article 114 (jul 2015), 10 pages. https://doi.org/10.1145/2766925
- Andreas Peer and Matthias Teschner. 2017. Prescribed Velocity Gradients for Highly Viscous SPH Fluids with Vorticity Diffusion. IEEE Transactions on Visualization and Computer Graphics 23, 12 (2017), 2656–2662. https://doi.org/10.1109/TVCG.2016.2636144
- B. Solenthaler and R. Pajarola. 2009. Predictive-Corrective Incompressible SPH. In ACM SIGGRAPH 2009 Papers (New Orleans, Louisiana) (SIGGRAPH ’09). Association for Computing Machinery, New York, NY, USA, Article 40, 6 pages. https://doi.org/10.1145/1576246.1531346
- Implicit Formulation for SPH-based Viscous Fluids. Computer Graphics Forum 34, 2 (2015), 493–502. https://doi.org/10.1111/cgf.12578 arXiv:https://onlinelibrary.wiley.com/doi/pdf/10.1111/cgf.12578
- A Physically Consistent Implicit Viscosity Solver for SPH Fluids. Computer Graphics Forum 37, 2 (2018), 145–155. https://doi.org/10.1111/cgf.13349 arXiv:https://onlinelibrary.wiley.com/doi/pdf/10.1111/cgf.13349