1 Introduction

In hydrocarbon production, carbon sequestration, and subterranean geothermal environments, stainless steels and nickel-based alloys are often encountered as critical load-bearing alloys because of attractive combinations of mechanical properties and corrosion resistance. The stainless steels, explicitly ferrous alloys with more than about 12.5 wt.% chromium (Cr) that have been further modified with 2-5 wt.% nickel (Ni) and over 1 wt.% molybdenum (Mo), are generally deployed in non-corrosive and mildly corrosive environments. To develop useful mechanical properties, these alloys are all delivered in quenched and tempered conditions with typical minimum yield strengths of 552-758 MPa (80-110 ksi). For harsher environments, the precipitation-hardened nickel-based alloys are selected as a normal upgrade to the stainless steels and advantageously offer minimum yield strengths of 758-960 MPa (110-140 ksi). These nickel-based alloys, specifically Ni-Fe-Cr-Mo alloys, possess superior combinations of mechanical strength and toughness. Additionally, they have been successfully used for decades in environments with elevated sour gas (H2S), carbon dioxide (CO2), and a whole range of brines (Ref 1). For subterranean equipment, nickel-based alloys are preferred over stainless steels because of their greater weight-loss corrosion resistance, improved localized corrosion resistance, as well as their established track records against chloride stress and sulfide stress corrosion cracking, as documented and specified by industry standards such as NACE MR0175/ISO 15156 (Ref 2). In order of increasing nickel and molybdenum contents, the typical nickel-based alloys include Alloy 925 (UNS N07925), Alloy 718 (UNS N07718), and Alloy 625Plus (UNS N07716). Despite a relatively limited consumption, Alloy 935 (UNS N09935), a relatively newer alloy introduced in the mid-2000s to fulfill a performance–cost gap market demand, has also been included in this investigation to establish its nitrocarburizing response and its impact on this alloy corrosion resistance.

The equipment fabricated from these corrosion-resistant alloys is almost always exposed to some forms of abrasive, adhesive, fatigue, and/or erosive wear, leading to surface damages. To specifically protect critical surfaces and prolong equipment’s useful life in the fields, a variety of engineering coatings and surface treatments have become established across applications. These include electroless plating and electroplating (e.g., nickel, cobalt) as well as thermal diffusion treatments, e.g., nitriding, nitrocarburizing (where nitrogen is dominant over carbon), carbonitriding (where carbon is dominant over nitrogen), and boronizing or boriding (Ref 3). In addition to wear resistance, other major technical advantages of these surface treatments include a more predictable frictional behavior in dynamic applications, the suppression of galling and fretting, all without any perceptible dimensional changes and noticeable alterations in minimum specified mechanical properties (Ref 4, 5). Surface treatments by thermal diffusion produce a surface hardening response that stems from the interstitial diffusion of nitrogen, carbon, or boron, followed by the formation of stable ceramic-like compounds such as nitrides, carbides, and borides (Ref 6,7,8). While interstitial atomic diffusion leads to only a moderate level of surface hardening, the formation of compounds contributes greatly to elevated hardness values (Ref 9).

For the typical stainless steels, nitrocarburizing causes nitrogen and/or carbon atoms to penetrate the surface and form hard compound layers, predominantly comprised of chromium (I) nitride (CrN), but also at least two stochiometric iron nitrides, Fe2(N,C) and Fe3-4N (Ref 10). The formation of nitrides increases the surface hardness between 950 and 1600 HVN, resulting in improved abrasive wear as well as fatigue resistance under normal conditions (Ref 11). Depending upon alloy chemical composition and nitrocarburizing process, a process cycle can vary in time from 2 to 50 h (Ref 12). Based on previous investigations and some accumulated experience in nitrocarburizing industrial components, the nitride compound thickness varies between approximately 2-75 µm depending upon nitrocarburizing time, temperature, molten salt chemistry, and alloy composition (Ref 3). To develop the proper and effective nitrocarburized surfaces, the nickel alloys always require considerably longer processing cycles, as high as 40 hours compared to the common two-hour cycle for carbon, low-alloy steels, and stainless steels (Ref 13). The nickel-based alloys, being less conducive to nitrocarburizing response, tend to be more suitable to plasma nitriding (ion nitriding), a characteristic that translates into economic disadvantages, among others. A number of investigations can be found in the technical literature on plasma nitriding, nitrocarburizing, low-temperature plasma nitriding and nitrocarburizing of stainless steels, and their effects on wear and abrasion characteristics (Ref 14,15,16), whereas little is comparatively available for nickel-based alloys such as Alloys 718 (Ref 16) and 625 (Ref 17, 18). The literature more specifically addressing the corrosion of nitrocarburized stainless steels is also limited (Ref 19,20,21,22). The nitrocarburizing of nickel alloys is not widespread across industries and remains restricted by the general nitridability of these alloys and their inability to meet stringent wear application requirements (Ref 23, 24). On the environmental compatibility of nitrocarburizing, Hongyi li et al. have demonstrated improvements in corrosion resistance on Alloy 304 in a sour gas environment and largely explained it by oxide and the nitrogen-rich layers that apparently reduce hydrogen permeation (Ref 21). Overall, it is of general industrial interest to clarify the impact of nitrocarburizing on the corrosion of common subterranean alloys, not only for the well-established hydrocarbon exploration and production-proven applications but also the newer carbon sequestration and geothermal applications. For all these environments where the end applications may demand surface treatments, preferably simple and economical, the possibility of accelerated general corrosion or localized corrosion by pitting or crevice corrosion is concerning and provides a strong driver for this investigation.

