A multi-domain approach for smoothed particle hydrodynamics simulations of highly complex flows