1 Introduction

Stainless steels are iron-based alloys containing at least 10.5% chromium. They are corrosion resistant because of the formation of surface passive film that separates the metal from the corrosive environment. Chromium is the most important alloying element for passive film formation. The content of chromium in the passive film is much higher than its content in the bulk metal [1].

Pitting corrosion usually occurs in welded joints (weld metal and heat-affected zone, HAZ) of austenitic stainless steels in chloride solutions [2]. Pitting corrosion resistance of the weld metal can be significantly increased using the filler metal with a higher concentration of alloying elements (Cr and Ni) than that in the base metal.

In the case of nonstabilized austenitic stainless steels, the arc energy input during welding leads to the precipitation of chromium carbides on the grain boundaries in the HAZ. The influence of arc energy on the pitting corrosion in welded joints (formed without nitrogen in the shielding gas) of X5CrNi18-10 austenitic stainless steel was examined in detail in our previous paper [3]. During pit formation, an electrochemical corrosion cell is formed between the passive surface of the metal and the active surface at the pit bottom. The pitting corrosion can be explained by a localized acidification model, due to metal ion hydrolysis [4]. For austenitic stainless steels exposed to neutral 0.5 M NaCl, the pH value inside the pit was found to be pH ˂ 1 [5]. The presence of chloride ions prevents the repassivation of the metal surface at the pit bottom [6]. There is a linear dependence between the pitting corrosion resistance of austenitic stainless steels and the chloride ion concentration. As the concentration of chloride ions increases, the value of pitting potential Epit decreases [5]. Pitting corrosion of welded joints of austenitic stainless steels in chloride solutions occurs in three stages: nucleation, metastable pit growth, and stable pit growth [7]. Metastable pits are repassivated after a relatively short time. The repassivation of metastable pits is related to the rupture of passive film covers and to the dilution of the local pit environment [6].

The methods for testing pitting corrosion and other corrosion forms in welded joints of stainless steels are described in [8, 9]. The pitting corrosion resistance in welded joints of austenitic stainless steels can be determined by an electrochemical potentiodynamic method, in accordance with ASTM G61 standard [10]. In addition to the pitting potential Epit, it is possible to determine the value of the protection potential Eprot, i.e., the value of the potential when the formed pits stop to grow. At potentials more positive than Epit, pits are formed and grow continuously. In the potential region between Epit and Eprot, previously formed pits grow. At potentials more negative than Eprot, pits are repassivated and stop to grow. The potential of the metastable pit formation Empit can be also determined using the potentiodynamic method [11]. The value of the Epit − Ecorr difference and the value of Epit − Eprot difference can be taken as indicators of the resistance to pit formation and to pit growth, respectively [12,13,14,15,16]. Corrosion potential Ecorr is the open-circuit potential, which is spontaneously established on the surface of stainless steels in a test solution. The resistance to pit formation increases if the difference Epit − Ecorr is increased. However, the resistance to pit growth decreases if the difference Epit − Eprot is increased.

Frankel, Li, and Scully proposed the new theory of pitting corrosion in 2017 [17]. In accordance with the theory proposed, pit formation in a stainless steel is more difficult when the welded joint microstructure is resistant to pitting corrosion or when pitting corrosion occurs in a less aggressive corrosive environment, and vice versa. In that case, the resistance of the welded joint to pit growth is higher, i.e., pits are easily repassivated. For example, in the chemical processing industry, welded joints of austenitic stainless steels are often exposed to the influence of an aggressive corrosive environment (the presence of chlorides, elevated temperatures, etc.). The increase in the resistance of the weld metal (of X5CrNi18-10 stainless steel) to pit formation which leads to a decrease in its resistance to pit growth is considered in this paper.

It is known that nitrogen in austenitic and duplex stainless steels, especially in the presence of molybdenum, favorably influences the resistance to pitting corrosion [18]. According to [19, 20], nitrogen in a pit is transformed into ammonia ions during the pitting corrosion of stainless steels. In line with the proposed assumption, the ammonia ions prevent the decrease of the pH value in the pit [19, 20].