For this investigation, two quenched and tempered martensitic stainless steels, Alloy 13Cr (UNS41000) and Alloy S13Cr (UNS41425), and precipitation-hardened stainless steel, 17-4PH (UNS17400 in HH1150 condition), were selected and complemented by two standard non-heat-treatable austenitic stainless steels, Alloys 304 (UNS30400) and 316 (UNS31600). Four precipitation-hardened nickel-based alloys, namely Alloys 925 (UNS N09925), 935 (UNS N09935), 718 (UNS N07718), and 625Plus (UNS N07716), were also chosen. As a whole, these alloys present considerable differences: nickel (Ni) contents range from 32 to 56 wt.%, chromium (Cr) from 20 to 22 wt.%, while molybdenum (Mo) reaches up to 6 wt.% for Alloy 625Plus. For pragmatic considerations, salt-bath nitrocarburizing was preferred over the other nitriding processes because also non-line-of-sight, relatively low temperature, and quite routinely applied to existing field equipment. Following salt-bath nitrocarburizing, microstructural characterization and electrochemical corrosion testing were conducted to determine relationships between alloy composition, nitrocarburizing response, general and pitting corrosion, both evaluated by cyclic potentiodynamic testing. Practically, this investigation proposes to shed some light on the effects of nitrocarburizing on the corrosion of two alloy families represented by their broad compositional ranges. Due to the selected testing methodology, the authors expect the findings of this investigation to primarily apply to short-term exposure to light brines, including seawater, and implicitly generalizing or extrapolating the results of this investigation to other conditions shall be therefore conducted with cautions.

2 Experimental Procedure

In this investigation, five stainless steels and four nickel-based alloys were acquired as solid round bars in finished heat-treated conditions. Alloys 13Cr, S13Cr, and 17-4PH were provided in their quenched and tempered, or hardened condition, whereas Alloys 304 and 316 were received in annealed, thus in their softest condition. Alloys 925, 935, 718, and 625Plus were all received in their normal aged or precipitation-hardened condition according to API Spec 6ACRA (Ref 25). For the electrochemical testing, rectangular test samples (50mm × 50mm × 12.5mm) were machined from solid bar stocks, ground, and polished to a 600-grit finish. The chemical compositions and mechanical properties of all alloys of this investigation are disclosed in Table 1, 2. Both stainless steels and nickel-based alloys are listed in order of increasing chromium (Cr) and/or molybdenum (Mo) contents. To capture the combined contribution of these elements, the Pitting Resistance Equivalent Number (PREN= %Cr + 3.3%Mo + 19.4%N) is also included in the table to later attempt simple and valuable correlations with the corrosion results (Ref 26). Even though indiscriminately applying a PREN to different alloy families is arguable, this investigation indirectly addresses the effect of PREN from a minimum value of 14 for Alloy 13Cr to 47.5 for Alloy 625Plus. The literature suggests that this range in PREN translates into critical pitting temperature between ~5 and ~65 °C as per ASTM standards G48 and G150 (Ref 27, 28). Implicitly, the authors anticipate that PREN could be a simple and practical indicator for discussing the corrosion of the various alloys with and without nitrocarburizing. Given the broad range of critical pitting temperatures, the formation of crevices may be normally expected over a fairly short time, and therefore, a special procedure was developed to also eliminate any unintentional crevice corrosion, as later described.

Table 1 Chemical compositions (in wt.%) of the stainless steels and calculated PREN
Table 2 Chemical compositions (in wt.%) of the nickel-based alloys and calculated PREN

For the salt-bath nitrocarburizing treatment, polished square coupons of each material (25mm × 25mm) were subjected to proprietary liquid bath at 580 °C (990°F) for 120 minutes. The selected industrial molten salt chemistry is known to reliably produce nitrides primarily. This paper will emphasize the contributions of nitrogen, keeping in mind that carbon is also present in the molten salt. The nitrocarburizing process in use consists of three standard consecutive stages common to all alloys: (1) degreasing, (2) nitrocarburizing at 580 °C for about 120 minutes, and (3) a post-oxidation treatment at 425 °C for about 20 minutes. The post-oxidation has similarities with black oxide treatments, a major intent being to improve atmospheric corrosion resistance supplementarily. All nitrocarburized samples were tested only after a subsequent cleaning cycle with acetone and finally deionized water. Following oxidation of the test samples, none of the test samples were further polished out of concerns for altering their surfaces, particularly reducing the overall thickness of the hard compounds (Ref 8). As a result, the nitrocarburized surfaces were not as smooth as were initially conceived for detailed microstructural examinations, a limitation that made sample preparation prior to nitrocarburizing more important.

