Introduction

Aluminum alloys are widely recognized as lightweight construction materials promoting fuel efficiency, reducing energy consumption, providing a good weight-to-strength ratio, and lowering CO2 emissions due to their low density1,2,3,4. In particular, Al-Si-Mg cast alloys are extensively used in automotive structures and engine components for their superior castability, mechanical strength, and corrosion resistance5,6,7. Additionally, aluminum offers excellent recyclability, with secondary production consuming only 5–10% of the energy required for primary aluminum8. This makes recycled aluminum a sustainable and cost-effective material for industrial applications, especially in transportation.

However, the widespread application of recycled aluminum is hindered by metallurgical challenges. Elements such as Fe, Mn, Cu, and Mg are difficult to eliminate during remelting due to the variability and complexity of scrap sources9,10,11,12. These elements tend to form intermetallic particles (IMPs) like α-Al(FeMn)Si, β-AlFeSi, π-AlFeSiMg, Q-AlCuMgSi13,14,15. The formation and morphology of these IMPs negatively affect the corrosion and mechanical performance of aluminum alloys14,15,16,17. For example, in corrosive environments, Fe-rich IMPs act as cathodes, accelerating localized corrosion, such as pitting, intergranular corrosion (IGC), and filiform corrosion14,18,19.

Among various IMPs, the plate-like β-AlFeSi phase is particularly detrimental due to its strong cathodic character, exhibiting a volta potential difference of approximately 200 mV relative to the surrounding Al matrix20,21. This pronounced potential difference significantly promotes micro-galvanic coupling with the aluminum matrix22. Increasing the Mn/Fe ratio is a well-established strategy to suppress the formation of the deleterious phase18,21,23. Mn promotes the formation of more stable α-Al(FeMn)Si phases instead of β-AlFeSi. The phase is less electrochemically active, thereby enhancing both the corrosion resistance and mechanical performance of the alloy24,25,26,27,28. For instance, an Mn/Fe ratio close to 1.3 has been reported to maximize ductility29. With the addition of 0.07 or 0.13 Mn, the plate-like β-AlFeSi in A356 is replaced by the rod-like α-Al(Mn, Fe)Si30. Thermodynamic analyses further indicate that when Fe concentration reaches 4.19 wt%, α-Al(FeMn)Si becomes the dominant precipitate phase31. Despite extensive investigations that have predominantly addressed short-term corrosion behavior, the long-term stability of aluminum alloys containing a higher level of contamination by impurity elements and their associated corrosion processes remains inadequately understood.

Previous studies have provided a theoretical basis for revealing the role of impurity phases in corrosion initiation and propagation. For example, Peng32 et al. investigated the electrochemical corrosion behavior of Al-Zn-Mg-Cu alloys and pointed out that the influence of impurity phases on localized corrosion is crucial. Gao23 and Kayani21 et al. found that the corrosion of Al-Si-Mg alloys often starts from IMPs, while Kim18 et al. further suggested that optimizing the morphology of IMPs can help improve the corrosion resistance. Simulation studies using finite element methods (FEM) have modeled current and potential distributions to predict corrosion tendencies32,33. However, conventional FEM approaches have limitations in the evolution of micro-secondary phases with heterogeneous structures and in capturing evolving corrosion interfaces under thin electrolyte film exposure.

In response to these limitations, this study investigates starting from a high Fe impurity (0.55 wt%), which is sufficient to promote the formation of plate-like β-AlFeSi. This approach ensures the industrial relevance and enables a realistic assessment of corrosion under contamination, Fe levels of secondary aluminum. Furthermore, this work examines Mn-modified efficiency within a specific Mn/Fe ratio range. By correlating microstructural evolution with both immersion and thin-film (salt-spray) corrosion behavior, the study identifies and experimentally validates a critical Mn/Fe effectiveness window (0.3-0.6). This offers a practical guideline for the control of Mn additions in the industrial melt process. This compositional variation enables a detailed evaluation of phase-specific electrochemical responses and their influence on corrosion behaviors. A combined experimental and numerical approach is adopted to clarify the underlying corrosion mechanisms. Dedicated salt spray tests emulating thin-film electrolyte conditions were conducted to monitor the corrosion morphology evolution of Fe-rich and Mn-rich intermetallic phases. In particular, the electrochemical characteristics and corrosion progression associated with different IMPs in impurified Al-Si-Mg alloys are explored. In parallel, a computational FEM approach is employed to simulate the evolution of the corrosion front in a two-phase system, allowing physically consistent tracking of dynamic boundary movement. The model incorporates the experimentally measured polarization behavior of the intermetallic phases, together with their volume fractions and spatial distributions, enabling accurate simulation of the progressing corrosion interface. By integrating thin film corrosion testing with advanced modeling techniques, this work provides new insights into the degradation mechanisms of the contaminated secondary aluminum alloys induced by impurity phases related to salt spray corrosion.

