Smoothed-particle hydrodynamics is a method to simulate fluids[1]}. It is a lagrangian meshless method based on convolution of smoothing function (kernel) \(W\)  over fluid's field functions to approximate their values at a point. This field function is discretized by a set of point particles. The kernel approximation is given by the form
\(f(\mathbf {x})=\int \limits _{\Omega }^{} f(\mathbf {x}^{\prime })W(\mathbf {x}-\mathbf {x}^{\prime })d\mathbf {x}^{\prime },\) 
