Performance of Nb3Sn quadrupole magnets under localized thermal load