Results

Microstructure characterization

Backscattered SEM images of the as-cast Al-Si-Mg alloys (Fig. 1a–c) displayed three distinct regions with different contrast levels. Complementary EDS results in Fig. 1d and e confirmed the presence of intermetallic particles β-AlFeSi and α-Al(FeMn)Si.

Fig. 1: SEM images of as-cast alloys and EDS spectra of plate-like particle and Chinese-script particle.
Fig. 1: SEM images of as-cast alloys and EDS spectra of plate-like particle and Chinese-script particle.
Full size image

ac SEM images showing the typical surface morphologies of alloys A, B, and C, respectively. Distinct regions with different contrasts correspond to the α-Al matrix, eutectic Si, and intermetallic particles distributed throughout the microstructure. The eutectic Si phase is indicated by white arrows. d Representative EDS spectrum of a plate-like β-AlFeSi intermetallic particle. e Representative EDS spectrum of a Chinese-script α-Al(FeMn)Si particle, confirming their elemental compositions. SEM scanning electron microscopy, EDS energy-dispersive spectroscopy.

In alloy A, the microstructure was predominantly composed of α-Al dendrites, characterized by a secondary dendrite arm spacing (SDAS) of (21 ± 7) μm with the line-intercept method. The eutectic Al-Si region formed a continuous network-like morphology, with an average equivalent circle diameter (ECD) of (17 ± 6) μm. A limited number of β-AlFeSi intermetallics were observed along the eutectic boundaries. This observation aligns with the low Fe content of alloy A, which restricts the formation of Fe-rich intermetallic phases.

In contrast, alloy B contains a higher Fe concentration, resulting in a pronounced increase in the formation of plate-like β-AlFeSi. The α-Al matrix exhibited a reduced SDAS of (16 ± 4) μm, and the eutectic Si clusters displayed an ECD of (12 ± 4) μm. As shown in Fig. 1b, the Fe-rich phase appeared as elongated or plate-like structures with a maximum length of approximately 51 μm and widths of 1.5 μm to 3.2 μm.

In alloy C, the SDAS measured (17 ± 4) μm, while the eutectic Si clusters exhibited an ECD of (11 ± 5) μm. The increased Mn/Fe ratio effectively suppressed the formation of plate-like β-AlFeSi phases34,35. Instead, Chinese-script α-Al(FeMn)Si intermetallics were observed, with EDC ranging from 24.2 μm to 74.3 μm, as shown in Fig. 1c. Compared with alloy A, the SDAS decreased by 7 % to 25 %, while the size of eutectic Si was reduced by 30 % to 45 %.

Corrosion behavior of contaminated Al-Si-Mg alloys in NaCl solution

The EIS results for the three alloys in a 3.5 wt% NaCl solution over a frequency range of 105 Hz to 10−2 Hz are shown in Fig. 2. At low frequencies, the maximum \(\left|Z\right|\) of the three alloys at 0.01 Hz was observed after 5 h, followed by a decrease at 12 h. All alloys exhibited a gradual evolution of impedance with no statistically significant differences when considering the standard deviation in Table 1. Bode plots reveal at least two distinct relaxation processes. The first relaxation process appears in the middle-frequency range, corresponding to the capacitive behavior of the native oxide layer on the surface of aluminum alloy. The second process, located in the low-frequency range, is associated with the electrochemical activity at the newly exposed surface.

Fig. 2: Electrochemical performance and Equivalent electrical circuits modeling of three Al-Si-Mg alloys.
Fig. 2: Electrochemical performance and Equivalent electrical circuits modeling of three Al-Si-Mg alloys.
Full size image