A solution with a pH value higher than the critical is formed in the pit in the presence of ammonia ions. Consequently, the repassivation of the formed pit is easier in the early stage. The formation of stable pits occurs at pH values lower than the critical pH value.

The nitrogen effect on pitting corrosion resistance can be attributed to the accumulation of nitrogen beneath the passive film, according to [21]. This nitrogen can be transformed directly into ammonia ions. In the presence of nitrogen in austenitic stainless steels, the formed nitrates inside the pit can also inhibit pitting corrosion [21]. The inhibiting role of nitrates is based on the acid consumption and formation of ammonia ions.

The favorable influence of nitrogen on the pitting corrosion resistance has been observed in austenitic and duplex stainless steels containing nitrogen as an alloying element. Welding of austenitic stainless steels in a shielding gas with nitrogen was considered in [22], while welding of duplex stainless steels was studied in [23, 24].

The aim of this paper was to examine the influence of shielding gas composition and the influence of other welding parameters on the pit initiation and pit growth in the welded joints of X5CrNi18-10 austenitic stainless steel. Welding was carried out at a constant value of the welding speed, the deposition rate of the filler wire, and the shielding gas flow rate, which allowed the nitrogen content in the weld metal to be directly dependent on the nitrogen content in the shielding gas. All this resulted in microstructural transformations in the welded joint and in changes in the pitting corrosion resistance. The aim of this work was also to confirm the proposed new theory of pitting corrosion [17] on the basis of the obtained results.

2 Experimental

2.1 Materials and welding parameters

The welding of X5CrNi18-10 stainless steel was performed by tungsten inert gas (TIG) welding using the welding equipment with an automatic wire feeder.

The welding samples were in the form of a plate (237 × 150 × 6 mm). Tungsten electrodes WT 20, alloyed with 2.0% thorium (2.4 mm in diameter), were used for welding.

The values of the welding parameters are given in Table 1. The values of the deposition rate of the filler wire, the welding speed, and the gas flow rate are maintained constant. In this way, the amount of nitrogen in the weld metal depends solely on the nitrogen amount in the shielding gas. In addition, the results shown in Table 1 indicate a good correlation between the welding current and the arc energy.

Table 1 Welding parameters

After welding, the welded joints were examined using nondestructive test methods (visual inspection, penetrants, and radiography). For further testing, welded joints of high quality were selected in accordance with ISO 5817 [25]. The dimensions of the seam groove are shown in Fig. 1a, and the welding layer sequence is shown in Fig. 1b.

Fig. 1
figure 1

a The dimensions of the seam groove before welding (mm). b The welding layer sequence

The chemical composition of the base metal, welding wire, and weld metal was determined. The content of individual elements was determined in accordance with relevant standards. The content of C and S was determined by the gas-volumetric method; the P content was determined by the photometric method; the Si content was determined by the gravimetric method; and the content of Cr, Ni, Mo, and Mn was determined by the atomic absorption spectrophotometric method. The content of N was determined by the titrimetric method in accordance with ISO 10702 [26]. The chemical composition of the base metal, welding wire, and weld metal tests is given in Tables 2 and 3.

Table 2 Chemical composition of the base metal and the welding wire, mass %
Table 3 Chemical composition of the weld metal, mass % (I = 130 A)

Argon and argon with 1.25 vol% nitrogen and 2.50 vol% nitrogen were used as shielding gas. The welding current was 130 and 150 A. The results in Table 3 show the increased nitrogen content in the weld metal at higher nitrogen content in the shielding gas.

It can be noticed that the concentration of Cr and Ni in the weld metal is lower than the prescribed concentration of these elements in the welding wire (Tables 2 and 3). This is due to burn-off losses during welding [28].

2.2 Ferrite number

The content of δ-ferrite (ferrite number, FN) in the weld metal was determined using Feritscope MP30E. Measurement of the ferrite number was performed at the measuring points distributed in the form of a network (measuring directions and measuring levels). Measuring directions (I to XI in Fig. 2) are arranged along the length of the weld metal at a distance of 20 mm. Measuring levels (− 10 to 10 in Fig. 2) are arranged parallel to the axis of the weld metal, at a distance of 10 mm. The axis representing the zero level is the longitudinal axis of the weld metal, and the numbering is performed symmetrically on both sides of the weld metal in the opposite directions, denoted by “+” and “−” (Fig. 2). The results of ferrite number measurements are given in Tables 4 and 5.

