Accurate mesh-free simulation of fluid flows involving complex boundaries requires that the boundaries be captured accurately in terms of particles. In the context of incompressible/weakly-compressible fluid flow, the SPH method is more accurate when the particle distribution is uniform. Hence, for the time accurate simulation of flow in the presence of complex boundaries, one must have both an accurate boundary discretization as well as a uniform distribution of particles to initialize the simulation. This process of obtaining an initial uniform distribution of particles is called "particle packing". In this paper, various particle packing algorithms present in the literature are implemented and compared. An improved SPH-based algorithm is proposed which produces uniform particle distributions of both the fluid and solid domains in two and three dimensions. Some challenging geometries are constructed to demonstrate the accuracy of the new algorithm. The implementation of the algorithm is open source and the manuscript is fully reproducible.
翻译:在粒子分布一致的情况下,SPH方法更准确。因此,在复杂边界存在的情况下,为了对流动进行时间精确的模拟,一个人必须既要有准确的边界分解,也要有统一的粒子分布以启动模拟。获得粒子初步统一分布的过程称为“粒子包装”。本文采用并比较了文献中的各种粒子包装算法。提议采用改进的SPH算法,在两个和三个维度上产生流体和固态区域的统一粒子分布。设计了一些具有挑战性的地理特征,以显示新算法的准确性。算法的实施是开源的,手稿完全可以重新制作。