ac Bode plots of alloys A, B, and C measured after 0.5, 5, and 12 h immersion over a frequency range from 100 kHz to 0.01 Hz. Black, red, and blue curves represent 0.5, 5, and 12 h exposure, respectively. d, e Equivalent electrical circuits used to fit the impedance spectra. Rs denotes solution resistance, Rf surface film resistance, Rct charge-transfer resistance, Qf the constant phase element (CPE) of the passive film, and Qdl the double-layer CPE. f Potentiodynamic polarization curves of alloys A, B, and C. EIS, electrochemical impedance spectroscopy.

Table 1 Equivalent electrical circuit fitting parameters of EIS results for the three aluminum alloys in 3.5 wt% NaCl solution

The EECs used to fit the EIS data are illustrated in Fig. 2d and e. Circuit components are defined as follows: Rs denotes the resistance of bulk solution, Rf represents the resistance of surface layer, Rct signifies charge transfer resistance. Qf represents the CPE of passive film, Qdl signifies the CPE of double layer. A comparison of the EIS fitting results using the EECs in Fig. 2d and e is provided in Table 1. The time-dependent evolution of impedance responses reflects the dynamic balance between surface oxide film stability and interfacial electrochemical activity. SEM and EDS images in Fig. 3a–c show that the eutectic Al-Si phase suffered the mainly corrosion attack. Furthermore, the surface morphologies observed in Fig. 3d–f after impedance testing indicate a relatively lower density of corrosion pits on the Mn-rich alloy C. However, deeper pitting was still present in certain localized areas, while other regions remained. This heterogeneous corrosion behavior may be related to the refined microstructure of alloy C, in which the formation of plate-like β-AlFeSi is suppressed and Chinese-script α-Al(FeMn)Si phases are promoted.

Fig. 3: Surface morphologies with corresponding EDS spectra of alloys A, B, and C after 12 h of EIS testing in 3.5% NaCl.
Fig. 3: Surface morphologies with corresponding EDS spectra of alloys A, B, and C after 12 h of EIS testing in 3.5% NaCl.
Full size image

ac SEM images and corresponding EDS elemental mappings of alloys A, B, and C after 12 hours of EIS exposure. Aluminum, silicon, iron, and manganese are shown as green, blue, yellow, and orange distributions, respectively, revealing preferential corrosion around intermetallic particles. df Three-dimensional surface profiles illustrating localized dissolution depths for the three alloys.

In addition to impedance analysis, potentiodynamic polarization tests were conducted to further evaluate the phase-selective corrosion susceptibility of the Al-Si-Mg alloys. The polarization curves are shown in Fig. 2f. Among the three alloys, the anodic current density increases rapidly for all three alloys, indicating that the oxide film on the aluminum alloy surface is prone to breakdown. Meanwhile, the similar shapes of the polarization curves suggest that the alloys display comparable electrochemical behavior in the polarization test.

The penetration depths obtained from low-magnification SEM images (Fig. 4a–c) were 42 μm, 53 μm, and 47 μm for alloys A, B, and C, respectively. Cross-sectional SEM images (Fig. 4d–f) show that corrosion preferentially initiated near the IMPs and α-Al matrix regions in alloys B and C (red arrows). And the eutectic Al-Si phase promoted more extensive attack in all three alloys due to the netshape-like structure. This corrosion morphology indicates that the attack propagated along the eutectic Al-Si matrix, consistent with intergranular corrosion of the three alloys. Fe/Mn-rich intermetallic particles induced trenching, and the associated local potential gradients likely facilitated electrolyte ingress along IMP boundaries.

Fig. 4: SEM images of alloy A, alloy B, and alloy C after potentiodynamic polarization test.
Fig. 4: SEM images of alloy A, alloy B, and alloy C after potentiodynamic polarization test.
Full size image

ac Low-magnification SEM images showing penetration depths of approximately 42 μm, 53 μm, and 47 μm for alloys A, B, and C, respectively. The orange dashed line is parallel to the maximum depth of corrosion and the sample surface. df Higher-magnification images revealing that corrosion preferentially initiates near intermetallic particles and adjacent α-Al matrix regions, as indicated by red arrows.

Corrosion morphology after salt spray test