Fig. 2
figure 2

Feritscope, etalons for calibration, and welded joint sample with grid for FN measurements

Table 4 Ferrite number, FN (I = 130 A, Ar + 1.25 vol% N2)
Table 5 Average value of ferrite numbers

Table 5 shows that increased content of nitrogen in the shielding gas results in a reduction in the ferrite number value, i.e., a decrease in the δ-ferrite content in the weld metal.

2.3 Hardness

The hardness measurements of the welded joints were carried out using the Zwick device. The measurements were performed in the weld metal, in the HAZ, and in the base metal. The scheme of the measuring points is shown in Fig. 3. The results of hardness measurements are given in Table 6. The signs “− 2*” and “2*” refer to the average values of the results of the hardness measurements close to the fusion line.

Fig. 3
figure 3

Positions of hardness measurements (scheme)

Table 6 Results of hardness measurements

Table 6 shows that the hardness of the welded joint is slightly lower than the hardness of the base metal. The lowest hardness values were measured in the HAZ. The dependence of the welded joint hardness on the welding current level, i.e., on the arc energy input, cannot be noticed. Also, the presence of nitrogen in the shielding gas does not significantly affect the hardness of the welded joint.

The microstructure of the weld metal was studied using an optical microscope Olympus PMG3. Adler’s etching reagent was used to reveal weld metal microstructures.

2.4 Pitting corrosion testing

The potentiodynamic polarization method was used for testing pitting corrosion by a Bio-Logic SP-200 potentiostat/galvanostat. The tests were carried out in the weld metal of the welded joints. The test samples were wet ground with a progressively finer abrasive paper (400 to 1000 grit), and then degreased in ethanol, washed with distilled water, and dried in the air. A three-electrode electrochemical cell with a reference electrode (saturated calomel electrode, SCE) and an auxiliary electrode (Pt mesh) was used for the tests. The sample surface (weld metal) exposed to the test solution was 0.785 cm2. The tests were carried out at room temperature, in the test solution: 0.3 M NaCl + 0.1 M Na2SO4. Anodic polarization curves were recorded at a sweep rate of 0.5 mV s−1. After reaching the current density of 500 μA cm−2, the polarization direction was reversed. The value of Epit and the value of Eprot were determined from the recorded polarization curves. A characteristic polarization curve is shown in Fig. 4. The pitting potential Epit is defined as a potential corresponding to the anodic current density of 10 μA cm−2 in the region of stable pit growth, according to ISO 15158 [29]. The protection potential Eprot is the potential when the pit growth practically stops. Determination of pit formation indicator (Epit − Ecorr) and pit growth indicator (Epit − Eprot) is shown in Fig. 4.

Fig. 4
figure 4

Characteristic polarization curve with indicators of pitting corrosion

2.5 SEM/EDS measurements

The morphology of welded joints on the X5CrNi18-10 austenitic stainless steel surface after pitting corrosion tests was analyzed by a scanning electron microscope (SEM) JEOL JSM-6610LV, equipped for energy-dispersive spectroscopy (EDS) measurements. The microstructural analysis and the determination of the chemical composition of the austenite and ferrite phases in the weld metal were performed using the same SEM device. Several measurements of the chemical composition were performed for the ferrite and austenite phase in the weld metal.

3 Results and discussion

3.1 Microstructure

Figure 5 shows the microstructure of the weld metal (revealed using Adler’s etchant) for the welding current of 130 A, while Fig. 6 shows the microstructure of the weld metal for the welding current of 150 A. The light phase on these figures is the austenite phase, and the dark phase is the δ-ferrite phase. It can be seen that the content of δ-ferrite decreases with increasing nitrogen content in the shielding gas, for both welding currents [18]. This is in accordance with the measured values of ferrite number (Tables 4 and 5).

Fig. 5
figure 5

