Effect of Microstructure on Hydrogen Diffusion in Weld and API X 52 Pipeline Steel Base Metals under Cathodic Protection

1Mechanical Engineering Department, Universidade Federal de São João Del Rei (UFSJ), 170 Praça Frei Orlando, 36307-352 São João Del Rei, MG, Brazil 2Postgraduate Program in Materials Science and Engineering, Universidade Federal da Paraı́ba (UFPB), João Pessoa, PB, Brazil 3Metallurgical and Materials Engineering Department, Universidade Federal do Rio de Janeiro (UFRJ), Ilha do Fundão, Bloco F, Rio de Janeiro, RJ, Brazil


Introduction
The great challenge for increasing oil and gas productions has been the need for more detailed studies related to steel for pipelines applications.Therefore, the knowledge about mechanical behavior and microstructure of steels [1,2] for manufacturing these pipelines is important to assure integrity and safety conditions of operation, which is extremely important for oil and gas industry [3,4].
It requires a continual improvement of steels grade API X52 [5] in order to prevent failure.Han et al. [6] showed that the welding procedure involved in the manufacture of pipes might modify the microstructure of the base metal in the region of heat-affected zone (HAZ).Therefore, the mechanical properties in this region are changed.
Metal fractures related to "environmentally induced cracking" are often associated with stress corrosion cracking (SCC) or hydrogen embrittlement (HE) mechanisms [7][8][9].Some researchers believe that the process of external cracking of pipelines in contact with soil pH near neutral is associated with HE instead of SCC [2,4,10].
The initial process in HE is associated with the diffusion of hydrogen through the material.Hydrogen permeation starts when there is atomic hydrogen on the metal surface; therefore, the hydrogen can diffuse into the metal.A large amount of atomic hydrogen can recombine inside the metal forming H 2 , which is retained in the form of gas bubble under high pressure inside the metal.Furthermore, it is well known that initiation and propagation of cracks occur from these points of hydrogen concentration [11].Therefore, it is important to evaluate if the hydrogen diffusion occurs differently through different microstructure, such as base metal and weld metal.
In pipelines, the external HE is associated with the excessive cathodic potential imposed and soils contaminated with sulfate-reducing bacteria (SRB) [12].Contreras et al. [13] pointed out that minimal amounts of H 2 S are enough to cause HE.Then, external cracking caused by hydrogen 2 International Journal of Corrosion embrittlement could be associated with SRB.These bacteria use sulfate as an oxidizing agent, reducing to sulfide (H 2 S).Plus, they can also utilize oxidized sulfur compounds such as thiosulfate and sulfite or even elemental sulfur.In the presence of H 2 S produced by these bacteria, the reaction of atomic hydrogen recombination to molecular hydrogen is retarded, thereby permitting the diffusion of atomic hydrogen through the metal [10].
Microbiologically influenced corrosion (MIC) is a major problem in many industries, such as oil and gas.According to Xu et al. [14] many attacks of anaerobic MIC can be classified by two types based on the two anaerobic metabolisms: respiration and fermentation.Therefore, the mechanism of SRB involves microorganisms that perform an aerobic respiration.For example, SRB respiration typically uses sulfate as the terminal electron acceptor.Venzlaff et al. [15] reported that SRB gain biochemical energy for growth by reducing sulfate (SO 4 ) to sulfide (H 2 S, HS − ) with natural organic compounds as electron donors, which are oxidized to CO 2 (also referred to as sulfate respiration).However, if the SRB have contact with carbon steel, the Fe acts as an electron donor for its respiration [16].Then, the reaction involved in anaerobic respiration using Fe 0 is Fe − Fe 2+ + 2e − .In the absence of oxygen, electrons must be accepted by a nonoxygen oxidant [13]; thus, SRB use SO 4 as an oxidizing agent.SO 4 is reduced to H 2 S and HS − through the reaction SO −4 Horowitz [17] showed an increase in the amount of hydrogen during permeation tests with the use of sodium thiosulfate solution.The sodium thiosulfate solution allows the generation and stabilization of H 2 S on the metallic surface.These tests were carried out applying cathodic potentials.According to Pourbaix diagram for H 2 S, when cathodic potential is imposed, the steel is located into H 2 S domain [18].Therefore, the sodium thiosulfate is reduced to H 2 S. The reaction depends on the potential applied and the pH of the solution.
Another problem related to HE is because the steels, used in the manufacture of pipelines for transporting oil and derivatives, are exposed to excessive cathodic protection.Therefore, cathodic potentials imposed on the external part of pipelines promote hydrogen reduction, which becomes thermodynamically spontaneous on the metal surface [19].Bueno et al. [4,12] report that API X46 carbon steel exhibited a decreasing ductility as long as cathodic potentials were imposed.This effect was more evident in soil solutions than in NS4 standard solution.The deterioration mechanism is related to the influence of hydrogen.Transgranular cracking occurred even under cathodic conditions where the anodic dissolution of the steel can be considered as negligible.
Recent studies gave emphasis to the influence of the metal structure in hydrogen permeation [1,2,20] and discuss the effective diffusion coefficient.Lan et al. [1] studied the hydrogen permeation behavior in relation to microstructural evolution of low carbon bainitic steel weldments.They have shown that the effective diffusion coefficient in the welded joint is highly affected by the heat input.This is mainly due to coarsening grain and inclusion sizes.Park et al. [2] tested the hydrogen trapping efficiency of API X65 and showed an increase in order of ferrite/degenerated pearlite, ferrite/bainite, and ferrite/acicular ferrite.Haq et al. [20] showed that, due to hydrogen trapping, X70 medium strip exhibits lower hydrogen diffusivity than the standard Mn strip.This is mainly due to finer ferrite grains and a higher density of carbonitride precipitates.Fischer et al. [21] indicated that under specific circumstances the diffusion of hydrogen cannot be described well by a constant effective diffusion coefficient due to the presence of hydrogen traps and the magnitude of the concentration gradient of hydrogen.
The aim of this paper was to evaluate the influence of microstructure and some inclusions on the susceptibility of hydrogen permeation of API X52 carbon steel (base metal and weld metal) submitted to the cathodic protection system.Different types of microstructures were obtained by heat treatments, such as quenching and annealing under different temperatures.The hydrogen permeation tests in these microstructures were compared and evaluated in the presence of a synthetic modified soil solution NS4 + sodium thiosulfate concentration of 10 −2 M.