All test samples, un-nitrocarburized and nitrocarburized, were first metallurgically characterized. Then, x-ray diffraction was applied to identify each alloy metallurgical phase before and after nitrocarburizing. The x-ray diffractometer was set at 40 kV and 30 mA with a CuKα radiation target (λ~1.54 Å) and scanned all angles between 20 and 80 degrees at a rate of a degree per minute. The test samples were also cross-sectioned and prepared for standard metallographic examinations to estimate the hardening caused by the molten salt bath. Cross section microstructures were analyzed by optical microscopy using a Keyence VHX2000 (Japan) microscope, primarily to estimate compound layer thickness. Complementarily, Vickers microhardness measurements under 25g and 100g were conducted with a calibrated Future Tech. FM-7 microindenter (Japan) to further measure the hardening that develops below the compound layers. Throughout this investigation, the nitrocarburized test samples were consistently tested against their un-nitrocarburized alloy references. When applicable, laser confocal microscopy (Keyence VK-X1000), scanning electron microscopy (Carl Zeiss Ultra 55 SEM, Dresden, Germany), wavelength-dispersive spectroscopy (CAMECA SXFive), and image analysis (ImageJ software) were applied to quantify pit size and density and relates these to the various characteristics of nitrocarburized alloys.

To evaluate and compare the corrosion of the various alloys in both nitrocarburized and un-nitrocarburized conditions, cyclic potentiodynamic polarization testing was performed as per ASTM G61 (Ref 29). Measurements were completed at room temperature (23°C) using an aerated 3.5 wt.% sodium chloride deionized aqueous solution. Before initiating the cyclic polarization scans, all samples were pre-immersed a full hour to identify their open-circuit potential (OCP). The polarization tests were all completed with a Gamry TM standard three-electrode system in a 1.25L flexible cell. The working electrode offered an exposed area of 2.5 cm2, totally compatible with the test sample dimensions. For testing, the samples were mounted outside a PTFE holder cell, and with their working surface facing up. At the contact surface between a sample and cell, a small volume of deionized water was continuously circulated as a mean to prevent the formation of circumferential crevices, a situation that would otherwise invalidate any test and impose an additional repeat. The test samples were separated from the cell port using a filter paper ring. The cell consisted of a pair of graphite counter rods acting as a single electrode, a saturated calomel electrode (SCE) serving as a reference electrode, and a sample representing the working electrode. All tests were conducted with a constant scan rate of 0.2mV/sec, initiated at -200mV vs. the open-circuit potential (OCP), and continuing up to 700 mV for stainless steels alloys, up to 1400 mV for the nickel-based alloys, and then reversed in the negative direction when either the current density exceeded five mA/cm2 or the potential reach to the initial set peak values. The reverse scan was stopped at the initial OCP measured value. After completing the electrochemical scans, most test samples were inspected for signs of pitting using the laser confocal microscope.

3 Results and Discussion

3.1 Compound Layer Thickness Measurements

As the first general observation, the salt-bath nitrocarburizing treatment caused a homogeneously uniform darkening of all samples, indicating thermochemical responses toward the molten salt bath. The cross section microstructures of all nitrocarburized stainless steels and nickel-based alloys are presented in Fig. 1, followed by the microhardness profiles and exemplary compositional analyses in Fig. 2. Even without chemical etching, the cross section micrographs clearly reveal light/dark gray nitrocarburized layers at the alloy surfaces, all characterized by average thickness values that vary with alloy composition. This characteristic layer at the surface, most referred to in the literature as the compound layer, is shown in Fig. 1 for all the alloys and is found to correspond to the locations of maximum microhardness, as captured by Fig. 2. For the stainless steels, Fig. 2 shows that the microhardness of these compound layers is consistently between 950 and 1150 HV, which is considerably above the microhardness of 190-330 HV for the selected base alloys.

Fig. 1
figure 1

Cross section microstructures of both the nitrocarburized stainless steels (e.g., 13Cr, S13Cr, 17-4PH, 304, and 316) and the nitrocarburized nickel-based alloys (e.g., 925, 935,718, and 625Plus). Other layers may be observed above and below the relatively thicker compound layer. For the nitrocarburized 316 sample in particular, defects breaching through the compound layers can be observed

Fig. 2
figure 2

Vickers microhardness profiles for (a) the stainless steels and (b) the nickel-based alloys, along with nitrogen and carbon contents measured by wavelength dispersive spectroscopy across three locations shown in different colors for (c) Alloy 13Cr and (d) Alloy 316. The superior nitrocarburizing response of stainless steels, associated predominantly with enhanced nitrogen diffusion from the surface, is greater for the leaner stainless steels and significantly reduced for the nickel-based alloys