Microstructure of weld metal formed in the shielding gas a without N2, b with 1.25 vol% N2, and c with 2.50 vol% N2 (I = 130 A) (Adler’s etchant)

Fig. 6
figure 6

Microstructure of weld metal formed in the shielding gas a without N2, b with 1.25 vol% N2, and c with 2.50 vol% N2 (I = 150 A) (Adler’s etchant)

3.2 Pitting corrosion

The results of pitting corrosion tests are shown in Fig. 7. The values of pitting corrosion parameters (Ecorr, Epit, and Eprot) are also indicated in Fig. 7.

Fig. 7
figure 7

Potentiodynamic polarization curves on the weld metal formed in the shielding gas a without N2, b with 1.25 vol% N2, and c with 2.50 vol% N2 (I = 130 A and I = 150 A)

The relatively small current peaks on the polarization curves (Figs. 4 and 7) are caused by the appearance of metastable pits on the stainless steel surface. A gradual current increase to a certain value, followed by a sudden current decrease, indicates the appearance of metastable pits and their repassivation. This type of metastable pitting usually appears in austenitic stainless steels [7] and in their welded joints, as is shown in this paper (Figs. 4 and 7). Stable pits in the welded joints are formed with a further increase in potential. The current density rapidly and continuously increases during the stable pit growth.

The values of the pitting corrosion indicators (Epit − Ecorr and Epit − Eprot) are determined from the recorded polarization curves and shown in Table 8. The values of Ecorr before the pitting corrosion tests are relatively close. The nature of the Ecorr on AISI 304 stainless steel in chloride and sulfate solutions was discussed previously [30].

The experimental values of the pitting corrosion indicators for the weld metal formed in the nitrogen-free and different amounts of nitrogen-containing shielding gas are shown in Table 7, for the welding current of 130 and 150 A. The results in Fig. 7 and in Table 7 show that welding current has a significantly lower influence on the indicators of pitting corrosion resistance (Epit − Ecorr and Epit − Eprot), than the nitrogen content in the shielding gas. Nitrogen from the shielding gas is dissociated in the arc column and dissolved in the (molten) weld pool. The nitrogen content dependence in the weld metal on the nitrogen content in the shielding gas is shown in Fig. 8 for the welding current of 130 A. Values of the welding parameters (Table 1) were constant during welding, so it was possible to expect linear dependence between the nitrogen content in the shielding gas and the nitrogen content in the weld metal (for the selected range of nitrogen content in the shielding gas). The obtained dependence between the nitrogen content in the shielding gas and the nitrogen content in the weld metal is shown in Fig. 8. However, it was not possible to precisely define the type of this dependence, because there were not enough experimental data.

Table 7 Indicators of pitting corrosion
Fig. 8
figure 8

Dependence of the nitrogen content in the weld metal on the nitrogen content in the shielding gas (I = 130 A)

Figure 9 shows the dependence of the pitting corrosion resistance on the nitrogen content in the weld metal. Figure 9a shows the dependence of the resistance to pit formation (Epit − Ecorr), and Fig. 9b shows the dependence of the resistance to pit growth (Epit − Eprot) on the nitrogen content in the weld metal. Figure 9c shows the dependence of the pit formation indicator (Epit − Ecorr) on the pit growth indicator (Epit − Eprot), for I = 130 A. Figure 10 shows the corresponding dependencies for the welding current I = 150 A.

Fig. 9
figure 9

Dependence of aEpit − Ecorr and bEpit − Eprot on the nitrogen content in the weld metal, and the dependence of cEpit − Ecorr on Epit − Eprot (I = 130 A)

Fig. 10
figure 10

Dependence of aEpit − Ecorr and bEpit − Eprot on the nitrogen content in the weld metal and the dependence of cEpit − Ecorr on Epit − Eprot (I = 150 A)