Traditional electrochemical techniques, such as polarization and EIS, rely on bulk electrolytes and predominantly reflect the averaged behavior of the entire exposed surface. However, atmospheric corrosion occurs under micrometer-scale electrolyte films where anodic and cathodic sites can become highly localized and strongly influenced by local chemical condition36,37. Factors like enhanced oxygen diffusion, uneven electrolyte film distribution, and local chemical microenvironments play key roles in real degradation16,36. To better replicate real conditions of the casting alloys-based component, this study employed salt spray testing to reveal in thin electrolyte condition corrosion of three aluminum alloys as well. Figure 5 shows the surface morphologies of the three alloys after 72, 157, and 230 h of exposure. Uniform dark corrosion products were visually observed during early stages (72–157 h), suggesting a relatively stable progression of corrosion on alloy A. At 230 h, yellow and colorless deposits appeared, aligned with droplet trails, indicating localized dissolution processes. SEM cross-sections (Fig. 6a–c) revealed shallow corrosion depth, with preferential attacks occurring at the eutectic Al-Si phases adjacent to α-Al matrix.

Fig. 5: Normal surface images of alloys A, B, and C after salt spray.
Fig. 5: Normal surface images of alloys A, B, and C after salt spray.
Full size image

ac Surface morphologies after 72 hours of salt spray exposure for the three alloys. df Morphologies after 157 hours of salt spray exposure for the three alloys. gi Morphologies after 230 hours of salt spray exposure for the three alloys using a digital camera. Surface roughening and corrosion product accumulation are observed with increasing exposure time for all alloys.

Fig. 6: SEM images and elemental distribution of alloys A, B, and C underr salt spray testing.
Fig. 6: SEM images and elemental distribution of alloys A, B, and C underr salt spray testing.
Full size image

ac Cross-sectional SEM images showing shallow localized penetration, with preferential attack along eutectic Al-Si regions adjacent to the α-Al matrix. di Surface morphologies and corresponding EDS spectra. Trenching (yellow arrows) and formation of corrosion products (yellow circles) are observed around β-AlFeSi particles. jl High-magnification images showing partial dissolution at the periphery of α-Al(FeMn)Si particles, while many intermetallics remain partly intact (red arrows).

In contrast, alloy B demonstrated more aggressive corrosion from the beginning. After 72 h, the surface showed colorless corrosion products and dark trails of droplets. At 230 h, the accumulation of dark corrosion products was observed over large surface areas. This accelerated degradation was mainly attributed to the presence of the β-AlFeSi phase, which acted as a strong cathodic site and promoted galvanic dissolution of the surrounding Al matrix. SEM and EDS analysis confirmed the β -AlFeSi phase (yellow arrows), leading to trenching in active electrochemical corrosion areas as mentioned earlier. Some oxidation products (yellow circles) were formed, corresponding to the pitting holes on the surface. The same result was also observed in Fig. 6j on alloy B after 72 hours.

Although alloy C contained similar Fe content to alloy B, its corrosion behavior differed significantly. Optical images after prolonged exposure visually observed the formation of reddish-brown corrosion products, while dark trails were less pronounced. SEM micrographs Fig. 6f and i showed that the α-Al(FeMn)Si intermetallics remained partly intact (red arrows), with significantly less fragmentation or detachment. It should be noted that the reddish-brown appearance mainly results from the accumulation of corrosion products on the surface, rather than the extensive dissolution of intermetallic particles. Nevertheless, as shown in the magnified images in Fig. 6k and l, some partial dissolution may still occur at the α-Al(FeMn)Si particle periphery during localized corrosion. Consequently, trenching developed around the phase, and some stable location corrosion was able to propagate into the surrounding matrix. Although the Mn-containing phase can locally promote stable localized corrosion at its periphery, it exerts little influence on the overall propagation of corrosion in the surrounding Al-matrix. Therefore, the Mn-rich IMPs remained largely intact, showing only limited trenching features.

Microgalvanic corrosion simulation of alloy A

