Influence of Microstructure on the Mechanical Properties and Localized Corrosion of a Duplex Stainless Steel