Methods and Materials
The material used was an API X52 pipeline carbon steel under different conditions: base metal, as received; welded metal; base metal after quenching heat treatment; base metal after annealed heat treatment.The evaluation of the chemical composition was carried out by Optical Emission Spectroscopy (OES).Table 1 shows the results in weight percent (wt%) of the chemical elements present in the base metal (BM) and the weld metal (WM).
The microstructures of the samples were produced by different heat treatment.Base metals were heated at 900 ∘ C for two hours.Then, the samples were submitted to a quenching process performed in a solution of water, ice, and salt.The annealed samples were left in the oven until it reaches at room temperature.All the tests were performed in triplicate.The specimens and conditions of heat treatment are described in Table 2.
The metallographic analysis and microstructure characterization were performed according to Bott et al. [24], The presence of austenite-martensite phases was detected by SEM after double electrolytic attack.The following steps were used to the attack: initially 5 g EDTA, 0.5 g of NaF, and 100 ml of distilled water at 5 V for 15 seconds were used; secondly 5 g of picric acid and 25 g NaOH were used; finally, 100 ml of distilled water at 100 V for 5 seconds was used.
The hardness tests were conducted to supplement the materials characterization.These were performed on Rockwell B scale using sphere 1/16  with a load of 100 kg and Rockwell C using diamond cone with a load of 150 kg.
The electrochemical test performed was potentiodynamic polarization curves.The potentiostat used in polarization tests was AUTOLAB models: Autolab type III/FRA 2 and PGSTAT 128N coupled to computers NOVA 1:10 software.The scan rate adopted was 1.0 mV⋅s −1 , and the applied potential range covered a value of −1.5 V to 0.5 V.The measurements were performed at room temperature (25 ∘ C ± 3 ∘ C).The cell used was a conventional three-electrode cell, being platinum as counter electrode, saturated calomel (SCE) as reference electrode, and the working electrode (samples of API X52 carbon steel).The specimens for the electrochemical tests were cut, embedded in cold resin, and ground with SiC paper up to 600 grit.The exposed area of the samples for permeation tests at Devanathan cell was 0.75 cm 2 .For polarization experiments, the exposed area was 1 cm 2 .
Synthetic soil solution, also called NS4 solution, was used during the test, to simulate a synthetic soil, with pH around 8.4.The solution was made according to Parkins et al. [25].The composition was (in g/l) KCl: 0.122, NaHCO 3 : 0.483, CaCl 2 : 0.093, and MgSO 4 : 0.131.Plus, the synthetic solution NS4 + sodium thiosulfate was used to study the effect caused by sulfate-reducing bacteria.It was prepared with a concentration of 10 −2 M of sodium thiosulfate in the standard NS4 solution.Some studies [26] adjust the pH to 6,5-7, in order to evaluate soils with this characteristic by bubbling a mixture of CO 2 and N 2 .
The hydrogen permeation tests were carried out with the most aggressive solution, NS4 + sodium thiosulfate.The potentiostat used in hydrogen permeation tests was AUTO-LAB models: Autolab type III/FRA 2 and PGSTAT 128 N coupled to computers NOVA 1:10 software.The Devanathan cell was utilized in the test using specimens with a thickness of 2 mm.Both sides of the steel specimen were in contact with different solutions controlled by independent potentiostats.The anodic side of the cell was filled with 1 M of NaOH solution and the cathodic side was filled with NS4 + sodium thiosulfate solution.The counter electrode of the anodic side cell was attached to a computer to measure the anodic current.Hydrogen permeation tests were carried out in the following steps.
(1) Assemble the hydrogen permeation Devanathan cell containing the steel specimen.
(2) 1 M NaOH solution was introduced in the anodic side and the system was stabilized at the open circuit potential (OCP).
(3) Application of anodic potential 100 mV above the free corrosion potential was done at the anodic side until the anodic passive current density became stable and below 1 A/cm 2 .
(4) Introduction of NS4 solutions was done in the cathodic side which remained at the open circuit potential during 20 h.
(5) Application of cathodic potential of −1.5 V (ECS) was done for 24 h.The test piece used was a flat plate of API X52 steel polished with diamond paste on both sides, with thickness and permeation section area constant.The cathodic potential applied of −1.5 V below OCP was carried out in order to simulate cathodic protection system [27], once ISO 15589-1 indicates that from values lower than −1.2 V the steel is already suffering effects of hydrogen embrittlement.
The diffusion coefficient (), in transient state, can be measured through various different methods as found in the literature.In this research, the three most common methods were used: Time Lag, Breakthrough, and Fourier, calculated according to literature [20,28,29].