Figure 1 also reveals that the nitrocarburizing bath has actually produced multiple layers, all thinner than the seemingly coarse compound layer. These layers are especially discernable for the stainless steels: they include a dark gray top layer (e.g., on 13Cr), and in all cases but Alloy 13Cr, also a visible layer immediately beneath the compound layer, particularly on Alloys 304 and 316. Figure 2 indicates that these under-layers have a microhardness slightly below the compound layer yet relatively above the base alloys. The vertical dash lines in Fig. 2 also show the corresponding effective case depths, defined as the distance below the surface where the microhardness has dropped to 540 HVN. The effective case depths vary between 40 and 80 µm and are very much comparable to the compound layer thickness. This compound layer is relatively thick for all stainless steel samples from 40 to 57 µm. The thicker compound layers area observed on the 13Cr and S13Cr martensitic stainless steels. The thinner compound layers in the 304 and 316 austenitic steels are attributed to the presence of nickel and molybdenum, two elements that improve general corrosion resistance, indirectly by interfering with the formation of nitrides, or carbides (Ref 12). The resistance of nickel and molybdenum toward stabilizing nitrides is justified by the free energy values of their respective nitrides, considerably greater than that of chromium or iron nitrides (Ref 30). Since all test samples were processed altogether under a constant process cycle, the thickness variations become predominantly governed by the compositional differences, that is, the affinities of the alloying elements to stabilize nitrides, carbides, and oxides (Ref 31, 32). Figure 2 also illustrates that the introduction of nitrogen and carbon to the alloy surfaces induced a hardening well below the compound layer for the stainless steels. To assess the extent of the nitrogen and carbon diffusion, two test sample cross sections of Alloys 13Cr and 316 were line-scanned by wavelength dispersive spectroscopy at three random locations. The results are presented in Fig. 2(c) and (d). Though not absolutely quantified in percentages for lack of proper calibration standards, these two figures reveal that the nitrogen and carbon enrichments are considerable at and below the surface. The nitrogen is elevated and about constant down to a depth that matches approximately the compound layer thickness, where microhardness is also near peak values. Immediately below the compound layer, carbon content is seen to increase slightly (at about 40 µm depth) while nitrogen content keeps on decreasing to reach base alloy values ultimately. The maximum carbon content is seen at the surface and immediately below the compound layer for the two selected alloys, 13Cr and 316 alloys. The observed carbon diffusion and accumulation beyond the compound layer is consistent with previous works by M. Tsujikawa (Ref 33) and G. Li (Ref 7), disclosing that the diffusion of carbon is enhanced in the post-oxidation process as oxygen and nitrogen further displace the carbon by a competitive diffusional process (Ref 33).

Complementary examinations by scanning electron microscopy did not provide much additional insight. The image of Fig. 1 or Alloy 316 fails to disclose any clear changes in microstructure, just minor variations in contrast. As briefly discussed earlier, on each single optical image of Fig. 1, particularly for Alloy 13Cr, a darker and thinner layer was observed toward the very top. This layer becomes decreasingly visible with the stainless steels with elevated nickel or molybdenum contents and is, in fact, not optically resolvable on the nickel-based alloys, not even by scanning electron microscopy. The literature indicates that such a thin layer is caused by the post-oxidation treatment (Ref 34). On stainless steels, this post-oxidation treatment primarily aims at producing an iron oxide layer, specifically iron (III) oxide, Fe3O4 (Ref 34, 35). This oxide layer is not apparent on nickel-based alloys and can be explained by a shortage in available iron at the surface. The optical images of Fig. 1 also reveal that the compound layer comprises minor defects, including cracks and possibly holidays. The high-resolution SEM micrograph of Fig. 1 reveals discontinuities within the compound layer of Alloy 316. In its corresponding lower-magnification optical images, such discontinuities were also detected. Despite such imperfections, some level of corrosion protection is intuitively expected from nitrocarburizing as the formed layer provides complete coverage and is predominantly ceramic-like. This behavior, that compound and oxide layers are passive, and provide some cathodic protection until damage occurs, has been confirmed in other investigations (Ref 19, 36).

In comparison to the selected stainless steels, all nickel-based alloys exhibit a considerably thinner compound layer, with a reported thickness between 2 and 7 µm, and as low as 2 µm for Alloy 625Plus. When alloy compositions are compared, those alloys rich in nickel and consequently leaner in iron under nearly identical chromium contents are the least amenable to nitrocarburizing. As previously mentioned, both chromium and iron are strong nitride formers, in contrast to nickel and molybdenum. Therefore, alloys with high nickel and molybdenum contents are generally more corrosion resistant and characterized by poor nitrocarburizing responses. In addition to chemical thermodynamic affinity, the lower diffusivity of nitrogen in the austenitic lattice of the nickel-based alloys compared to austenitic stainless steels also explains the long process times required by nickel-based alloys. Though carbon is supplied by the molten salt bath, carbon is not seen to interact with the nickel-based alloys. At the salt-bath temperature, the equilibrium phase diagrams confirm that the carbon solubility is considerably lower in the austenite of nickel-based alloys than in the austenite of stainless steels (Ref 37).

Figure 3 properly correlates compound layer thickness, as measured by optical microscopy, with both the PREN and the alloy nickel content. Among various attempted relationships, the correlation was stronger with the nickel content than with the PREN. Figure 3 quantitatively demonstrates that the compound layer decreases asymptotically with the nickel content. Alloy 17-4PH appears to be the main outlier among all alloys, showing a thinner compound layer than would otherwise be expected from the established trendline. Alloy 17-4PH also distinguishes itself by being the only alloy with noticeable about 4.0 wt.% copper. Copper does not usually stabilize either nitrides or carbides, a fact that substantiates its interference with the alloy nitrocarburizing response. This nitrocarburizing-resisting effect of copper can be described by the standard free energy of formation of copper nitride, Cu3N, noticeably positive and with a value of +74.5 KJ/mol, which is in stark contrast to chromium (I) nitride, CrN at − 92 KJ/mol, molybdenum nitride, Mo2N at -50.2 KJ/mol, or iron nitride, Fe2N at +12.6 KJ/mol (Ref 30). Among nickel-based alloys, Alloy 718 responded more to nitrocarburizing than expected. The slightly superior response of Alloy 718 to nitrocarburizing can be attributed to niobium and tantalum, two strong nitride and carbide formers (Ref 30). A practical question that this investigation has proposed to further clarify is whether the compound layer thickness (a measure of an alloy response to nitrocarburizing) is related to corrosion resistance.

