Effects of divertor geometry on tokamak plasmas