Chemical Analysis.
The API 5L standard [5] classifies carbon steel for the manufacture of pipes used in pipelines transportation system in the petroleum and natural gas industries.The requirements used in the standard are divided into two levels for seamless and welded pipelines: PSL1 and PSL2.The PSL1 requirement is a loose standard quality for line pipe, whereas PSL2 contains additional testing requirement and stricter chemical physicals, along with different ceiling limits of mechanical properties, and requires Charpy impact testing conditions.According to Table 3, base metal reaches the chemical requirement of PSL1; however the same is nonconformity with PSL2 due to the carbon content limits (Table 1).Weld metal is in accordance with the required specifications of PSL2 chemical composition.

Metallographic Features.
The metallographic characterization of the samples was conducted on all heat treatment conditions specified on Table 2: base metal (BM), weld metal (WM), annealed base metal (ABM), and quenched base metal (QBM).The hardness tests were performed to complement the materials characterization, as shown in Table 4. Figure 1 shows optical microscopy image of the positions where the metallographic analyses were performed.Figure 2 presents the interface between WM and HAZ, showing the difference between the microstructures.HAZ presents mainly pearlite grains, shown to be affected by the heat produced during the welding process.According to Vargas-Arista et al. [30] SEM analysis, HAZ generated by the welding thermal cycle showed a complex recrystallized microstructure located near to the fusion line, formed by coarse-grained ferrite, acicular ferrite, small discontinuous pearlite colonies, and few bainite grains.
Base metal (Figure 3) presented heterogeneous distribution of ferrite and fine pearlite grains with grain boundaries well-defined.This microstructure arrangement presents an intermediary value for hardness in Table 4.The same microstructure for the API X52 steel was found in several other literatures [31,32], owning a ferritic-pearlitic combination.
The weld metal in region 4 (Figure 4) showed a microstructure formed by low recrystallization, where it is possible to observe pearlitic microstructure and a decrease in grain size with degenerated pearlite regions.This fact was discussed by Park et al. [2] and can be explained because the degenerated pearlite structure, without the banding pattern, was different from pearlite evolved by normalizing and slow cooling treatment.The cooling rate in the weld metal was higher than necessary to form typical pearlite; thus the carbon diffusion was not enough to create lamellar structure of cementite.
Figure 5 shows the heat-affected zone (HAZ), where there is a great similarity with the microstructure of the BM; the little difference is due to the thermal effect caused by the deposition of the weld bead, which provides an increase grain boundary density in the microstructure of HAZ.Scanning electron microscopy (SEM) was performed at 3 different positions at the welded joint, as shown in optical image on Figure 6.The BM (Figure 7(a)) presents predominate phases of ferrite and pearlite.The HAZ and WM (Figures 7(b) and 7(c)) present phases of ferrite and pearlite with constituents of martensite/austenite (M/A); this constituent cannot be observed by optical analysis (OM), called constituent M/A or micro phase M/A, regions of microscopic dimensions presented in C-Mn steels, and low alloy that consists of cells stabilized austenite.Chatzidouros et al. [31] emphasize that most pipeline steels are manufactured using thermomechanical processes that involve multiple heating and rolling stages which favor the formation of M/A constituents in low carbon steels.This micro constituent directly affects the tenacity of material due to high hardness and fragility, where the high density of discordances in the submicrostructure contributes to this formation.The M/A sites are mostly present in the grain boundaries of ferrite and bainite grains shown in Figure 7(c); however they occasionally could also be observed within the phase of pearlite between the cementite lamellar.
Observations of the materials, without chemical attack, revealed the presence of a significant amount of inclusions, as shown in Figure 8.
EDS technique was used to evaluate the composition of the inclusions.Figure 9 shows the WM inclusions analyses.Therefore, the inclusions presented in API X52 carbon steel showed, besides aluminum and calcium, significant concentrations of S and Mn.Haq et al. [20] have concluded that MnS inclusions are considered strong irreversible trapping sites for hydrogen, working as follows: during the solidification of steel, Mn can combine with S giving rise to MnS inclusions.The behavior of inclusions/matrix metal interface is reported by literature as strong trapping sites for hydrogen, consequently decreasing the hydrogen flux through the material.
After heat treatments, SEM analyses show that the ABM (Figure 10(a)) and BM (Figure 7(a)) present the same microstructure; however the BM grain size is slightly lower.This is evidenced by the greater hardness submitted by BM.The quenched base metal specimens presented martensitic structure, but due to the low carbon they have noted some ferrite sites, as proved in Figure 10(b).The heat treatment changes can also be noted in hardness values (Table 4) where  6 International Journal of Corrosion   there is a significant difference in hardness between QBM and ABM.

