Before revision:  An improved SPH-based algorithm is proposed which produces better particle distributions in both two and three dimensions.
After revision:  An improved SPH-based algorithm is proposed which produces uniform particle distributions of both the fluid and solid domains in two and three dimensions.