Fig. 3
figure 3

Compound layer thickness Vs. nickel content and PREN. Note that Alloy 17-4PH deviates from the trendline, presumably due to the presence of copper, an element with a little chemical affinity toward nitrogen or carbon. The stainless steels are shown in orange, the nickel-based alloys in blue (Color figure online)

3.2 Surface Layer Characterization

For the various alloys of this investigation, Fig. 4 shows their respective x-ray diffraction patterns in both un-nitrocarburized and nitrocarburized conditions. The X-ray patterns for the un-nitrocarburized stainless steels characteristically reveal the presence of the equilibrium iron phases, α-Fe and γ-Fe; after nitrocarburizing, the dominant x-ray peaks turned out to be associated to iron (III) oxide, Fe3O4, which may be explained by the post-oxidation process. In all appearance, this iron oxide layer acts as a protective shield against the proper detection of nitrogen and carbon phases from underneath. Elsewhere, it has been reported that several nitride compounds of various stoichiometries are present, among which are iron (II/III) nitride, Fe2-3N, iron (IV) nitride, Fe4N, and chromium (I) nitride, CrN (Ref 20). Chromium (I) nitride, CrN, is known to form at nitrocarburizing temperature of 580 °C, as inferred both by its lowest free energy of formation, and the relative low diffusivity of chromium into iron at a temperature in excess of 450 °C (Ref 38).

Fig. 4
figure 4

Sets of x-ray diffraction patterns for both un-nitrocarburized and nitrocarburized alloys. The nickel-based alloys show a more moderate response toward nitrocarburizing, in line with the observations of Fig. 1, 2

The x-ray diffraction patterns for the un-nitrocarburized and nitrocarburized nickel-based alloys are also depicted in Fig. 4 and can be compared to the stainless steels. Test samples of Alloys 925, 935, 718, and 625Plus all point out at the austenite γ-phase; their nitrocarburized counterparts are observed to only show the austenite phase and the chromium (I) nitride phase, CrN. This finding is quite in contrast with the un-nitrocarburized stainless steels, where diffraction peaks of iron (III) oxide, Fe3O4 were identifiable. The lack of a perceptible surface oxide film on the nickel-based alloys is first explained by a shortage of free iron, and second, the general and well-established fact that nickel-based alloys are simply more oxidation resistance (Ref 23). As already discussed, and in the absence of suitable thermodynamic conditions to promote nitrides of nickel, the compound growth is predominantly controlled by the much stronger nitride formers, chromium, and iron. As anticipated by its lower nickel and greater iron content, the nitride layer on Alloy 935 is marginally thicker than in Alloys 925 or 625Plus. Finally, for all alloys, the introduction of nitrogen results in broader diffraction peaks, as exemplified by the nickel alloys. These peak broadening infer that the original phases have been expanded, that is interstitially enriched, resulting in lattice expansion. When not accompanied by nitride sensitization (no indication found), the nitrogen enrichment of either the α-Fe or γ-Fe phases would cause significantly increased values in PREN. It follows that the alloy under the compound layer could offer enhanced general corrosion resistance, a feature that is probably meaningful in the presence of a defective compound layer.

3.3 Cyclic Potentiodynamic Polarization

Figure 5 and 6 show the cyclic polarization curves of the stainless steels in 3.5 wt.% sodium chloride brine for the un-nitrocarburized and nitrocarburized conditions, respectively. For a subsequent and more quantitative discussion, electrochemical parameters such as open-circuit potential (OCP), corrosion potential (Ecorr), corrosion current (Icorr), critical pitting potential (Epit), and re-passivation potential (Erep) were also extracted from the analysis of polarization curves and summarized in Table 3. First note that the two potentials, OCP and Ecorr, are well correlated and yet are still quite distinct given that the OCP is established under conditions approaching thermodynamic equilibrium. Figure 7 plots explicitly Ecorr Vs. OCP in an attempt to broadly visualize the departure between the two potentials. It is now seen that the two potentials are indeed highly correlated and near each other at an ideal 1:1 ratio for the un-nitrocarburized alloys; however, for the nitrocarburized alloys, the Ecorr values are on average trailing the OCP by about 100 mV, clearly indicating that the nitrocarburizing layer for the stainless steels and nickel alloys indistinctively create an overpotential that is to be overcome for the corrosion current to increase. Despite differences, Fig. 7 validates that OCP and Ecorr can be discussed interchangeably. Among electrochemical parameters, Ecorr has been given an extra attention along Epit because the difference between Epit and Ecorr directly measures the stability of the passive film.

Fig. 5
figure 5

Cyclic potentiodynamic polarization plots for stainless steels in 3.5 wt% NaCl solution: (a) un- nitrocarburized and (b) after nitrocarburizing for Alloys 13Cr, S13Cr, 17-4PH, 304, and 316

Fig. 6
figure 6

Cyclic potentiodynamic polarization plots of nickel-based alloys in 3.5wt% NaCl solution: (a) un- nitrocarburized, and (b) after nitrocarburizing for Alloys 925, 935, 718, and 625Plus

Table 3 Cyclic polarization results for all investigated alloys in 3.5wt% sodium chloride solution at ambient temperature before and after nitrocarburizing
Fig. 7
figure 7

