Development of SPH variable resolution using dynamic particle coalescing and splitting