The electrolyte current density distribution and micro-galvanic corrosion behavior of alloy A in a thin film NaCl solution were investigated using a finite element model, as shown in Fig. 7. In this model, the electrolyte was simplified as a homogeneous medium with a constant Cl concentration and initial neutral pH. Although dynamic variations in the electrolyte environment under salt spray conditions were not included, the simulation reproduced key features observed experimentally for alloy A. The simulation results reveal that charge transfer is driven by the potential difference between the eutectic Al-Si regions and the surrounding α-Al matrix, leading to localized anodic dissolution of the Al-Si. Corrosion propagates along the interconnected eutectic network, confirming the galvanic coupling between the α-Al and the secondary phase. The simulated electric current density field exhibits pronounced spatial inhomogeneity. Higher current densities are concentrated near the corrosion front, and coarser impurity particles tend to generate stronger local currents, likely due to their increased electrochemical surface area and more continuous electron conduction paths.

Fig. 7: Cross-sectional images of the dissolution interface front and electrolyte current density vectors in alloy A after varying exposure times to a 5 wt% NaCl salt spray environment, corresponding to the simulated corrosion process.
Fig. 7: Cross-sectional images of the dissolution interface front and electrolyte current density vectors in alloy A after varying exposure times to a 5 wt% NaCl salt spray environment, corresponding to the simulated corrosion process.
Full size image

ac Finite-element simulations showing electrolyte current density distributions after 72, 157, and 230 hours. Arrows indicate current density vectors, and color contours represent magnitude. The image shows an enlarged view of a selected region. df Corresponding experimental cross-sections demonstrating progressive deepening of the corrosion front and localized anodic dissolution of Al-Si phases (yellow arrows).

The model also captures the progressive deepening of the corrosion front, as shown in Fig. 7d–f, which is consistent with both experimental morphologies and previous findings38. After virtual 365 hours of simulated immersion (Fig. 8), current density vector fields indicate selective dissolution of the eutectic Al-Si phase, while the α-Al matrix remains nearly unaffected, with current densities approaching nearly zero. The resulting corrosion morphology is of a known characteristic of intergranular attack. The simulation can also be extended to study the effect of impurities on corrosion, particularly their role within heterogeneous microstructure during initial corrosion for further model development.

Fig. 8: Simulated cross-section of corrosion propagation, including electrolyte potential field lines and current densities after virtual 365 days. The final morphology after polarization for alloy A is also shown.
Fig. 8: Simulated cross-section of corrosion propagation, including electrolyte potential field lines and current densities after virtual 365 days. The final morphology after polarization for alloy A is also shown.
Full size image

a Cross-sectional simulation after a virtual 365 days showing electrolyte potential field lines and current density vectors. Selective dissolution occurs primarily in the eutectic Al-Si phase, whereas the α-Al matrix exhibits negligible current density. b Final corrosion morphology after polarization, displaying characteristic intergranular and localized attack.

Discussion

Based on the above experiments, the corrosion behavior of three alloys is governed by the distribution, morphology, and electrochemical activity of impurity particles. Owing to their pronounced cathodic behavior14,21, Fe/Mn-containing IMPs readily form micro-galvanic couples with adjacent α-Al. Furthermore, the plate-like morphology increases the interacting interfacial area with the surrounding α-Al matrix, intensifying local galvanic coupling and promoting even more localized corrosion. Additionally, the optimization of eutectic SDAS affects the characteristic path of corrosion penetration, thereby influencing the extent and morphology of corrosion propagation. The observation that the α-Al(FeMn)Si intermetallics remained partly intact can be attributed to the relatively higher electrochemical stability of the Mn-containing phase compared with β-AlFeSi, as well as differences in phase interfacial contact and local electrolyte accessibility. Manganese is well established as an effective modifier of Fe-rich intermetallic compounds in primary aluminum alloys. In typical low-iron primary aluminum alloys (0.2 wt%), such as A356 and 6xxx-series alloys, a Mn/Fe ratio of approximately 0.3 typically partially suppresses the formation of plate-like β-AlFeSi and promotes limited formation of rod-like α-Al(Mn, Fe)Si30,39. However, in alloys containing higher Fe levels (more than 0.5 wt%), substantially higher Mn additions are generally required to achieve a nearly complete transformation of the deleterious β-AlFeSi into Chinese-script α morphologies, with effective Mn/Fe ratios usually approaching or exceeding 129,40,41. Our concurrent research combined CALPHAD with machine learning to simulate 20 million AlSi7Mg0.3 alloy compositions42. This indicates that despite a Mn/Fe ratio greater than 2 being thermodynamically effective in suppressing β-AlFeSi phase formation, excessive manganese addition presents challenges to melt preparation, casting performance, and the mechanical properties of recycled aluminum. In contrast, the Mn/Fe ratio range of 0.25-0.75 promotes efficient α-Al(Mn, Fe)Si phase formation while reducing the total intermetallic phase amount. This narrower range decreases microstructural heterogeneity and influences corrosion susceptibility. Specifically, the α-Al(FeMn)Si phase can promote intergranular corrosion away from innate phases43. Furthermore, it has been reported that a high dislocation density near coarse IMPs may lead to stress concentration, facilitating the formation of defects in the oxide film21,23.