Due to the relatively low PREN (pitting resistance number) and the presence of the ferrite and austenite phase (Figs. 5 and 6), the weld metal often shows a relatively high susceptibility to pit formation. Pits can be formed at the phase boundary austenite/ferrite in the weld metal [18]. With increasing of the nitrogen content in the weld metal, the resistance to pit formation increases, but the resistance to pit growth decreases. The greater difference (Epit − Eprot) indicates less resistance to pit growth. There is still not an unambiguous answer whether it is more important for the safety of the construction that austenitic stainless steels have less resistance to pit formation or less resistance to pit growth. Obviously, this depends on the chemical composition and corrosive media interdependency as well as on the surface roughness. According to ISO 15158 [23], the resistance to pitting corrosion of the austenitic stainless steels is determined based on the resistance to pit formation (Epit). The resistance of austenitic stainless steels to crevice corrosion is determined according to the ASTM G78 standard [31]. The resistance to crevice corrosion has been shown to be in direct correlation with the resistance to pit growth [14], because both initiation mechanisms are quite similar. According to the ASTM F2129 standard [12], the resistance of austenitic stainless steels to pitting corrosion is determined on the basis of both indicators (Epit and Eprot).

As it can be seen in Figs. 9 and 10, the values of Epit − Ecorr are higher for the weld metal which contains more nitrogen than for the weld metal with less nitrogen. The decrease in the acidity of the solution within the pit, i.e., the increase of pH value due to the formation of ammonia ions in the presence of nitrogen, explains a higher resistance to pit formation in the weld metal [19,20,21]. In addition, the fraction of δ-ferrite in the weld metal is reduced in the presence of nitrogen. This has a favorable effect on the weld metal resistance to pitting corrosion. It can be seen in Figs. 5, 6, and 11 that the content of δ-ferrite in the weld metal strongly depends on the nitrogen content in the shielding gas. Nitrogen as a strong austenite former is often used as an alloying element in duplex stainless steels in order to regulate their microstructure and to increase their resistance to pitting corrosion [18]. Austenitic stainless steels alloyed with nitrogen are also commercially produced.

Fig. 11
figure 11

SEM/EDS for the weld metal formed in the shielding gas: a without N2, b with 1.25 vol% N2, and c with 2.50 vol% N2 (I = 130 A)

After welding in the nitrogen-free shielding gas, the content of δ-ferrite (i.e., FN) in the weld metal was 9.3. During welding in the shielding gas with 1.25 vol% nitrogen, the FN decreases to 3.0, while in the case of the shielding gas with 2.50 vol% nitrogen, the FN decreases to 1.8 (Table 5). The chromium content in δ-ferrite is higher than the average chromium content in the weld metal. The presence of nitrogen in the weld metal resulted in a decrease in the fraction of δ-ferrite (rich in chromium). This led to a higher amount of austenite in the weld metal, and the chromium content was more homogeneous. δ-Ferrite is a chromium sink that reduces the amount of dissolved chromium atoms in the austenite matrix, which results in less corrosion resistance of the welded joint. Chromium-depleted zones with less resistance to pit initiation are formed close to phase boundary austenite/ferrite [32].

3.3 SEM/EDS

The concentration of chromium and other alloying elements in the weld metal was determined by SEM/EDS measurements. The dark and bright fields in Fig. 11 represent the ferrite phase and the austenite phase, respectively. Table 8 shows the typical results of the performed SEM/EDS measurements.

Table 8 Cr and Fe content in the ferrite and austenite phase, for the weld metal (I = 130 A)

Table 8 shows that the concentration ratio Cr/Fe in the austenite phase increases when the nitrogen content in the shielding gas increases (spectrum 2). The concentration ratio Cr/Fe in the ferrite phase has an approximately constant value, regardless of the nitrogen content in the weld metal (spectrum 1). An increase in the Cr/Fe concentration ratio in the austenite phase is a result of a less fraction of the ferrite phase (rich in chromium) in the weld metal, when the nitrogen content increases.

Pit formation in the weld metal is easier at the ferrite/austenite phase boundary. In the presence of nitrogen, the microstructure of the weld metal becomes more homogenized, the distribution of alloying elements becomes more uniform, and the surface of the ferrite/austenite phase boundaries is reduced (Figs. 4, 5, and 11). The difference between the ferrite and austenite phase composition is less and also the difference between the electrode potentials of these phases. This results in a lower thermodynamic driving force for corrosion occurrence. All this leads to the increase of the resistance to pit formation in the weld metal. Also, as mentioned earlier, the acidity of the solution within the pit decreases in the presence of nitrogen due to the formation of ammonia ions, which also increases the resistance to pit formation.

