Role of the fault geometry on the rupture dynamics and the radiated wavefield