Polarization.
The cathodic and anodic polarization curves were carried out in order to evaluate if the microstructure could affect the corrosion resistance of the API X52 carbon steel.Curves were obtained in the solutions NS4 and NS4 + sodium thiosulfate shown in Figure 11, related to BM and WM.The anodic current density was highest for NS4 + sodium thiosulfate solution, and it may be attributed to reduction reaction of sodium thiosulfate that converted into H 2 S.This makes it more aggressive than the NS4 standard solution.Thus, the electrochemical tests for the specimens ABM and QBM were performed only in this solution (Figure 12 and Table 5).Table 5 shows the open circuit potential (OCP) in each test condition as well as the values of current density at 50 mV and 100 mV (SCE) above open circuit potential (OCP).
All the samples showed active dissolution in all tested conditions.Therefore, any domain of passivation in a range of 700 mV of anodic polarization was not observed.The cathodic currents density observed, in all tests, can be attributed to the reduction reactions of hydrogen and oxygen.
It is possible to note a significant variation of the density current occurred when the sodium thiosulfate was added, showed on Table 5.The addition of thiosulfate accentuated the corrosion process, anodic density current increase with respect to the solution without sodium thiosulfate.It proves that the solutions with sodium thiosulfate presented a corrosion potential more anodic, becoming more aggressive, which evidence the results obtained in the polarization curves.
The open circuit potential (OCP) of Figures 11 and 12 and Table 5 was analyzed according to the Pourbaix electrochemical equilibrium diagram for the system Fe/H 2 O, at 25 ∘ C [18].All the specimens, in both solutions, presented OCP within the domain of corrosion and below the equilibrium line H/H + .In this case, the reactions of Fe/Fe 2+ anodic dissolution and reduction of hydrogen are thermodynamically spontaneous.Thus, all of samples showed effect of active dissolution, being within the domain of corrosion with solubility of Fe 2+ ion, as well as the reaction of hydrogen reduction on the metal surface.In addition, it is possible to note that the anodic current densities increase in relation to the applied potential above 50 mV and 100 mV of the OCP, proving that all samples presented active dissolution.The anodic current densities, measured at 50 and 100 mV above OCP in all specimens tested with NS4 + thiosulfate solution, presented similar values (Table 5).In other words, it is possible to conclude that different microstructures have no significant effects about corrosion resistance.
3.4.Hydrogen Permeation. Figure 13 presents the permeation test of all specimens.They were performed by hydrogen permeation using an aggressive solution, namely, NS4 + sodium thiosulfate, already evidenced in polarization test and by some authors [33][34][35], as a solution of soil synthetic contaminated with SRB.The permeation tests with cathodic potential applied of −1.5 V below OCP were carried out in order to simulate cathodic protection system.The solution NS4 + sodium thiosulfate was able to induce absorption and permeation of hydrogen in all materials tested and it was used to simulate the effect of H 2 S in synthetic soil solution.The effect of H 2 S can be compared to the effect of SRB in the same environment, preventing H 0 from turning into H 2 .Due to the addition of sodium thiosulfate, the potential of the cathode side in contact with the API X52 carbon steel was located within the domain of stability of H 2 S (Figure 14).Therefore, there is an increase in the activity of ions and reduction hydrogen on the steel surface.
As found in the literature, there are different factors that involve the hydrogen flow through the material.During the initial stage, the permeation process resembles a stationary permeation behavior, but in a second stage a progressive increase of current starts as the time goes by.However, this rise of current occurs differently in the carbon steel.Thus, this difference in the current flow is probably due to the microstructural characteristics, like the carbide form and size of grains differentiated among the studied conditions [1,28].
Hydrogen diffusion coefficient in steel matrix generally is very small at low temperatures.Therefore, most of hydrogen is retained not in the unit cells interstices but in different sites commonly called traps.These traps have been related to microstructural features such as dislocations, interfaces, vacancies, impurity atoms, micro voids, or any other lattice defect [19,36].The trap densities are inversely proportional to the diffusion coefficients [20].Literature [37,38] reports that when the carbon steel is submitted to a heat treatment, it changes the structural arrangement of the carbides (Fe 3 C) which assume different forms for each one.These different forms promote significantly modifications on permeability properties in relation to the diffusion constant and the solubility of hydrogen in the carbon steel.The typical pearlite, formed by both cementite (carbide) and ferrite, in lamellar shape, is a weak hydrogen trap due to its continuous interphase which acts as a freeway to the hydrogen, easing the diffusivity.This feature is present in the BM and ABM and it is one of the reasons that they display high diffusion compared to the other two (Figure 13).On the other hand the presence of an irregular thin cementite, which holds hydrogen inside the metal acting as a trap, contributes to the lower diffusivity as is shown by WM.Similar results were obtained by Ramunni et al. [38].