It should be noticed that the presence of δ-ferrite in the weld metal is necessary for mechanical integrity of the welded joint. The content of δ-ferrite should be 3 to 15% [18]. The susceptibility of welded joints to hot cracking is significantly less in the presence of δ-ferrite in the weld metal.

In the presence of nitrogen, the resistance to pit formation in the weld metal is significant although the weld metal does not contain molybdenum, so that the synergetic effect of nitrogen and molybdenum is missing. A filler metal with a higher content of Cr and Ni, compared to their content in the base metal, was applied in this work, because of burn-off losses during welding (Table 2). Thus, a similar pitting corrosion resistance of the weld metal (without nitrogen) was obtained as that of the base metal. Results of pitting corrosion testing of the austenitic stainless steel X5CrNi18-10 (base metal) are presented in our previous paper [33]. The use of a filler metal with Mo was not necessary in this work. In the case of Mo-grade austenitic stainless steels, slightly alloyed Mo-grade filler metal must be applied (also due to burn-off losses during welding).

As mentioned before, with an increase in the nitrogen content in the weld metal, its resistance to pit formation increases (Epit − Ecorr value increases), while the resistance to pit growth decreases. The resistance of the weld metal to pit growth is less because the difference Epit − Eprot is higher. The results presented in this paper are also the confirmation of the new theory of pitting corrosion proposed by Frankel, Li, and Scully [17]. In accordance with the proposed theory, if the resistance of a stainless steel to pit formation is greater, the resistance of this stainless steel to pit growth is less. In this case, the formed pits grow faster, i.e., their repassivation is more difficult. The presence of nitrogen increases the resistance of the weld metal to pit formation and reduces its resistance to pit growth.

Although the results presented in this paper are consistent with the proposed theory of pitting corrosion [17], the physical essence of the processes that lead to increased susceptibility of the weld metal to pit growth compared to the weld metal without nitrogen is still insufficiently clear. It can be assumed that a large difference between a pitting potential value and a corrosion potential value (Epit − Ecorr) is a thermodynamic driving force that facilitates pit growth. The thermodynamic driving force (ΔG) for corrosion occurrence is directly proportional to the potential difference ΔEG ~ ΔE). A good example is galvanic corrosion where a thermodynamic driving force strongly depends on the potential difference between metals in a galvanic contact.

4 Conclusion

The influence of welding parameters on pit initiation and pit growth in welded joints of X5CrNi18-10 stainless steel was studied. The obtained results showed that welding current and arc energy have a significantly lower influence on the resistance to pit formation and pit growth, than the nitrogen content in the shielding gas. Welding current and arc energy input are typical working parameter windows for welding of stainless steels.

The key factor for pit initiation and pit growth is the content of nitrogen in the shielding gas. The potentiodynamic polarization method was used for testing of the pitting corrosion resistance. It was shown that the resistance to pit formation in the weld metal was higher when welding was performed in a nitrogen-containing shielding gas. With an increase of the nitrogen content in the shielding gas, the nitrogen content in the weld metal increases almost linearly. In the presence of nitrogen, the fraction of δ-ferrite is reduced, as well as the ferrite/austenite phase boundary area. The chromium distribution becomes more uniform due to the homogeneous microstructure. Consequently, the resistance of the weld metal to pit formation is increased.

Due to the formation of ammonia ions in the presence of nitrogen in the weld metal, the acidity of the solution within the pit decreases, which also increases the resistance to pit formation. With the increase of the nitrogen content in the shielding gas, the resistance of the weld metal to pit growth decreases. It can be assumed that a large difference between the values of pitting potential and corrosion potential is a thermodynamic driving force that makes pit growth easier. Summarized, the presence of nitrogen increases the resistance of the weld metal to pit formation and reduces its resistance to pit growth. This is consistent with the proposed new theory of pitting corrosion.