The corrosion potential, Ecorr, Vs. open-circuit potential, OCP, for stainless steels and nickel-based superalloys in un-nitrocarburized and nitrocarburized conditions

The un-nitrocarburized stainless steels are characterized the classic cyclic polarization profiles with positive hysteresis loop and variable re-passivation abilities. Figure 5(a) shows that the Ecorr values are approximately identical and in the vicinity of − 180 mV. The pitting potentials are also similar for Alloys 13Cr and S13Cr and noticeably smaller than for Alloys 17-4PH, 304, and 316. Furthermore, when the potentials are eventually reduced, both Alloys 13Cr and S13Cr are not observed to re-passivate. These results are somewhat predictable: the higher pitting potentials of Alloys 304 and 316 can be simplistically explained by their PREN values, as reported in Table 1, while the lack of re-passivation of Alloys 13Cr and S13Cr can be explained by the scans, terminated too early without reaching lower potentials.

The cyclic polarization curves for the nitrocarburized stainless steels are captured in Fig. 5(b) and are strikingly different from their counterparts in Fig. 5(a). With the exception of the nitrocarburized 17-4PH alloy, the nitrocarburized stainless steels of Fig. 5(b) commonly exhibit negative hysteresis loops. The Ecorr values are also clustered near − 100 mV. In contrast to the un-nitrocarburized alloys, the pitting potentials, Epit, were not appropriately measured because of overpotential limits imposed by the scan settings. However, it is clear that all pitting potentials are greater than encountered for the un-nitrocarburized alloys, with a minimum value of 535 mV recorded for nitrocarburized Alloy 17-4PH. This shift in Ecorr and Epit toward a more passive behavior indicates an improvement in corrosion resistance under the conditions set by this investigation. The reverse curves for the nitrocarburized stainless steels also disclose a lower current density, implying that the compound layer offers some level of corrosion protection. In the literature, T. Borowski et al. have reported that nitrocarburizing process raised the pitting potential of stainless steels, while the nitride layer reduces chemical attacks by chloride ions (Ref 36). In this corrosion investigation on a nitrocarburized 316L alloy, the pitting potential was seen to increase by 1.5V in an equivalent chloride environment (e.g., 3.5 wt%NaCl), resulting in another improved passive range. The latter has been explained by chemical changes occurring at the surface of nitrocarburized stainless steels, specifically the surface segregation of a negatively charged nitrogen converted according to reaction (1) below (Ref 39, 40).

$${\text{N}}^{3 - } + 4{\text{H}}^{ + } \to {\text{NH}}_{4}^{ + }$$
(1)
$$2{\text{H}}^{ + } + 2{\text{e}}^{ - } \to {\text{H}}_{2}$$
(2)
$${\text{Fe}} \to {\text{Fe}}^{2 + } + 2{\text{e}}^{ - }$$
(3)

As per this proposed model, the produced ammonium ions remain toward the top layers of the surface and contribute toward neutralizing the acidic pit environments (Ref 39). As a result of hydrogen cation consumption, the localized pH increases, at least partially inhibiting the hydrogen reaction (2) and equivalent anodic reaction (3) thus reducing the iron dissolution.

Figure 6(a) and (b) depicts the cyclic polarization curves for all four nickel-based alloys in both un-nitrocarburized and nitrocarburized conditions. Like the stainless steels, the nickel-based alloys are also characterized by the usual polarization curves (Fig 6a), i.e., an initial low-current density such as Icorr followed by a steep potential increase indicative of a stable passive state, as defined by a wide range between EPit and Ecorr. As shown by Fig. 6(b), nitrocarburizing reliably raises the Ecorr values for all four nickel-based alloys while significantly lowering pitting potential, Epit. The polarization curves of Fig. 6(b) further disclose that the nitrocarburized alloys remained in a passive state but corroded at a lower potential than in their un-nitrocarburized condition. The polarization plots also show rapid increases in the corrosion current density, Icorr, with increasing potentials, the first evidence that nitrocarburizing these alloys negatively influences corrosion resistance.

To better comprehend the effects of nitrocarburizing on stainless steels and nickel-based alloys, the results of Fig. 5 and 6 are revisited in Table 3, where several characteristics of the polarization plots have been consolidated for side-by-side comparisons and then replotted in Fig. 7 and 8. With both open-circuit potential, OCP, and corrosion potential, Ecorr, already addressed, some attention is reoriented toward the current, Icorr. First, the values of Icorr are consistently lower for the nickel-based alloys and noticeably greater for the nitrocarburized stainless steels than their un-nitrocarburized counterparts. For the nickel-based alloys, the corrosion current, Icorr is not considerably influenced by nitrocarburizing. The higher Icorr values suggest that more corrosion should simply be expected from the nitrocarburized stainless steel. Figure 7 shows the comparison of Ecorr and OCP for stainless steels and Ni- alloys in both conditions. This confirms that the Ecorr and OCP values have improved with the nitrocarburizing process.

Fig. 8
figure 8

Potential difference, Epit – Ecorr, Vs. pitting resistance equivalent number, PREN, for both the un-nitrocarburized and the nitrocarburized stainless steels and nickel-based alloys

