Navier stokes equation solver using SPH approximation