International Journal of Corrosion
There are reports in the literature that affirm that Mn, S, and other inclusions, as shown in Figure 9, are some of the reasons that contribute to variance of ease with which the hydrogen is solubilized or diffused on metallic materials solid at room temperature [20,39].In other words, MnS inclusions are considered strong irreversible trapping sites for hydrogen, being reported by literature as strong trapping sites for hydrogen, consequently decreasing the hydrogen flux through the material.However, this research had not been able to perform the hydrogen permeation tests directly on the inclusion to be sure that only they would affect the hydrogen permeation flux.
The data of the permeation tests are listed in Table 6, showing the highest density current and the time needed to reach that for each microstructure of the API X52 carbon steel.
These values are in accordance with other authors [2,38,39].These authors report that so many parameters can influence the hydrogen diffusion into the microstructure.The hydrogen permeation cannot be considered constant inside the metal during the Devanathan cell test because of the hydrogen trapping process.Thus, only an apparent diffusion coefficient can be evaluated.Moreover, the microstructure, inclusions, dislocations, grain boundaries, grains shapes, International Journal of Corrosion  vacancies, interfaces with nonmetallic inclusions, precipitated particles, and void can act as traps and affect hydrogen movement through the material.Then, hydrogen diffusibility is associated with the diffusion process controlled by Fick's laws and physic-chemical reaction of hydrogen with traps inside the bulk.The effective diffusion coefficient ( eff ) is an important parameter used in studies of chemical elements diffusion on solid and liquid matrices.In the present work, the coefficient was studied for all four different samples submitted to 3 different methods to calculate.The methods known as Time Lag and Breakthrough are employed to estimate the  eff values using specific points of the permeation curves.Fourier method is more complex once it uses all the data points from the transient part of the permeation curve to determine  eff ; however, the method is considered more accurate.Figure 15 shows the hydrogen permeation results for BM samples using all three methods.Permeation times used to calculate  eff are represented by t L (Time Lag) and t B (Breakthrough) in Figure 15(a).Fourier method was used to estimate  eff from the graphic in Figure 15(b) [28].
Table 7 summarizes all the data collected from electrochemical permeation tests, for all the conditions.Samples that presented higher stationary permeation currents ( ∞ ) also showed higher values of effective diffusion coefficient ( eff ).WM obtained the lowest effective diffusion coefficient followed by ABM, BM, and QBM, respectively.
The values obtained for  eff are in accordance with the literature in Table 8.Comparing Tables 7 and 8, Time Lag method presented the lowest values of  eff , while Breakthrough and Fourier methods showed similar values, except for QBM.In contrast, literature data showed less variation and Fourier method produced low values for API X52 steel.The distinct results obtained could be associated with different parameters used for the tests.Also, the different steels used can imply higher quantities of alloy elements present in the composition, increasing the amount of precipitates, which contributes to the reduction of the hydrogen diffusion.