To complement this analysis, pitting potentials, Epit, and Ecorr, are also examined more comprehensively with Fig. 8, where the difference of potentials between Epit and Ecorr is represented against the PREN, used a single and convenient measure of the cumulative effect of the main alloying elements. Recall that this difference in potentials has been proven to be a good measure of the alloy passivity, as discussed elsewhere (Ref 41). Even though the data are occasionally scattered, Fig. 8 enables to clearly separate the stainless steels and the nickel-based alloys in their nitrocarburizing responses. When nitrocarburized, the stainless steels and the nickel-based alloys follow opposite directions. The stainless steels' ability to remain passive (represented by their Epit − Ecorr values) is raised after nitrocarburizing. This improvement is particularly substantial for alloys having low PREN values, such as the non-austenitic stainless steels (i.e., 13Cr, S13Cr, 17-4PH). These alloy’s enhanced region of passivity can be explained by their thicker compound layers after nitrocarburizing. For the nickel-based alloys, all alloys appear to possess a comparable passive range in the 3.5wt.% sodium chloride solution at ambient temperature, while the passive range of their nitrocarburized surfaces is seen to fall dramatically to levels comparable to stainless steels with a minimum PREN value of approximately 20. The reduction in passive range is major for the nickel-based alloys, and decreases with the alloy PREN values. Through positive influence on PREN, alloying elements such as chromium and molybdenum thus at least partially offset the effects of nitrocarburizing by promoting a stable region of passivity.

The apparent reduction in corrosion resistance observed for the nickel-based alloys is confirmed by the re-passivation potentials, Erep. Though inconsistently available, the nitrocarburized stainless steels show much improved re-passivation potentials that predictably increase with the alloy PREN value. In contrast, for the nickel-based alloys, the trend is entirely opposite. These results from complementary and independent electrochemical parameters all point toward two distinct and differing effects of nitrocarburizing: (1) the stainless steels offer a generally increased corrosion resistance, at least temporarily and until oxide and compound layers are breached, and (2) all investigated nickel-based alloys lose some levels of protectiveness or corrosion resistance simply because of a reduced ability to re-passivate and thus avoid dissolution.

3.4 Surface Examination

Following cyclic potentiodynamic testing, all tested and available surfaces were thoroughly examined for quantitative evidence of corrosion, particularly pitting, but also general corrosion (dissolution), as promoted by the use of large over-potentials with several alloys now proven to have reduced passive range (e.g., nickel-based alloys). Figure 9 provides a set of optical micrographs of the various alloy surfaces in their un-nitrocarburized and nitrocarburized conditions, vertically organized by increasing PREN value from Alloys 13Cr to 316. In Fig. 9, the left images were consistently captured at an identical magnification and are completed on their right by close-up views to facilitate comparisons. First, spherical pits are clearly not uncommon, and their occurrence depends on the alloy PREN. Figure 9 specifically illustrates that a greater PREN value leads to a lower pit density population. For instance, Alloys 13Cr and S13Cr, with respective PREN of about 14.0 and 18.7, have the greatest pit populations (Fig. 9a1-b1). The laser confocal microscopic analyses reveal that these pits are generally in excess of 100 µm in width and depth. Comparatively, Alloy 17-4PH exhibits a very moderate pitting (Fig. 9c1), even though some pits were as coarse as in other alloys. Alloy 304 discloses a surface with very sporadic pitting (Fig. 9d1), while Alloy 316 (Figure 9e1) remained totally free of any visible pits. In general, as described by Fig. 9, the occurrence of pitting can be related to the peak currents recorded and disclosed in Fig. 5. Specifically, the alloys exhibiting minor pitting are also the alloys that have generated the least currents, many separated by orders of magnitudes.

Fig. 9
figure 9

Laser confocal photomicrographs of the cyclic polarization tested surfaces of both un-nitrocarburized (a1-e1, left) and nitrocarburized stainless steel test samples (a2-e2, right). Figure a1-e1 present low- and high-magnification micrographs showing corrosion pits. Figure (a2-e2) reveal no pitting after nitrocarburizing with exception of a few on the nitrocarburized 17-4PH alloy

For all stainless steel surfaces, Fig. 10 reports their measured pit counts over an analyzed surface of 5.0 cm2, as determined through quantitative image analyses. Despite the pit count decreasing quasi-exponentially with alloy PREN, nitrocarburizing is confirmed to produce a more pitting resistant surface, with only a single and sporadic visible pit on the nitrocarburized 17-4PH alloy. These observations agree entirely with Fig. 8, where any surface characterized by a difference of potentials over 400 mV appears to be immune to pitting. In a broader context, the corrosion resistance of a nitrocarburized surface cannot be directly related to its compound layer, or other layers previously identified in this paper. All compound layers, mainly for the stainless steels, act as barriers that raise the potential required for pitting by about 700 mV above the corrosion potential; however, this barrier is also defective, as suggested by Fig. 2. Furthermore, as disclosed by Fig. 9(c1) and (c2), microcracks and perhaps holidays may not be that uncommon in these compound layers, and these surely impacts corrosion as it develops (Ref 42).

Fig. 10
figure 10

Pit population count (density) for the stainless steel test samples in both un-nitrocarburized and nitrocarburized conditions (right). Selected 3D pit profiles are depicted on the left for several un-nitrocarburized stainless steels, specifically Alloys 13 Cr, S13Cr,1 7-4PH, and 304.

