Magnetization reversal processes ruled by grain interactions: analysis of their dependence on the direction of the demagnetizing field