Annealed Base Metal (ABM).
The highest hydrogen flux occurred in the ABM samples as evidenced in Figure 13 and Table 6.Annealed samples showed in the micrographs (Figure 7) considerable grain growth for ferrite and the presence of pearlite formation at the edges with the decrease of hardness.Consequently, the microstructure with large grains size favored the increase on the hydrogen flow through the metal.The annealed microstructure (Figure 7) had lower discordances density than other samples.Therefore, according to Haq et al. [20], ferrite grains often show the highest diffusivity.At the grain boundaries, the pearlite does not act as a blocking to the flux.The lamellar interface of cementite and ferrite within pearlite creates an easy path for hydrogen pass through.In addition, Svoboda et al. [39] confirmed that annealing thermal treatment was enough to recover the majority of defects, decreasing the discordance density, with only a small amount of them remaining.Thereby, the hydrogen atom could easily pass through the metal, the fact that was also confirmed by Han et al. [6].
The diffusivity of hydrogen in pure -iron (ferrite) is around 10 −3 mm 2 ⋅s −1 .The value obtained for ABM samples (Table 6) (2.28 × 10 −4 mm 2 ⋅s −1 ) is lower due to the presence of pearlite and inclusions.In addition, it is close to those found by Park et al. [2] (9.27 × 10 −4 mm 2 ⋅s −1 ) that used similar composition.The slight difference of values can be explained by the difference between the parameters used in both researches; the sample thickness and the current density applied on the cathodic side were different.

Base Metal (BM).
Base metal was tested as received, showing micrographs with similar microstructure to ABM, being mainly ferrite grains with pearlite formation at the edges.However, there is a grain size difference.Therefore, it is not possible to affirm what heat treatment the BM was submitted to during its production; however BM presented smaller grain size than ABM, which was submitted to a heat treatment at the laboratory.
The smaller grain size in relation to ABM causes an increase in the number of discordances and defects, raising the hydrogen trapping density and decreasing the diffusion coefficient (Table 6).It was also observed by Haq et al. [20].
BM had the second highest hydrogen diffusion, below only the ABM and above the other samples.These results are in accordance with Luu and Wu [40], where the authors compared the diffusion coefficient of different microstructures and concluded that regular ferrite shows the highest values.Han et al. [6] found similar results and concluded that equiaxed ferrite grains and pearlite, as presented in BM, favor the diffusivity of hydrogen due to the low trap density compared with other microstructures.
Comparing Figures 3 and 10(a), BM presented small grain sizes than ABM.According to Haq et al. [20] ferrite grain sizes smaller than 45 m can reduce the mobility of hydrogen by trapping at nodes and triple junctions.Then, finer grains could increase the trapping of hydrogen and thereby give rise to a lower diffusion coefficient.