Figure 11 depicts similar optical images for the nitrocarburized nickel-based alloy surfaces. The un-nitrocarburized alloys show limited pitting, including Alloys 925 and 718, where the test sample outer perimeters predominantly clustered pits. Pitting was absent on Alloys 935 and 625Plus, the two alloys with the largest PREN values. Though pitting was absent, the nitrocarburizing of Alloys 925 and 935 resulted in superficial dissolution, as indicated by the darker regions of Fig. 11(a2)-(b2). In the nitrocarburized Alloy 925, the pits are considerably deeper (57-65 µm) than in the nitrocarburized Alloy 935 (1-4 µm), where the dissolution is marginally more pronounced. The nitrocarburized Alloy 718 also experienced some minor pitting, with a total of 57 pits over the test surface, with a range of depths between 3 and 7 µm. Following potentiodynamic testing, the nitrocarburized Alloy 718 were observed to spall small flakes, as captured by Fig. 11(c2). In neither the un-nitrocarburized nor the nitrocarburized conditions, Alloy 625Plus experienced any obvious pitting; however, the dissolution of thin nitrides before the re-passivation occurred because of the high potential scans.

Fig. 11
figure 11

Laser confocal photomicrographs of the surfaces of the un-nitrocarburized (a1-to-d1, left) and the nitrocarburized (a2-d2, right) nickel-based alloys after cyclic polarization testing. Pits are observed only on Alloys 925 and 718 in the un-nitrocarburized condition. Figure (a2) and (b2) show major losses (in compound layer) for Alloys 925 and 935, respectively.

Figure 12 presents three secondary electron images and a back-scattered electron image of microscopic pits (50-µm) found upon scanning the nitrocarburized surface of Alloys 925 and 935. The images reveal preferential grain-boundary attacks, the normal initiation site for pitting also seen on the un-nitrocarburized alloys. The nitrocarburized Alloy 935 also depicts a corrosion byproduct, most noticeable on the back-scattered image. In the context of Fig. 1, pitting under the compound layer should be expected, predominantly where the compound layer is discontinuous, for instance, at microcracks such as shown in Fig. 1. Though carbon and nitrogen can potentially be a root cause for alloy sensitization (i.e., carbide and/or nitride formation along the alloy grain boundaries), no such evidence has been found in this investigation. At the same time, there is no clear evidence in the literature for stainless steels sensitization occurring below a thin nitrocarburized layer, which may be the result of the short nitrocarburizing cycles and relatively low temperatures associated with molten salt processes.

Fig. 12
figure 12

Scanning electron micrographs of the nitrocarburized 925 and 935 surfaces. The surfaces had been gently polished off to reveal the compound sublayer.

4 Conclusions

This investigation includes a broad range of high-chromium stainless steels and nickel-based alloys in use for hydrocarbon production, carbon sequestration, and subterranean geothermal environments, and as such is highly relevant to better understand the effects of nitrocarburizing on all these common alloys, particularly when exposed to corrosion. Specifically, this investigation has clarified the effects of nitrocarburizing after short-term exposures to a light 3.5 wt.% sodium chloride brine at ambient temperature. As such it remains far from providing sufficient arguments to justify the long-term performance of nitrocarburizing in actual field environments. First, salt-bath nitrocarburizing is confirmed to significantly increase surface hardness through the formation of nitride compounds on both the stainless steels and the nickel-based alloys. As a general trend, stainless steels are characterized by deeper case depths and thicker compound layers than the nickel-based alloys, as well explained and correlated to their nickel contents and PREN values. On all stainless steels, thin oxide films were also detected covering the compound layers, and despite the presence of defects (microcracks, holidays) in the compound layers, no indication of reduced corrosion resistance was found. On the contrary, all the tested nitrocarburized stainless steels resisted corrosion, as explained by their relatively thick and passive nitride compound layers. Recall that for all stainless steels, not only their open-circuit potential, pitting potential, and re-passivation potential was increased, but also their passive range. In contrast to the tested stainless steels, the salt-bath nitrocarburizing of nickel-based alloys produced thin compound layers that are consistently associated with reduced pitting potentials, reduced re-passivation potentials, a narrower passive range, thus overall a decrease in corrosion resistance. After nitrocarburizing, and upon being scanned above their pitting potentials, all nickel-based alloys exhibited some degrees of anodic dissolution, reaching beyond the compound layer. Among all alloys, remarkably, pitting was not observed on Alloy 625Plus in either un-nitrocarburized or nitrocarburized conditions. Upon nitrocarburizing, the corrosion resistance of all nickel alloys was certainly reduced; however, in context, this reduction is limited and apparently comparable to stainless steels with a minimum PREN in the vicinity of 20. At last, the presence of nitrogen and carbon below the compound layer, though not entirely clarified, increases PREN in the two austenitic alloys through so-called expanded austenite (austenite with increased interstitial nitrogen and carbon solubility). This localized enrichment in nitrogen, and to some extent carbon, may also have a positive austenite forming stabilizing effect in the other stainless steels. For the nickel-based alloys, nitrogen and carbon solubilities are relatively insignificant, and therefore no such effect is anticipated. The specific roles of interstitial elements such as carbon and nitrogen certainly deserve complementary investigations. Above all, the long-term performance of nitrocarburized surfaces of both stainless steels and nickel-based alloys remains in need of further assessments, particularly to determine if and how short-term electrochemical results translate into longer-term corrosion resistance.