Computer simulation of fluid flow in the presence of complex geometries with mesh-free particle methods requires that the geometry be captured accurately . Methods like weakly-compressible and incompressiblesmoothed particle hydrodynamics (SPH ) perform better when the particle distribution is uniform. Moreover, SPH schemes typically require the mass or volume to be constant for all particles. For a uniform density, this necessitates a good initial particle distribution . In this paper, various particle packing algorithms present in  literature are implemented and compared with the intention of capturing the boundaries accurately while maintaining a uniform particle distribution of both the fictitious boundary and fluid particles . An improved SPH-based algorithm is proposed which produces better particle distributions in both 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.
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.
R
Computer
Accurate mesh-free
R
flow in the presence of complex geometries with mesh-free particle methods
flows involving complex boundaries
R
geometry
boundaries
R
. Methods like
in terms of particles. In the context of incompressible/
R
and incompressiblesmoothed particle hydrodynamics (SPH ) perform better
fluid flow, the SPH method is more accurate
R
Moreover, SPH schemes typically require the mass or volume to be constant for all particles. For a uniform density, this necessitates a good initial particle distribution
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"
A
the
D
with the intention of capturing the boundaries accurately while maintaining a uniform particle distribution of both the fictitious boundary and fluid particles
R
better particle distributions in both
uniform particle distributions of both the fluid and solid domains in