Quenched Base Metal (QBM).
The tests conducted on the QBM (Figure 13 and Table 6) showed lower current flow and enhancement of the time to reach a stationary value to hydrogen permeation than the ABM and BM.Similar results were obtained by Nagu et al. [37] where the quenched material had martensitic interlath interfaces with a bodycentered tetragonal (BCT) matrix, small grains, a large extension of grains boundaries, high density of dislocations, and carbide/matrix interfaces.Therefore, all these characteristics acted as hydrogen traps.The grain boundaries reduce the mobility of hydrogen, acting as reversible hydrogen trapping sites at nodes and junction points [20].
The traps of QBM samples were effective in delaying the hydrogen transport compared with the ABM and BM samples.The fastest cooling rate during heat treatment process promoted the phase transformation to martensite at lower temperature with an increase in dislocations density, arising from the transformation volume change (Figures 10(a) and 10(b)).Then, this behavior is probably due to the difference in grain size caused by thermal treatments performed and generated several changes in the structure of the material.
Considering the dislocations acting as traps for hydrogen, the combined effect of a lower grain size and higher dislocation density could result in the strong trapping hydrogen.It is known that the quenched samples have martensitic microstructure, which owns an atomic arrangement in bodycentered tetragonal (BCT) matrix.Thereby, stable phases at room temperature (ferrite and cementite) cannot be formed due to the fast cooling, differently from the annealed samples (ABM) and the base metal (BM) that present a mixture of ferrite/cementite (pearlite) and grains of ferrite bodycentered cubic system (BCC) [20].
The results are in accordance with literature, where Luu and Wu [40] also showed that lower permeation and diffusivity of hydrogen occur in martensitic microstructure due to high density of defects and discontinuities imposed by fast cooling.Plus, there is the fact that the matrix is saturated with carbon that does not completely diffuse.Therefore, these combinations of factors act as strong traps and significantly decrease the hydrogen flow.The diffusion coefficient of martensite reported by Olden et al. [41] for API steel X70 is 1.26 × 10 −5 mm 2 ⋅s −1 and it is lower than those found to ferrite/perlite, 7.60 × 10 mm 2 ⋅s −1 .These values are in accordance with this present project; however it shows one order of magnitude lower.It could be explained by the higher level of micro-allowing elements than those present on API X52 steel, which might form precipitations that act as strong traps.Luppo and Ovejero-Garcia [42] also reported similar results, affirming that the hydrogen diffusivity attains a minimum value in a fresh martensite because of the high density of lattice imperfections introduced by martensitic structure.Thus, it is confirmed that the martensitic transformation acts as traps for diffusing hydrogen atoms and consequently a decrease in diffusivity and hydrogen permeation flux.
Svoboda et al. [39] reported that the main factor affecting hydrogen permeation is the hardness, if compared with microstructure or chemical composition.There is a general trend of decreasing the diffusion coefficient with the increasing of strength.However, it is important to note that heat treatment does not change the distribution and chemical composition of the inclusions inside the bulk.Then, the grain boundaries, dislocations, and inclusions can act not only as hydrogen traps, but also as obstacles to physical diffusion through the metal [43].