Phase-selected dissolution on the eutectic phase was observed under immersion and polarized conditions in Figs. 3 and 4. In contrast to bulk immersion conditions, salt spray exposure induces distinct electrochemical behavior due to differences in electrolyte morphology and spatial conductivity gradients44. In bulk environments, a continuous electrolyte layer enables relatively uniform current distribution. The cathodic reaction is primarily diffusion-controlled oxygen reduction. Contrasting with under salt spray thin film conditions, Oxygen diffuses from the atmosphere across a very short distance between the air-electrolyte interface and the metal surface, readily participating in and accelerating corrosion reactions. The resistance of the electrolyte thus becomes a key parameter controlling the galvanic current. When the electrolyte layer thickness approaches the diffusion layer thickness (approximately 800 μm), a further decrease in film thickness increases electrolyte resistance and consequently decreases the galvanic current45. Additionally, the electrolyte resistance is proportional to the electrode distance45. As demonstrated by Palani et al.36, the highest anodic current density is highly localized near the cathode edge due to the distribution of geometrical and Ohmic resistance. Under these conditions, stable localized attack and pitting corrosion develop on the exposed surface. The matrix adjacent to Fe-rich phases may experience severe localized activation caused by rapid acidification and chloride accumulation. The resulting damage includes spalling of the β-AlFeSi phase and partial edge corrosion of the α-Al(FeMn)Si phase, as shown in Fig. 6. Therefore, the corrosion mechanism in salt spray differs fundamentally from that in bulk immersion. It is governed by the synergistic effects of thin-film electrolyte geometry, spatial variations in resistance, and the intrinsic electrochemical properties of intermetallic phases. A comparative overview of these corrosion environments is provided elsewhere Table 2.

Table 2 Comparison of polarization/impedance tests in bulk electrolyte and salt spray tests under thin-film electrolyte conditions

The micro-galvanic corrosion behavior of contaminated AlSi7Mg0.3 cast alloy was investigated based on electrochemical tests via potentiodynamic polarization and electrochemical impedance spectroscopy, accelerated salt spray test, and numerical simulations. The addition of Fe and Mn refines the size of the α-Al matrix and eutectic Al-Si phases. The cathodic β-AlFeSi phase promotes phase-selective dissolution and trench formation through micro-galvanic corrosion in thin-film electrolyte environments. In contrast, the α-Al(FeMn)Si phase shows lower electrochemical activity and greater morphological stability. Meanwhile, the level-set-based numerical simulations effectively tracked the evolution of the corrosion front in dual-phase microstructures. Although uniform chemical concentration and neutral pH were assumed, the predicted corrosion morphology and penetration depth were in good agreement with experimental observations. Controlling Mn addition to maintain the Mn/Fe ratio within the range of 0.3–0.6 effectively suppresses the formation of deleterious plate-like β-AlFeSi phases, while promoting the formation of Chinese-script α-Al(FeMn)Si intermetallics. This compositional strategy provides a practical and economically viable approach for the design of secondary aluminum alloys, enhancing their long-term durability in industrial applications, such as lightweight automotive components.

Methods

Materials

Three AlSi7Mg0.3 as-cast alloys with tailored Fe and Mn impurity levels were prepared based on the target compositions for subsequent testing. The chemical compositions of alloys A, B, and C are presented in Table 3. These alloys were cut into coins with a diameter of 20 mm and a thickness of 3 mm.

Table 3 Composition of three aluminum alloys used in this study (wt%)

Electrochemical measurements

