Fluid flow simulation is a highly active area with applications in a wide range of engineering problems and interactive systems. Meshless methods like the Moving Particle Semi-implicit (MPS) are a great alternative to deal efficiently with large deformations and free-surface flow. However, mesh-based approaches can achieve higher numerical precision than particle-based techniques with a performance cost. This paper presents a numerically stable and parallelized system that benefits from advances in the literature and parallel computing to obtain an adaptable MPS method. The proposed technique can simulate liquids using different approaches, such as two ways to calculate the particles' pressure, turbulent flow, and multiphase interaction. The method is evaluated under traditional test cases presenting comparable results to recent techniques. This work integrates the previously mentioned advances into a single solution, which can switch on improvements, such as better momentum conservation and less spurious pressure oscillations, through a graphical interface. The code is entirely open-source under the GPLv3 free software license. The GPU-accelerated code reached speedups ranging from 3 to 43 times, depending on the total number of particles. The simulation runs at one fps for a case with approximately 200,000 particles. Code: https://github.com/andreluizbvs/VoxarMPS
翻译:流流模拟是一个非常活跃的领域,其应用范围很广的工程问题和互动系统。移动粒子半隐形(MPS)等无线方法是高效处理大规模变形和自由表面流动的极好替代方法。然而,基于网状的方法可以实现比基于粒子的技术更高的数字精确度,且具有性能成本。本文展示了一个数字稳定和平行的系统,从文献的进步和平行计算中获得好处,以获得适应性的MPS方法。拟议的技术可以使用不同的方法模拟液体,例如两种方法来计算粒子的压力、动荡流和多相位互动。这种方法是在传统测试案例下评估的,这些案例与最近的技术具有相似的结果。这项工作将以前提到的进步纳入一个单一的解决方案,通过图形界面可以转换改进,例如更好的动力保护以及较少引力的压力振荡。该代码在GPLV3免费软件许可下完全开放源。GPU-accerationedation 代码达到3至43倍的加速度,这取决于粒子总数。MARPS/FPSDMS 和大约200000/FPS/FPSMps。模拟一个案例在20000/FMS。