Weld Metal (WM).
The WM samples showed the lowest permeation rate of all analyzed samples (see Table 6 and Figure 13).Due to melting and the solidification process during the welding, WM microstructure was changed.Therefore, the recrystallization and uncontrolled grain growth at the heat-affected zone (HAZ), caused by thermal cycles, increase the density of discordance.In addition, these processes contribute for any factors such as large changes in the microstructure due to the spot heat incidence, phase additions, phase changes, precipitation, residual stresses, discontinuities in the matrix, and many others according to Han et al. [6].According to Fallahmohammadi et al. [43], hydrogen diffusion decreases when the grains size decreases.Analyzing Figures 2 and 13, WM had small size of grains compared to the other microstructures, causing less hydrogen permeation rate.In addition, during the welding process, the weld metal microstructure is charged because of melting and solidification.The process of recrystallization and grain growth occur differently at the heat-affected zone (HAZ).Then, the welded joints can be affected by different welding heat input and hence to change the hydrogen permeation behavior through the weld metal.
The results imply that an increase seen in the number of discordances was one of the main factors for decay of the diffusion coefficient (Table 6), as seen by [20,34].Moreover, the presence of inclusions had an important role to hold the hydrogen.Variations of microstructure and a significant presence of inclusions are showed in the metallographic analysis of WM in HAZ, Figure 9. Haq et al. [20] reported that a high level of S and Mn on the metal may form MnS precipitates, which is a strong reversible trap.They also considered that trapping sites increased with S content.Table 3 shows S content, in WM, as higher than in BM; hence the number of trapping sites is higher as well.It is associated with the low diffusion coefficient presented by WM.
The pearlitic phase is the dominant trap site of diffused hydrogen [2].These are located at the interface between ferrite and cementite, in lamellar pearlite or the pearlite boundary.Thus, the large number of interfaces of fine cementite in a bainitic structure, as the grains shown in Figure 7(c), acts as a strong inhibitor for hydrogen diffusion.The M/A constituents are expected to be a reversible trap; however the retained austenite does not trap hydrogen significantly alone.Park et al. [2] attribute the great capacity to decrease the diffusion to the interfaces between retained austenite and martensitic layer within M/A.

Conclusions
After the experiments, current density was not affected by the changes in microstructure provided by thermal treatments.This could imply that thermal treatments possibly do not affect the corrosion resistance.The low permeation and diffusivity of hydrogen occurred in martensitic microstructure and were related to the high density of defects and discontinuities imposed by rapid cooling.In addition, there is the fact that the matrix is saturated with carbon that does not completely diffuse.Therefore, these combinations of factors act as traps and significantly decrease the hydrogen flow.Plus, the quenched material had martensitic interlath interfaces, high density of dislocations, and carbide-matrix interfaces; all of these act as hydrogen traps.WM samples showed the lowest permeation rate of all analyzed samples as can be seen on the diffusion coefficient calculation.It probably occurred because of melting and solidification process during welding; the weld metal microstructure was changed.Therefore, the recrystallization and uncontrolled grain growth in weld metal and in the heat-affected zone (HAZ), caused by thermal cycles, increase the density of discordance.The lowest rate permeation occurred because of a huge number of discordances and inclusions that works to retard the hydrogen diffusion.

Figure 1 :
Figure 1: Optical microscopy image (low magnification) of the weld zone in API X52 carbon steel and regions analyzed.

Figure 2 :
Figure 2: Optical microscopy image of the interface between weld metal and the heat-affected zone: (a) at position 1; (b) at position 2 (both with magnification of 200x).

1 2 3 Figure 6 :
Figure 6: Optical image of the weld zone in API X52 carbon steel and regions analyzed by SEM secondary electron image with high magnification.

Figure 7 :Figure 8 :
Figure 7: SEM secondary electron image of (a) base metal at zone 1; (b) weld metal at zone 2, showing the constituent M/A and the inclusions; (c) HAZ at zone 3, showing the constituent M/A and regions formed by bainite.

Figure 9 :Figure 10 :Figure 11 : 2 )Figure 12 : 2 )Figure 13 :
Figure 9: SEM secondary electron image and EDS spectra of (a) inclusions presented in the API X52 carbon steel and (b) an area without inclusions.

Figure 14 :
Figure14: E versus pH for sodium thiosulfate and H 2 S thermodynamic equilibrium in aqueous solutions[18].

Figure 15 :
Figure 15: Effective diffusion coefficient of hydrogen in API X52 steel using different methods: (a) Time Lag, t L , and Breakthrough, t B ; (b) Fourier.

Table 1 :
Chemical analysis of the base metal (BM) and the weld metal (WM) API X52 carbon steel.

Table 2 :
Terminology and heat treatment conditions of API X52 carbon steel the samples.

Table 4 :
Measures hardness of the samples studied.

Table 5 :
OCP, current density at 50 mV and 100 mV above the OCP.

Table 6 :
Values of permeation in different microstructures of API X52 carbon steel.

Table 7 :
Data obtained from analysis of the hydrogen permeability plot for all samples of API X52 steel.

Table 8 :
eff values of hydrogen for different steels obtained by literature.