Electrochemical impedance spectroscopy (EIS) and potentiodynamic polarization tests were performed on three alloys using a Gamry interface 1000 potentiostat. All measurements were conducted in a naturally aerated 3.5 wt% NaCl solution at room temperature (298 K). Before electrochemical testing, the surface of the specimens was ground with 1200-grit SiC paper and cleaned with ethanol. A conventional three-electrode setup was employed, comprising a Pt wire as the counter electrode, a saturated Ag/AgCl (KCl) reference electrode, and the aluminum specimen as the working electrode with an exposed area of 0.5 cm2. Polarization tests were conducted based on the potentiodynamic scanning method. Polarization curves were obtained at a scan rate of 0.5 mV s−1 within a potential range of −0.3 V to 1.5 V versus open circuit potential (OCP) after 30 min. EIS measurements were performed over a frequency range of 100 kHz to 0.01 Hz with 10 frequency points per decade after 30 min, using 10 mV RMS sinusoidal perturbation voltage, at predetermined immersion times from 0.5 hours to 12 hours. All measurements were repeated at least three times to ensure reproducibility and reliability. Impedance spectra were analyzed and fitted using ZView software with appropriate equivalent electrical circuits (EECs). Constant phase elements (CPEs) were used in place of ideal capacitors to mathematically account for surface effects and inhomogeneities46. The CPE impedance is expressed as:

$$Q={Z}_{CPE}=\frac{1}{{Y}_{0}{(jw)}^{n}}$$
(1)

where Y0 is the admittance of CPE, j is the imaginary unit, ω is the angular frequency, and Q and n are the CPE exponents. The exponent n typically ranges from −1 to 1, representing pure inductance, resistance, and capacitance, respectively; while the value of n approaching 0.5 is assigned diffusion control, indicating Warburg impedance behavior47,48.

Salt spray test

Salt spray testing was performed in a SC/KWT 450 chamber in general accordance with ASTM B117 standard using a 5 wt% NaCl solution at 35. Exposure durations were set at 72, 157, and 230 h. After each exposure period, specimens were dried naturally at room temperature for 30 min, then gently rinsed with deionized water to remove soluble salts and dried with an air blower.

Microstructural characterization

After the salt spray test, the surface morphologies were photographically examined using a digital camera. Corrosion products were removed by immersion in a solution of 50 mL H3PO4 + 950 mL H2O at room temperature49. Surface and cross-sectional microstructures were analyzed using a scanning electron microscope (SEM, TESCAN Vega 3 SB), equipped with an energy dispersive spectrometer system (EDS, eumeX IXRF systems). Cross-sectional specimens after corrosion were embedded in resin and ground mechanically with 800, 1200, 2500, and 4000-grit SiC papers, and then polished with 1 μm colloidal silica suspension. 3D Optical profilometry (VR-5000, Keyence) was utilized to obtain morphology maps of the sample surfaces.

Mathematical modeling and FEM simulations

Finite element method (FEM) simulations were conducted using COMSOL Multiphysics to investigate the micro-galvanic corrosion behavior of Al-Si-Mg cast alloys in a 5 wt% NaCl solution. A two-dimensional model was constructed to represent a simplified microstructure consisting of the primary α-Al matrix and the Al-Si eutectic region. The eutectic region consists of eutectic Al and eutectic Si phases that solidify together within the primary α-Al once the eutectic temperature is reached. Within this region, eutectic Si acts as a local cathode relative to eutectic Al, giving rise to localized micro-galvanic corrosion. Anodic dissolution occurs predominantly within the eutectic region during the early stage of corrosion; this region was considered the main corrosion area in the model.

Figure 9 illustrates a representative cross-sectional microstructure of alloy A, depicting the dendritic α and network-like eutectic Al-Si phases. The model utilizes a level-set method, implemented via an interpolating function to represent the spatial distribution of these phases. The function is defined in Eq. (2), assigning a value of 1 to cathodic regions and 0 to anodic regions. The morphology and distribution of the second phase are based on alloy A.

