Regeneration-repair-strengthening mechanism in the oxidation film damage region of copper-nickel alloys under magnetic field effects Authors: Jiamu Wang, Ke Gong, Xiuqi Hu, Mingsi Yang, Yuanming Wang, Feixiong Mao, Liping Wang Published: 2025 ABSTRACT AbstractCopper-nickel alloy pipes in marine environments are prone to scouring by solid particles, which disrupt the bilayer film and induce scratches. These scratched regions are more vulnerable to perforation, potentially leading to premature pipe failure. Thus, rapidly repairing the film and restoring its corrosion resistance is a major challenge. This study simulates the “film damage-regeneration” process of copper-nickel alloys in marine environments, researching the regeneration of the film in scratched regions of a 70/30 Cu-Ni alloy in a 3.5 wt% NaCl solution, under both nonmagnetic and magnetic field conditions. The results demonstrate that the application of a magnetic field accelerates the initial regeneration of the film and the recovery of its corrosion resistance, and through synergistic interactions with the scratched microregions, it alters the local pH conditions, suppresses the re-deposition of Cu2O, and significantly enhances the enrichment of NiO on the surface of the regenerated film. Ultimately, a single-layer film structure with enhanced corrosion resistance is formed.Subject terms: Corrosion, Materials science Introduction Copper–nickel alloys are key materials for pipelines in marine environments due to their excellent thermal conductivity and resistance to seawater corrosion1–5. They are widely used in condenser and heat exchanger pipelines in coastal power plants and ships. Among these, the 70/30 Cu–Ni alloy demonstrates superior performance under extreme conditions3,4,6,7, making it particularly favored. The corrosion resistance of copper–nickel alloys in seawater is attributed to the formation of a bilayer protective film on their surface, particularly the inner film, which consists of Cu2O containing Ni element and NiO1,3,8. The addition of Ni reduces the concentration of cation vacancies in Cu2O, thereby enhancing its corrosion resistance. The presence of NiO further improves the electrical resistance, providing effective protection to the alloy substrate. In addition, several existing studies have proposed further strategies to enhance the corrosion resistance of copper–nickel alloys, including alloy modification and pre-formation of oxide films9–13. Alloy modification involves the introduction of trace elements to promote the rapid formation of a more stable and compact oxide layer during the early stages of service. Pre-formation techniques, such as pretreatment with sodium dichromate or ferrous sulfate, help to form a more protective oxide film before the material is placed into service. When the film remains intact, copper–nickel alloys exhibit exceptional corrosion resistance. However, Copper-nickel alloy pipelines, widely employed in practical applications, are frequently subjected to the erosive action of solid particles present in seawater. This process disrupts the protective film on the pipeline surface, resulting in the formation of scratches. Such scratched regions are significantly more susceptible to localized perforation, ultimately accelerating premature pipeline failure3,14–18. This damages the protective film on the surface, exposing the alloy substrate to the marine environment and significantly accelerating localized corrosion. At the same time, the regenerated protective film requires a long growth period to regain its corrosion resistance, during which it remains highly susceptible to further damage. This results in the gradual thinning of the alloy substrate in the scratched area, ultimately leading to perforation. Moreover, corrosion in a pipeline is “contagious”; once corrosion occurs at a certain point, it spreads rapidly, and if not repaired in time, it may cause more serious damage. Therefore, quickly and effectively restoring the integrity and corrosion protection of the protective film is a key challenge in extending the service life of pipelines. However, due to the complex structure of the pipelines and the prohibitively high financial burden of disassembly and handling, repairing the damaged protective film becomes exceedingly difficult. Moreover, there have been no reports of in-situ pipeline repairs. To address this issue, two potential solutions are proposed: one is to accelerate the regeneration of the protective film to enable self-repair, the other is to enhance the corrosion resistance of the regenerated film to balance the corrosion tendency between the damaged and undamaged areas. Consequently, the application of an external magnetic field as a noncontact conditioning method demonstrates the potential to achieve these goals simultaneously, providing an innovative solution for film repair. The effect of magnetic fields on metal electrochemical reactions has been extensively investigated in previous studies19–27. These studies primarily focus on the Lorentz force acting on moving charged particles and the magnetic field gradient force acting on paramagnetic particles23,28. Both forces can enhance material exchange, thereby influencing metal electrochemical reaction processes. However, the specific effects of the magnetic field are significantly influenced by experimental conditions—such as the magnetism and concentration of ions in the electrolyte, the type of metal, and the strength and orientation of the magnetic field and may even produce two completely opposite outcomes: “decelerating reaction” or “enhancing reaction”. Existing research mainly focuses on the impact of magnetic fields on the corrosion of iron alloys, stainless steels, and aluminum alloys, while the effects on copper-nickel alloys have not yet been explored. Notably, according to our preliminary experimental results (Supplementary Figs. 1, 2, and 3), a perpendicular magnetic field can significantly accelerate the formation of a protective film on 70/30 Cu-Ni alloy, endowing it with superior corrosion resistance. Furthermore, when the pipeline’s film is damaged and scratched, the uniformity of the localized induced magnetic field is disrupted, creating a gradient magnetic field accompanied by a gradient in magnetic energy29. The 70/30 Cu–Ni alloy contains approximately 30% Ni, and Ni2+ exhibits significant paramagnetism, which may further influence the regeneration process of the film in the scratched area in response to the gradient magnetic field, thereby enhancing the local repair effect. In summary, influencing the mass transfer of substances by applying a magnetic field offers a viable approach for achieving in-situ repair of protective film on copper–nickel alloy pipelines. Herein, we systematically investigated the regrowth behavior of 70/30 Cu-Ni alloy film regenerated in scratched areas under both nonmagnetic and 0.1 T magnetic field conditions in a 3.5 wt% NaCl solution, simulating the “film damage-regeneration” process in marine environments. Under the application of a magnetic field, the regrowth rate of the film in the scratched area was significantly accelerated, and its corrosion resistance was notably enhanced. Further TEM, X-ray photoelectron spectroscopy (XPS), and Raman spectroscopy analyses indicated significant changes in the structure and composition of the regenerated film under the magnetic field, forming a unique single-layer film structure with the enrichment of NiO on the surface. The formation of this surface NiO-enriched single-layer film structure is closely related to the coupling effect between the magnetic field and the microenvironment of the scratch area. Additionally, we elucidated the regeneration mechanism of the 70/30 Cu–Ni alloy film under the combined influence of the magnetic field and the scratched microenvironment. This study provides a feasible approach for in situ repair of copper–nickel alloy pipeline film, with significant implications for the sustainable use of marine infrastructure in the future. Results Figure 1a shows the SEM image of the film regenerated in the scratched area under nonmagnetic conditions. Some particulate products are observed on the surface of the regenerated film. At 1 day, the particulate products are small and present only in specific regions of the film. As the regeneration time increases, the particulate products gradually cover the entire surface, and their size increases, stabilizing at day 7 (Supplementary Fig. 4), with little subsequent change. Figure 1b shows the SEM image of the regenerated film in the scratched area under a 0.1 T magnetic field. Compared to the regenerated film produced under nonmagnetic conditions, the film surface remains relatively smooth, free of particulate deposits, and exhibits no noticeable changes even as the regeneration time is extended. Energy-dispersive X-ray spectroscopy (EDS) analysis (Supplementary Fig. 5) reveals an enrichment of Cl elements in the areas with particulate products, while the film regenerated under the magnetic field shows an enrichment of Ni elements. Therefore, it can be inferred that the particulate products on the film under nonmagnetic conditions may primarily consist of the outer film formed by basic copper chloride in the duplex protective film of copper–nickel alloy, while the film regenerated in the presence of the magnetic field consists mainly of the inner film, and the result was further confirmed in the later tests. This difference may be attributed to the effect of the magnetic field. Evolution of film regenerated in scratched regions under different magnetic field conditions. a, b Time-dependent morphology of film regenerated under nonmagnetic and 0.1 T magnetic field conditions in the scratched area. c, d Changing trends of SVET current density maps in the scratched area over time under both nonmagnetic field and 0.1 T magnetic field conditions, respectively (the calculation method for ΔJ is as described in the “Methods” section). Figure 1c shows the SVET test image of the regenerated film in the scratched area under nonmagnetic conditions. In Fig. 1c, a clear reaction signal is observed at the scratch, with a sharp and wide current peak. At the beginning of film regeneration, the peak current density difference between the scratched region and the surrounding area was 51 μA cm−2. As regeneration progressed, this difference gradually decreased to 32 μA cm−2. After 9 days, the peak current density difference further declined to 10 μA cm−2. Combined with the SEM results, as the regeneration time increases, the film gradually grows and stabilizes, and the trend of the electrochemical reaction weakens. However, compared to the surrounding area, the current density at the scratch remains higher, indicating that it still exhibits a higher tendency for electrochemical reaction30,31. Figure 1d presents the SVET test image of the regenerated film under a 0.1 T magnetic field. At the initial stage of regeneration, a reaction signal is observed at the scratch, but the difference in current peak density (19 μA cm−2) is much lower than that of the sample under nonmagnetic conditions. As regeneration progresses, the current peak density difference gradually decreases from 19 μA cm−2, with the reaction signal becoming negligible after 5 days. After 9 days of regeneration, the current density in the scratched region decreased to below that of the surrounding areas, with a difference of −5 μA cm−2. This indicates that the regenerated film shows better corrosion resistance than the adjacent film, with a marked reduction in the tendency for electrochemical reactions. The application of a magnetic field is shown to not only accelerate film growth in the scratched area but also significantly enhance its corrosion resistance. Figure 2a shows the Raman spectra of the film regenerated for 1 day under both nonmagnetic and magnetic conditions. As shown, the frequency shifts of the main peaks in the spectra are indicated. After 1 day, the Raman measurements under nonmagnetic conditions detected Cu2O (peaks at 151 cm−1 and 411 cm−1), NiO (peak at 544 cm−1), Cu2(OH)3Cl (peaks at 362 cm−1, 512 cm−1, and 892 cm−1), and γ-FeOOH (peak at 525 cm−1). Notably, (Cu, Ni) 2(OH)3Cl (peaks at 124 cm⁻¹ and 942 cm−1) was also detected in the Raman spectra1,6. In contrast, for the film regenerated under a 0.1 T magnetic field for one day, only Cu2O (peak at 151 cm−1), NiO (peak at 544 cm−1), and γ-FeOOH (peak at 525 cm−1) were detected. Composition and structure of film regenerated for 1 day in scratched regions under different magnetic field conditions. a Raman spectral of the film regenerated in the scratch region under nonmagnetic and 0.1 T magnetic field conditions. b Cu 2p spectral of the film regenerated in the scratch region under nonmagnetic and 0.1 T magnetic field conditions. c Ni 2p3/2 spectral of the film regenerated for in the scratch region under nonmagnetic and 0.1 T magnetic field conditions. d, e The TEM image and elemental mapping of the film regenerated under both nonmagnetic field and 0.1 T magnetic field conditions, respectively. Figure 2b presents the XPS Cu 2p spectra of the film regenerated for one day under both nonmagnetic and magnetic conditions. Given that the Cu (II) state can easily be reduced to Cu(I) or metallic Cu under Ar ion sputtering, the Cu 2p measurements were performed without sputtering. Under nonmagnetic conditions, the regenerated film exhibited a strong Cu 2p3/2 peak at 935 eV, accompanied by shake-up features at 943 eV and 962.5 eV for Cu 2p3/2 and Cu 2p1/232, respectively. These peaks match the characteristic pattern of copper hydroxy chloride33, consistent with the Raman spectra in Fig. 2a, indicating the presence of Cu2(OH)3Cl on the outer surface. Furthermore, a characteristic peak is observed at 932.5 eV. Based on the Raman results, this peak corresponds to the characteristic peak of Cu2O. In contrast, under a 0.1 T magnetic field, the film regenerated for one day displayed a strong Cu 2p3/2 peak at 932.5 eV, with no satellite peaks of Cu2+ around 943 eV. This suggests the presence of Cu2O on the surface of the sample after one day of regeneration under a magnetic field, without any Cu2+ material, as further confirmed by the Raman spectra in Fig. 2a Due to limited information from the XPS Ni 2p spectra (Supplementary Fig. 6), additional testing was performed post-sputtering (Fig. 2c). Film regenerated for 1 day under both nonmagnetic and magnetic conditions contain NiO30. After 60 s of sputtering, both NiO and metallic Ni were detected. Notably, in the film regenerated under the 0.1 T magnetic field, the NiO to Ni ratio was higher, approximately 3:1, compared to 0.85:1 in the nonmagnetic condition. This suggests that at this sputtering depth, the film regenerated under a magnetic field contains a higher NiO content, indicating that the magnetic field environment promotes NiO formation, thereby accelerating the regeneration process of the inner film. Figure 2d, e present the TEM and EDS elemental distribution maps of the film regenerated for one day under both conditions, prepared using FIB technology. As shown in Fig. 2d, the film regenerated under nonmagnetic conditions for 1 day exhibits a bilayer structure. However, it displays distinct features of nonuniform thickness, distinct interfacial undulations, and incomplete coverage of the outer layer in certain regions. This morphology aligns with the observation of incomplete granular product coverage shown in Fig. 1a. This morphological imperfection can be attributed to the insufficient regeneration duration. Furthermore, combined with SAED and HRTEM imaging (Supplementary Fig. 7), the film is primarily composed of amorphous matrices doped with nanocrystalline Cu₂O, NiO, and Cu2(OH)3Cl. These findings are consistent with the results obtained from Raman spectroscopy and XPS analysis. Figure 2e shows the morphology and EDS elemental distribution of the film regenerated for one day under a 0.1 T magnetic field. TEM result reveal that the film regenerated under a 0.1 T magnetic field has a single-layer film structure. Compared to the nonmagnetic condition, the film is thicker, more uniform, and exhibits less pronounced interface undulations, with the substrate fully covered by the film, which remains primarily composed of amorphous Cu2O and NiO. Combined with the results from Fig. 2c, these observations further confirm that the application of a magnetic field accelerates the regeneration process of the film. In addition, there is a slight shift in the EDS results for oxygen, which may be due to the diffusion of some oxygen into this area. Figure 3a presents the XPS Cu 2p spectra of the film regenerated for 5 days under both nonmagnetic and magnetic conditions. Under nonmagnetic conditions, the regenerated film contained Cu2(OH)3Cl, as evidenced by the Cu 2p3/2 peak at 935 eV and shake-up features at 943 eV and 962.5 eV for the Cu 2p3/2 and Cu 2p1/2 peaks, respectively. Notably, in contrast to the film regenerated for 1 day, the characteristic peak of Cu2O at 932.5 eV was significantly weakened. Composition and structure of film regenerated for 5 days in scratched regions under different magnetic field conditions. a Cu 2p spectral of the film regenerated in the scratch region under nonmagnetic and 0.1 T magnetic field conditions. b Ni 2p3/2 spectral of the film regenerated for in the scratch region under nonmagnetic and 0.1 T magnetic field conditions. c TEM image, elemental mapping of the film regenerated film under nonmagnetic. d High-resolution TEM image of the film regenerated film under nonmagnetic e TEM image, elemental mapping of the film regenerated film under 0.1 T magnetic. f HADDF image and High-resolution TEM image of the film regenerated film under 0.1 T magnetic. g Double aberration-corrected scanning transmission electron microscopy (STEM) image and FFT results of the nanoscale crystalline region on the surface of the regenerated film. In contrast, the film regenerated for 5 days under a 0.1 T magnetic field exhibited a strong Cu 2p3/2 peak at 933.5 eV, with shake-up features at 942 eV and 962.5 eV for the Cu 2p3/2 and Cu 2p1/2 peaks, indicating the formation of Cu2+ species. Unlike the nonmagnetic condition, a distinctive Cu2+ shake-up peak at approximately 942.5 eV was observed, identified as a CuO-related feature34. According to standard spectra (Supplementary Fig. 8), the satellite peak of CuO displays a V-shaped peak top, which contrasts with the peak shape of copper hydroxy chloride, confirming the presence of CuO in the film regenerated under the magnetic field after 5 days, with additional Cu2O features observed at 932.5 eV. Figure 3b shows the XPS Ni 2p spectrum of the film regenerated for 5 days under a 0.1 T magnetic field after 60 s of sputtering, revealing the presence of only NiO, with no metallic Ni detected. Figure 3c presents the TEM and EDS elemental distribution maps of the film regenerated for 5 days under nonmagnetic conditions. As the regeneration time increased, the film transitioned into a bilayer structure, as shown in Fig. 3b SAED, EDS and HRTEM analysis revealed that the inner film primarily consisted of amorphous and nanocrystalline Cu2O and NiO. The outer film primarily consisted of Cu2O and Cu2(OH)3Cl, with Cu2O mostly in an amorphous form, along with a few nanocrystals, while Cu2(OH)3Cl appeared mainly as nanocrystals (Supplementary Fig. 9). Notably, a mixture of amorphous Cu2O and nanocrystalline Cu2(OH)3Cl is also present in the middle region of the outer membrane and at the interface between the inner and outer film, rather than, as reported by other researchers, the basic copper chloride being confined only to the top few nanometers of the outer membrane. Furthermore, EDS revealed Cu and Cl-rich particulate materials in both the inner and outer film. However, these particles degraded quickly under electron irradiation, preventing accurate analysis (Supplementary Fig. 9). The rapid degradation of these materials under electron irradiation is consistent with the properties of CuCl, which is a common intermediate product in the growth of copper-nickel alloy oxide film (Eq. 2). Therefore, it is hypothesized that this material may be unreacted CuCl. In contrast, the film regenerated for 5 days under a 0.1 T magnetic field retained a single-layer film structure and lacked the outer film of Cu2(OH)3Cl and Cu2O. HRTEM imaging combined with FFT and SAED precise analysis indicates that the film is primarily composed of copper oxide, copper oxide, and nickel oxide, which exist mainly in an amorphous form with some nanocrystalline content. A significant accumulation of copper-rich nanocrystals is found in the middle region of the film, with high-resolution imaging showing that the nanocrystalline particles are primarily CuO. Additionally, a notable enrichment of nickel and iron is observed on the outer surface of the film (Supplementary Fig. 10). In the HRTEM image, a white particle line is visible on the outermost surface. High-resolution image and EDS (Supplementary Fig. 11) combined with the results from Fig. 3e, f reveal an enrichment of Ni and O in this region, suggesting that these white particles may be NiO. Since conventional transmission electron microscopy cannot resolve particles of such small sizes, we characterized the white particle region using a double-aberration-corrected transmission electron microscope. The Fig. 3g results indicate that the white particles are tiny NiO nanocrystals. This distinct morphology contrasts with previous studies, which typically report that nickel oxide is mainly located at the interface between the inner membrane and substrate. Furthermore, film regenerated under nonmagnetic conditions did not show any surface enrichment of nickel or iron, suggesting that the enrichment of these elements on the surface may be due to the influence of the magnetic field. When the film was regenerated for 9 days, the main components under both magnetic field conditions did not show significant changes compared to those regenerated for 5 days. As shown in Fig. 4a, the film regenerated under nonmagnetic conditions still contained Cu2O, Cu2(OH)3Cl, γ-FeOOH, and (Cu,Ni)2(OH)3Cl as detected by Raman spectroscopy. The film regenerated for 9 days under a 0.1 T magnetic field exhibited no significant changes in the main components compared to those regenerated for 5 days under the same magnetic field, except for Cu2O (peaks at 297 cm−1 and 411 cm−1), NiO (peak at 544 cm−1¹), and γ-FeOOH (peak at 525 cm−1). Additionally, a distinct CuO peak at 218 cm⁻¹ was also detected35. Composition and structure of film regenerated for 9 days in scratched regions under different magnetic field conditions. a Raman spectral of the film regenerated in the scratch region under nonmagnetic and 0.1 T magnetic field conditions. b Cu 2p spectral of the film regenerated in the scratch region under nonmagnetic and 0.1 T magnetic field conditions. c Ni 2p3/2 spectral of the film regenerated for in the scratch region under nonmagnetic and 0.1 T magnetic field conditions. d TEM image, elemental mapping of the film regenerated film under nonmagnetic. e High-resolution TEM image of the film regenerated film under nonmagnetic f TEM image, elemental mapping of the film regenerated film under 0.1 T magnetic. g High-resolution TEM image of the film regenerated film under 0.1 T magnetic. The results in Fig. 4b, c are similar to those in Fig. 3a, b for the film regenerated for 5 days. The results in Fig. 4d, e showing that after 9 days of regeneration, the interface between the inner membrane and the substrate remains significantly uneven, while the inner membrane exhibits minimal changes, still being primarily composed of amorphous and nanocrystalline Cu2O and NiO. The thickness of the outer film increased significantly. Notably, in the outer film, the number of Cu2(OH)3Cl nanocrystals increases significantly, so much so that the central region of the outer film is completely composed of Cu2(OH)3Cl nanocrystals. The number of Cu2(OH)3Cl nanocrystals at the interface between the inner and outer film also increases, indicating that, with extended regeneration time, the originally amorphous Cu2O in the outer film gradually transforms into Cu2(OH)3Cl nanocrystals. Figure 4f, g shows the results for the film regenerated for 9 days under a 0.1 T magnetic field. The film retains a single-layer film structure and continues to thicken. The composition still consists of Cu2O, CuO, and NiO, but the number of nanocrystals has decreased, with the film being primarily in an amorphous state. Moreover, the Cu elemental distribution in the regenerated film after 9 days was uniform, and no significant accumulation of CuO nanocrystals, which were observed in the regenerated film after 5 days, was detected in the middle of the film. Only a small amount of CuO nanocrystals was found in the Cu-enriched regions. The Ni- and Fe-enriched zones were further enlarged, with the highest surface enrichment forming a distinct enrichment line (Supplementary Fig. 13). A small amount of NiO nanocrystals was also observed at high resolution. However, the white granular line consisting of small NiO nanocrystals on the surface, as shown in Fig. 3f, was not observed, likely due to the transformation of the NiO nanocrystals into an amorphous state. Discussion This study systematically investigated the regeneration process of thin films in the scratch-damaged regions of copper-nickel alloys under both no magnetic field and 0.1 T magnetic field conditions, and conducted comprehensive characterization and analysis of their structural composition and corrosion resistance. The main findings of the study include: 1. Under the coupled effect of the magnetic field and the scratch microenvironment, a single-layer regenerated film with unique structural characteristics was formed. 2. The applied magnetic field significantly accelerates the regeneration rate of the oxide film in the damaged region and the recovery of corrosion resistance, achieving rapid repair. To gain deeper insight into the specific influence of the magnetic field on the regeneration mechanism of the film in the scratched region, this paper provides a systematic and detailed discussion of the regeneration processes under both nonmagnetic and applied magnetic field conditions in the following sections. Film regeneration mechanisms under nonmagnetic conditions During the initial reaction stage, when the protective film is damaged, exposing the metal surface, copper dissolves as Cu+, accompanied by the dissolution of Fe and Ni, as shown in Fig. 5a. These ions then combine with Cl− in the solution to form the copper(I) chloride anion CuCl2−. This process represents the primary dissolution mechanism of copper-nickel alloys in seawater and sodium chloride solutions, as described by the following Eqs. (1)–(3)1,6,36. With the primary cathodic process being the oxygen evolution Eq. (4): Microenvironmental dynamic change in the scratch region and film regeneration mechanisms under different magnetic field conditions. a–c Microenvironmental dynamic change under nonmagnetic magnetic field conditions. d Film regeneration mechanisms under nonmagnetic field conditions. e–g Microenvironmental dynamic change under 0.1 T magnetic field conditions. h Film regeneration mechanisms under 0.1 T magnetic field conditions. As the reaction progresses, oxygen is gradually consumed, and replenishment in the scratched area becomes difficult, leading to a decrease in oxygen concentration, which in turn slows the Eq. (4). This explains why film regrowth is slower at the beginning of the reaction. However, as the reaction continues, an oxygen concentration gradient forms between the inside and outside of the scratch, creating an oxygen concentration cell that accelerates the anodic Eq. (1) occurring in the scratched microregion. This acceleration increases the dissolution of copper, resulting in the accumulation of metal cations such as Cu+. In seawater, Cu+ will combine with Cl- to form CuCl2−, which is promoted to undergo hydrolysis as the concentration of CuCl2− increases, forming Cu2O and generating numerous hydrogen ions (Eq. (5)). Cu2O is thermodynamically unstable and can easily be oxidized to CuO or Cu2(OH)3Cl on the surface of the film, as shown by Eqs. (6) and (7): The key difference between these two equations lies in the pH level: based on thermodynamics, Eq. (6) occurs under acidic conditions, while Eq. (7) takes place under alkaline conditions37,38. In the scratched micro-region, ion exchange is significantly hindered, reducing the efficiency of material transfer to and from the damaged area. This localized sealing effect causes a continuous accumulation of H+ ions, leading to a decrease in pH and the formation of an acidic environment, thereby favoring the predominance of Eq. (6) in the re-oxidation of Cu2O, as shown in Fig. 5b. Additionally, the acidification within the pores of the film may lead to the dissolution of CuO, resulting in the formation of Cu2(OH)3Cl37,38, as shown in Eq. (8): To further prove the above film formation mechanism, we also conducted a thermodynamic analysis from the perspective of thermodynamic dissolution/precipitation tendencies39, and the results were consistent with the above film formation process (Supplementary Table 2 and Supplementary Fig. 14). Other studies have shown that as reaction time increases, a complete film of Cu2O forms on the substrate surface. Cu ions and electrons must migrate through the Cu2O film, and the film growth process shifts from the dissolution and formation of Cu2O described in Eqs. (1)–(4) and (5) to a relatively slow inward oxidation process. The inner Cu2O film formed by inward growth with a slow rate is more compact and hence more protective than the outer Cu2O film formed by reprecipitation from dissolved species1,6,38. The overall reaction for the inward growth of Cu2O can be represented by Eq. (9): However, in this study, during the early stages of film regeneration, experimental results revealed the presence of the inner film even in regions where the outer film was absent. This indicates that, in the early stages of the reaction, the formation of Cu2O occurs via Eq. (5) and (9) simultaneously, rather than sequentially. At the same time, nickel oxide also forms within the inner film, and its formation mechanism has been studied6, so we shall not elaborate further here. Notably, other studies have shown that after copper-nickel alloys are immersed in seawater, the inner film of the film is primarily composed of Cu2O and nickel oxides, while the outer film mainly consists of Cu2(OH)3Cl and Cu2O, and Cu2(OH)3Cl is predominantly found at the interface between the outer film and the solution1,6,38. As shown in Supplementary Fig. 15, TEM analysis of the film after 5 days of immersion for the un-scratched samples is consistent with the findings of previous studies. However, in this study, TEM results for the regenerated film in the scratched region reveal that a significant amount of Cu2(OH)3Cl nanoparticles are still present at the interface between the inner and outer layers, as well as in the middle of the outer layer. Moreover, the distribution of Cu2(OH)3Cl increases significantly throughout the outer layer as the regeneration time progresses (Supplementary Figs. 9 and 12). This may be due to the localized pH drop in the scratched area as the reaction progresses, gradually intensifying the acidic environment. As a result, Cu2O in the outer film continuously transforms into Cu2(OH)3Cl. Due to the inferior corrosion resistance of Cu2(OH)3Cl, the transformed film no longer provides adequate protection, thereby promoting the further conversion of Cu2O to Cu2(OH)3Cl, as shown in Fig. 5c. As the proportion of Cu2(OH)3Cl in the outer layer increases, the corrosion resistance progressively declines, while Cu2O at the interface of the inner and outer films gradually transforms into Cu2(OH)3Cl. As the thickness of the inner film decreases, Cu+ ions and electrons are more easily transported, accelerating the oxidation process toward the substrate and resulting in inward progression of corrosion. This phenomenon explains why, in the later stages of film regrowth, the thickness of the outer film increases significantly, while the inner film undergoes relatively little change, the overall mechanism of the reaction is shown in Fig. 5e. This process may also elucidate why copper–nickel alloy pipelines often experience corrosion-induced perforations before reaching their expected service life. When the interior of these pipelines is compromised by sandstone or localized pitting, conditions similar to those at a scratch site can develop, triggering the corrosion process described above and ultimately leading to perforation failure. Film regeneration mechanisms under the synergistic influence of magnetic fields and scratch microenvironments The effect of the magnetic field on the regeneration of the film is mainly influenced by the Lorentz force and the magnetic field gradient force. These forces affect the mass transfer kinetics and thus the regeneration of the film. The Lorentz force, denoted as FL, arises from the interaction between the magnetic field and the current, and can be mathematically expressed as Eqs. (10) and (11): Where E→ is the electric field, J→ represents the current density, q is the conductivity, and B→ is the magnetic field. When charged particles move in the magnetic field, the Lorentz force deflects their trajectory, initiating Magnetohydrodynamic (MHD) effects. This effect is equivalent to the stirring effect of the solution, its influence can reduce the thickness of the diffusion layer, thereby accelerating the mass transfer process of the solute. The reduction in thickness increases the supply of active substances, leading to an increase in the mass transfer limiting current. Additionally, MHD convection accelerates the renewal of the liquid, resulting in a decreased ion concentration gradient at the electrode surface40, which makes interfacial charge transfer more active and consequently speeds up the dissolution rate of Cu, Ni, and Fe atoms in the metal matrix, as represented by Eqs. (1), (12), and (13): Furthermore, the MHD effect promotes the mass transfer of reactants such as oxygen, facilitating the entry of oxygen into the scratch micro-region and thereby accelerating the cathodic reaction. Consequently, the magnetic field accelerates the kinetics of the electrochemical reaction through the aforementioned processes, thus accelerating the cathodic reaction, as shown in Fig. 5e. The Lorentz force accelerates the initial formation of the Cu2O film during the early stages of regeneration. However, as the film regenerates, the current density gradually decreases, reducing the effect of the Lorentz force during the later stages of the reaction. The magnetic field gradient force, denoted as F→B, can be expressed by Eq. (14): Where μ₀ represents the magnetic permeability in vacuum, χm is the molar magnetic susceptibility of the material in the solution, and c is the concentration. The presence of scratches disturbs the uniformity of the magnetic field in the region, creating a magnetic field gradient, which increases the magnetic flux density in the scratched region24,26,41. Oxygen molecules are paramagnetic due to the presence of two unpaired electrons in their molecular orbitals. Similarly, Ni2+ ions exhibit paramagnetism as a result of their [Ar] 3d⁸ electron configuration, where two unpaired electrons in the 3d orbital generate a magnetic moment through electron spin. Fe2+ ions, with an electron configuration of [Ar] 3d⁶, contain four unpaired electrons, also making them strongly paramagnetic. In contrast, diamagnetic species such as Cu+ and CuCl₂− possess completely filled electron orbitals with all electrons paired. When subjected to an external magnetic field, these paired electrons produce an induced magnetic moment that opposes the applied field, resulting in a repulsive magnetic effect. Consequently, diamagnetic species tend to migrate toward regions of lower magnetic flux density. The resulting magnetic field gradient exerts a directional force: paramagnetic species such as Ni2+, Fe2+, and O2 are driven toward regions of higher magnetic flux density (i.e., the scratched area), while diamagnetic species such as Cu+ and CuCl₂− are repelled toward lower flux density zones (i.e., away from the surface), as illustrated in Fig. 5f. Moreover, to further validate the aforementioned process, we conducted COMSOL simulations to model the magnetic flux density distribution and the migration behavior of key species in the scratched region. The results, as shown in the supplementary material, are consistent with the descriptions provided above (Supplementary Figs. 16, 17 and Supplementary Movie 1). Under the combined influence of the magnetic field gradient and Lorentz forces, the ions exchange and oxygen influx into the scratched region are accelerated, thereby enhancing the initial regeneration rate of the film. Furthermore, this mechanism prevents the formation of an oxygen concentration cell, which would otherwise lead to a decrease in pH. As the regeneration time increases, paramagnetic cations such as Ni2+ and Fe2+ accumulate significantly in the scratched region under the influence of the magnetic field gradient force. Local charge compensation occurs, and negative ions such as OH− and Cl− are drawn into the scratched region, while positive ions like Cu+ and H+ are repelled, as shown in Fig. 5g. On one hand, this effect hinders the formation of Cu2O by the redeposition of Cu+ through Eqs. (1)–(3) and (5), leading to film regeneration under the influence of the magnetic field primarily driven by Eq. (9). Consequently, the regenerated film exhibits a single-layer film structure composed solely of the inner film; on the other hand, it induces an increase in OH- concentration and a decrease in H+ concentration within the scratched region, thereby raising the pH in that area. According to the thermodynamic equilibrium diagram37, under alkaline conditions, the re-oxidation of Cu2O is primarily driven by Eq. (7), where Cu2O is more likely to transform into CuO rather than Cu2(OH)3Cl. Cu2(OH)3Cl is unstable in environments with pH > 7 and dissolves. This explains why the regenerated film under a 0.1 T magnetic field exhibits a monolayer structure, which is essentially the inner layer of the original bilayer film—lacking Cu2(OH)3Cl but containing traces of CuO. Consequently, the film regenerated under these conditions is more compact, exhibiting enhanced corrosion resistance and reduced surface roughness. Furthermore, existing studies on NiO in copper–nickel alloys indicate that NiO is primarily distributed within the inner layer of the film, with a notable enrichment at the substrate/film interface. NiO is generally regarded as playing a passivating role, contributing significantly to the high electrical resistance of the film. In this study, however, under magnetic field conditions, the regenerated film in the scratched region not only forms a single-layer film structure composed solely of the inner layer but also exhibits an enrichment of nickel oxide at the film interface/solution boundary. In this study, the formation of NiO may occur via two pathways. On the one hand, at the Cu2O film/solution interface, Cu+ cations dissolve from the Cu2O film into seawater, resulting in the formation of cation vacancies within the Cu2O film, as shown in Eq. (15)42. Where CuCu× (ox) is a copper cation in a regular site of the oxide film, Cu+ (aq) is a dissolved Cu+ ion in seawater, and V′Cu(ox) is a negatively charged cation vacancy in the Cu2O film. In contrast, the dissolution rate of Ni in the oxide film is relatively slow, and according to Fick’s law, the surface-enriched Ni2+ further hinders the dissolution of Ni. As Ni accumulates in the film, high concentration of Ni occupies the cation vacancies in Cu2O1,2,38. Additionally, the significant accumulation of Ni2+ at the film/solution interface may also enter the film, occupying the cation vacancies within Cu2O. The electrons generated in this process will recombine with the holes. Meanwhile, holes will annihilate with the electrons produced. This process can be represented by the Eqs. (16)–(18)1,6. Where Ni(m) is a nickel atom in a regular metal site, and NiCu′ox is a positively charged nickel cation in the cation site of the Cu2O film, and hox is a positively charged electron hole in the film. This process reducing the cation vacancies concentration, and consequently enhances the corrosion resistance. Furthermore, in localized regions where the Ni concentration reaches a certain threshold, Cu2O may transform into amorphous or microcrystalline NiO1. On the other hand, the accumulation of Ni2+ and OH− ions on the scratch surface may promote the formation of NiO on the outer surface32. This process is described by Eqs. (19) and (20)43: This explains why surface nickel enrichment was observed in the TEM and EDS analyses. The enriched NiO film at the surface significantly improved the corrosion resistance of the oxide film, greatly reducing its tendency to corrode. A surface-enriched NiO single-film structure has not been reported in studies of copper–nickel alloys. The overall mechanism of the reaction is shown in Fig. 5h. Similarly, Fe in the matrix also dissolves into Fe2+, and the accumulation of Fe2+ promotes the Eqs. (21)–(23), ultimately forming “γ-FeOOH.” This result can be obtained from Raman characterization, and the sample under the magnetic field also exhibits Fe element enrichment on the surface in EDS. The enrichment of Fe elemental observed in the TEM and EDS analyses further supports the influence of the magnetic field on the paramagnetic ions. Since the content of iron in the substrate is limited, and its products have little effect on improving the corrosion resistance of thin films, we only discuss its impact on the environment and the reaction, and its reaction products are not shown in the mechanism diagram. In previous studies on the effect of magnetic fields on metal oxide films, the magnetic field typically only affects the density and roughness of the oxide film, and no reports have shown that a magnetic field can directly alter the structure of the oxide film. Therefore, we believe that the structural changes observed in this study are caused by the combined effect of the scratching environment and magnetic field. To further verify this conclusion, we also conducted immersion experiments on the un-scratched 70/30 Cu–Ni alloy under a magnetic field (Supplementary Figs. 18 and 19), and found that its structure remained bilayer. This further confirms that the results obtained from this study were due to the combined effect of the scratching environment and the magnetic field. Moreover, although the accelerating effect of the magnetic field on film regeneration has been thoroughly discussed in this study, it is important to note that in certain electrochemical systems, magnetic fields may also induce inhibitory effects. For example, the Lorentz force can accelerate electrochemical reactions by inducing MHD convection. In this study, such an effect facilitated the initial stage of film regeneration. In systems with confined geometries, such as occluded corrosion pits (OEPs), corrosion processes mainly rely on the localized accumulation of H⁺ and Cl− ions to sustain autocatalytic reactions44. However, MHD-induced convection may dilute the concentration of these autocatalytic species at the pit bottom, reduce local acidity, and thereby suppress the autocatalytic corrosion process, ultimately slowing down the reaction rate. Whether the effect of magnetic gradient force leads to an acceleration or deceleration of the corrosion process depends on the magnetic properties of the metal and its reactants. Reactants with different magnetic susceptibilities—paramagnetic or diamagnetic—tend to migrate in opposite directions under a magnetic gradient. For example, in studies on the inhibition of pitting corrosion in ferromagnetic metals under a magnetic field, the magnetic permeability of the ferromagnetic material is much higher than that of the surrounding medium, causing magnetic flux lines to locally concentrate near the alloy surface and form a significant magnetic gradient. Typically, the magnetic induction is stronger near the edges, driving reactants out of the pit, which reduces their concentration inside the pit, slows down the reaction rate, and thus achieves corrosion inhibition45. In the present study, the 70/30 copper–nickel alloy is not a ferromagnetic metal. The observed magnetic gradient force arises from geometric discontinuities that lead to the accumulation of magnetic flux density in the scratched region, forming a zone of high magnetic flux. Under the influence of this gradient magnetic force, oxygen is promoted to migrate toward the scratch area, accelerating the regeneration of the oxide film. At the same time, the re-deposition of copper oxides is suppressed, promoting direct oxidation and resulting in a denser, single-layer film structure. Additionally, the enrichment of Ni2+ in the regenerated region facilitates the doping of Ni into Cu2O and the formation of NiO, thereby improving the corrosion resistance of the film. Moreover, the increase in pH caused by the charge-compensation effect effectively inhibits the transformation of Cu2O into Cu2(OH)3Cl, a less corrosion-resistant compound, further enhancing the protective performance of the regenerated film. In addition, to evaluate the long-term stability of the regenerated film, we conducted extended immersion tests, which demonstrated that the film formed under an applied magnetic field maintained favorable corrosion resistance even after prolonged exposure (Supplementary Figs. 19 and 20). Furthermore, to validate the broader applicability of the magnetic field’s effect on film regeneration in damaged regions, we performed supplementary experiments under varying temperatures, magnetic field strengths and the sharpness of the scratches. Although some differences were observed under different conditions, the role of the magnetic field remained consistent with the mechanisms discussed above (Supplementary Figs. 21–26). In summary, the application of a perpendicular magnetic field accelerates the regrowth of the oxide film in the scratched region through the synergistic effects of the Lorentz force and the gradient magnetic force. Furthermore, the gradient magnetic field’s influence on paramagnetic species facilitates the formation of a unique single-layer film structure in the scratched area, with a pronounced enrichment of Ni element and NiO on its surface, significantly enhancing the corrosion resistance of the regenerated film. Based on these findings, we propose that the application of a magnetic field is an effective method for the in-situ repair of copper-nickel alloy pipelines, offering significant implications for the long-term durability and sustainability of marine engineering infrastructure. Methods Copper-nickel alloy sample preparation The commercial 70/30 Cu–Ni alloy was used in this test, and the chemical composition of the alloy is shown in Supplementary Table 2. The size of the specimen was 10 mm × 10 mm × 3 mm block, and the electrochemical specimen were soldered with copper wires, and then the samples were sealed with epoxy resin, leaving the working surface of 10 mm × 10 mm. Samples were first ground using a series of sandpapers (grit sizes: 400#, 600#, 800#, 1200#, 1500#, 2000#), then mirror polishing treatment was performed using 0.25 μm monocrystalline diamond suspension, after rinsing with deionised water, the samples were degreased in acetone in ultrasonic bath, then removed and dried in a desiccator. Copper-nickel alloy oxide film and the preparation of scratches The polished 70/30 Cu–Ni alloy was immersed in a 3.5 wt% NaCl solution at 25 °C for 14 days. Once the oxide film on the alloy surface had fully grown and stabilized, a scratch was made on the oxide film using a scratch tester, exposing the metallic substrate and ensure the consistency of the scratch depth. The final step of the experiment was to reimmerse the sample in the 3.5 wt% NaCl solution to simulate the regeneration process of the oxide film. Magnetic field devices In this study, the magnetic field was applied using a setup assembled and fixed with commercially available neodymium magnets, as schematically illustrated in the Supplementary Fig. 1. The sample orientation was precisely adjusted to be perpendicular to the magnetic field direction, and the magnetic field strength at the sample surface was maintained at 0.1 T using a Gauss meter. Material characterizations The sample morphology was examined using a Zeiss Sigma 300 field-emission scanning electron microscope (SEM) operated at an accelerating voltage of 3 kV. Elemental composition was determined by EDS at 15 kV. XPS measurements were performed with an AXIS SUPRAX XPS system, the signals were collected after sputtering for 0 and 60 s. All the binding energies in the XPS analysis were calibrated by C 1s signal at 284.8 eV and fitted with Avantage (version 6.9) software. Raman spectroscopy was conducted using a Renishaw in Via Reflex Raman spectrometer, and the samples were excited with the 532 nm spectral line with a laser power of 1 mW and spectra recorded in the range of from 100 to 1200 cm−1. FIB sample preparation was carried out using a Thermo Scientific Helios-G4-CX dual-beam SEM, the target scratch area was located under SEM mode, and a platinum protective layer was deposited to prevent structural damage during ion beam milling; then, a high-current ion beam was used for coarse cutting to prepare a cantilever structure, which was transferred onto a TEM grid using a micromanipulator; subsequently, a low-current ion beam was employed for fine thinning until achieving a suitable thickness for transmission electron microscopy observation; finally, a low-energy ion beam was applied for surface cleaning to remove milling damage and ensure sample quality. Transmission electron microscopy (TEM) was conducted on a Talos F200X microscope at 200 kV, while high-resolution imaging was performed on a Thermo Fisher Spectra 300 double-aberration-corrected TEM. TEM data were analyzed using DigitalMicrograph (version 3.7) software. Electrochemical measurements Electrochemical measurements, including potentiodynamic polarization tests and electrochemical impedance spectroscopy (EIS), were conducted using a Gamry electrochemical workstation with a conventional three-electrode system at room temperature. The 70/30 copper-nickel alloy samples served as the working electrode, a saturated calomel electrode (SCE) was used as the reference electrode, and a platinum foil electrode (1 cm2) acted as the counter electrode. Prior to each EIS measurement, open circuit potential (OCP) was monitored for 30 min to ensure system stability. EIS measurements were then carried out over a frequency range of 100 kHz–10 mHz, using a 10 mV sinusoidal perturbation (vs.OCP). Potentiodynamic polarization tests were conducted on parallel samples in 3.5 wt% NaCl solution, with a scanning range from −0.8 V to 0.8 V (vs. SCE) at a scan rate of 0.1667 mV/s. All electrochemical data were analyzed using Gamry Echem Analyst software (version 6.11). Scanning vibrating electrode technique (SVET) measurements The local current density mapping of the surface of the scratched area is measured by VersaScan SVET module from Princenton Applied Research (USA) using a Pt/Ir probe with a diameter of 10 μm. The tip-substrate distance was <100 μm. The probe vibrated along the Z direction with a vibration frequency of 80 Hz and an amplitude of 30 μm. The scan area was 3 mm × 3 mm points along X and Y axes. The obtained potential signals were converted to the local current density (J) by using Ohm’s law, as shown in the following Eq. (24)30: Where Δϕ e is the electric potential drop, k is the electrolyte conductivity (~6.5 Sm−1), and A is the vibration amplitude (30 μm). In the results, ΔJ is defined as the range of the difference between the current density in the marked scratch region and the maximum and minimum current densities observed in the adjacent unscratched region. COMSOL simulation In this study, COMSOL Multiphysics (version 6.3) software was employed to numerically simulate the force behavior and motion trajectories of magnetic particles under a nonuniform magnetic field. The simulation was conducted by coupling the “Magnetic Fields, No Currents” module with the “Particle Tracing for Fluid Flow” module. The simulation system was constructed as follows: First, under the assumption of a static magnetic field with no free current (J = 0), the magnetic field distribution was obtained by solving the simplified Maxwell’s equations. The governing equations include Ampère’s law (∇×H=0) and the magnetic flux conservation law (∇⋅B = 0), in conjunction with the constitutive relation: The magnetic flux density B, magnetic field intensity H, vacuum permeability μ0, relative permeability μr, and the remanent magnetization of the permanent magnet Brem are defined accordingly. Since ∇ × H = 0, the magnetic field intensity can be expressed in terms of the scalar magnetic potential Vm as H=−∇Vm. Substituting into the governing equations yields: For boundary conditions, magnetic potential continuity was applied at material interfaces, and magnetic insulation conditions (H n = 0) were set on external boundaries to simulate the magnetic field distribution in a confined domain. Subsequently, the calculated magnetic field distribution was coupled into the particle tracing module. The motion of particles follows Newton’s second law Where mp is the particle mass,vp is the particle velocity, and the forces include the Lorentz force FL and magnetic gradient force FB. Given that the system is assumed to be free of electric fields and only magnetic effects are considered, the Lorentz force simplifies to: For the magnetic gradient force, applicable to non-charged magnetic or neutral particles, the following commonly used simplified formula was adopted: where χ is the particle’s volumetric magnetic susceptibility, Vp is the particle volume, μ0 is the vacuum permeability, and |B|2 is the square of the magnetic flux density magnitude. This force originates from the energy gradient of a particle in a spatially varying magnetic field and is computed numerically by importing the magnetic field data and calculating the gradient of the field magnitude squared within the particle tracing module. Supplementary information Supplementary Information Description of Additional Supplementary Files Supplementary Movie 1 Transparent Peer Review file Source data Source data Acknowledgements This work was supported by the National Science Fund for Distinguished Young Scholars of China (No.52425501 (L.W.)), the National Key R&D Program of China (No. 2022YFB3808802 (L.W.)) and the Strategic Priority Research Program of the Chinese Academy of Sciences (XDB1210100 (F.M.)). Author contributions J.W., K.G., F.M. and L.W. designed the project and wrote the manuscript; J.W. and X.H. performed the experiments and collected the data. J.W., X.H., M.Y. and Y.W. analyzed the data. All authors discussed the results and commented on the manuscript. Peer review Peer review information Nature Communications thanks the anonymous reviewers for their contribution to the peer review of this work. A peer review file is available. Data availability The data supporting the findings of this study are provided in the Source Data file and Supplementary Information. Source data are provided with this paper. Competing interests The authors declare no competing interests. Footnotes Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations. Contributor Information Ke Gong, Email: gongke@nimte.ac.cn. Feixiong Mao, Email: maofeixiong@nimte.ac.cn. Liping Wang, Email: wangliping@nimte.ac.cn. Supplementary information The online version contains supplementary material available at 10.1038/s41467-025-66216-7. References Associated Data Supplementary Materials Supplementary Information Description of Additional Supplementary Files Supplementary Movie 1 Transparent Peer Review file Source data Data Availability Statement The data supporting the findings of this study are provided in the Source Data file and Supplementary Information. Source data are provided with this paper.