$${\rm{micro}}(x,y)=\left\{\begin{array}{ll}1, & {\rm{cathode}}\\ 0, & {\rm{anode}}\end{array}\right.$$
(2)
Fig. 9: A representative cross-sectional microstructure featuring α-Al and Al-Si eutectic phases, modeled using the level-set function defined in Eq. (2).
Fig. 9: A representative cross-sectional microstructure featuring α-Al and Al-Si eutectic phases, modeled using the level-set function defined in Eq. (2).
Full size image

Cross-sectional microstructure of alloy A showing dendritic α-Al and network-like eutectic Al-Si phases. The geometry is implemented using a level-set function to distinguish cathodic and anodic regions for corrosion modeling, where the cathode is defined as 1 and the anode as 0.

The electrolyte potential field is governed by Ohm’s law, assuming a well-mixed and static electrolyte with negligible concentration gradients for simplicity. The relation between the electrolyte current density il and the electric potential ϕl is given by Eq. (3)50:

$${i}_{l}=-{\sigma }_{l}\nabla {\phi }_{l}$$
(3)

where σl is the constant (7.8S/m)3 electrical conductivity of the test electrolyte. Charge conservation within the domain requires the sum of currents to be zero:

$$\nabla \cdot {i}_{l}=0$$
(4)

This implies no accumulation of charge within the electrolyte domain. For all boundaries not in contact with electrodes, an insulation boundary condition is applied:

$$n\cdot {i}_{l}=0$$
(5)

where n is the normal vector pointing outward from the domain. These assumptions simplify the electrochemical transport model to a quasi-static, purely electrically driven system.

Electrochemical reactions are confined to electrode surfaces. The cathodic reaction here corresponds to oxygen reduction:

$${{\rm{O}}}_{2}+2{{\rm{H}}}_{2}{\rm{O}}+4\,{{\rm{e}}}^{-}\to 4{{\rm{OH}}}^{-}$$
(6)

Anodic reaction represents classical aluminum dissolution:

$${\rm{Al}}\to {{\rm{Al}}}^{3+}+3\,{{\rm{e}}}^{-}$$
(7)

The α-Al phase functions as a cathodic site in the micro-galvanic couple and does not participate in anodic dissolution. The reaction kinetics at both anodic and cathodic sites are defined in the first approximation by polarization curves. Electrochemical kinetics parameters were modeled using the polarization curves obtained from Wu et al.51 for eutectic Al-Si-Mg alloys and from Asrari et al.52 for pure Al, as shown in Fig. 10. The Boundary conditions integrate local current density with electrolyte potential through an interpolation function of polarization data ϕcathode and ϕanode, respectively:

$${i}_{cathode}=f({\phi }_{cathode}-{\phi }_{l})\times micro(x,y)$$
(8)
$${i}_{anode}=f({\phi }_{andoe}-{\phi }_{l})\times (1-micro(x,y))$$
(9)
Fig. 10: Potentiodynamic polarization curves for eutectic Al-Si alloy and pure Al in 3.5 wt% NaCl solution, adopted from51,54.
Fig. 10: Potentiodynamic polarization curves for eutectic Al-Si alloy and pure Al in 3.5 wt% NaCl solution, adopted from51,54.
Full size image

Potentiodynamic polarization curves reproduced from previous studies and used as electrochemical kinetic inputs for the simulations. Data were adapted from Wu et al. and Jahan et al.

The normal dissolution rate (interface velocity) of the anodic dissolution front Rc is calculated using Faraday’s law as:

$${R}_{c}=\frac{{i}_{loc{M}_{Al}}}{zF{\rho }_{Eutectic}}\times (1-micro(x,y))$$
(10)

where MAl is the average molar mass 26.98 g mol−1 of Al, ρ is the density (2700 kg m3) of the eutectic phase. iloc is the local current density of the electrode surface. z is the charge number of Al, F is the Faraday constant.

The evolution of the moving corrosion front is tracked using the level-set method, with the governing equation given by:

$$\frac{\partial \phi }{\partial t}+{R}_{c}\nabla \phi =\gamma \nabla \left(\varepsilon \nabla \phi -\phi (1-\phi )\frac{\partial \phi }{\left|\nabla \phi \right|}\right)$$
(11)

Here, the parameter ε is the interface thickness parameter, defined as ε = hmax/8, where hmax is the maximum mesh cell size in the domain. The reinitialization parameter γ is set to the maximum dissolution rate in the system. ϕ is the level-set function ranging from 1 (electrode) to 0 (electrolyte).