Petroleum Knowledge Base

Hydrogen Sulfide and Carbon Dioxide Corrosion

In the presence of water, H2S and CO2 cause electrochemical corrosion of downhole strings and surface equipment. This entry describes the reactions of hydrogen sulfide corrosion and the effects of iron sulfide films and elemental sulfur; the partial pressure criteria, temperature zones, and mesa corrosion of carbon dioxide corrosion; and the interaction when the two coexist and the direction of material selection.

Concept

When H2S and CO2 dissolve in water, the medium becomes acidic, and steel undergoes electrochemical corrosion in it; for the principles, see Principles of Metal Corrosion. Corrosion caused by CO2 is called sweet corrosion, and corrosion caused by H2S is called sour corrosion. Both require the participation of liquid water: dry carbon dioxide does not corrode metal by itself, and hydrogen sulfide corrodes only when free water and hydrogen sulfide are present at the same time, that is, under the conditions of so-called wet hydrogen sulfide.

This entry deals with electrochemical corrosion of the kind that causes uniform thinning and pitting. H2S can also cause steel to absorb hydrogen and crack; see Sulfide Stress Cracking.

Mechanisms and Classification

Hydrogen Sulfide Corrosion

H2S ionizes in water in steps to form HS-, S2-, and H+. At the steel surface, H+ gains electrons and is reduced to hydrogen atoms, while iron dissolves at the anode and combines with sulfide ions:

Anode: Fe → Fe2+ + 2e
Cathode: 2H+ + 2e → 2H
Anodic product: Fe2+ + S2- → FeS
Overall reaction: Fe + H2S → FeS + 2H

The higher the partial pressure, the more H+ in the solution, the lower the pH, and the more severe the corrosion. The solubility of H2S in water increases with rising partial pressure and decreases with rising temperature; once a sour gas well produces formation water, the water can be strongly acidic. During production, as formation pressure declines, the volume percentage of hydrogen sulfide in the gas may actually rise, so evaluation should consider the content and partial pressure as they change over time.

Whether an iron sulfide film protects the steel depends on which product is formed. Dense FeS or FeS2 films are protective; products such as Fe3S4 and Fe9S8 adhere poorly and have many structural defects, and they may themselves act as cathodes, forming a galvanic couple with the bare steel. Even a protective film may fail in a medium in which CO2, Cl-, and oxygen coexist. Hydrogen sulfide corrosion shows up as black corrosion products on the surface, with uniform thinning of the metal accompanied by local pitting; corrosion is worse where liquid accumulates in the pipe, at low points and elbows, where gas velocity is low, and where gas flow carrying liquid causes scour.

Highly sour natural gas often carries elemental sulfur. Above 88 ℃, H2S and elemental sulfur can form hydrogen polysulfide, which decomposes and deposits sulfur again when pressure and temperature fall. The deposited sulfur adheres to the pipe wall, the anodic reaction at the contact points may speed up, and the protective sulfide film becomes less stable. Chloride ions amplify this effect: in a gas well that produces dry gas along with formation water, when the chloride in the water exceeds 5,000 μg/g, pitting caused by elemental sulfur may perforate quickly.

Carbon Dioxide Corrosion

CO2 dissolves in water to form carbonic acid, and the CO2 content in the water phase is determined by the CO2 partial pressure in the gas phase, so corrosion prediction is based on the gas-phase partial pressure. The gas-phase partial pressure is calculated as total pressure multiplied by CO2 content. The boundaries of the two commonly used classifications differ slightly:

Classification Severe corrosion Possible corrosion Generally no corrosion
Classification 1 pCO2 > 0.2 MPa 0.02–0.2 MPa < 0.02 MPa
Classification 2 > 2.1 kg/cm² (about 0.21 MPa) 0.5–2.1 kg/cm² (about 0.05–0.21 MPa) < 0.5 kg/cm² (about 0.05 MPa)

These ranges are only rough partial pressure classes; they do not include temperature, pH, or water-content conditions, and cannot be taken as a conclusion on whether a given well will corrode.

The corrosion products are mainly FeCO3 and Fe3O4, and the corrosion types are uniform corrosion and pitting corrosion. The most dangerous form of pitting is mesa corrosion: the product film forms unevenly or is locally damaged, and where there is no film, deep hemispherical pits with steep edges form, with a high penetration rate.

Temperature affects the corrosion rate mainly through the product film, and its effect can be roughly divided into three ranges:

  1. Below about 60 ℃: a small amount of loose, porous FeCO3 forms on the surface, uniform corrosion predominates, and the rate increases with temperature.
  2. About 100 ℃: the film crystals are coarse and unevenly distributed, localized corrosion is severe, and the rate reaches a maximum.
  3. Above 150 ℃: a dense, strongly adherent film of FeCO3 and Fe3O4 forms, and the rate decreases.

As partial pressure rises, corrosivity increases; the temperature corresponding to the maximum rate differs among steel types and media, and should be analyzed for the specific conditions. For example, assume a total pressure of 20 MPa (assumed, for illustration only) and a gas containing 2% CO2; then pCO2 = 20 × 0.02 = 0.4 MPa, which is already above the lower limit of "severe corrosion" in both classifications in the table above.

Coexistence of H2S and CO2

When the two coexist, H2S has a dual role: it can accelerate corrosion through the cathodic reaction, and it can also slow corrosion through the deposition of FeS, and the outcome depends on temperature and H2S content. By temperature: at about 30 ℃, a very low H2S content (about 0.2%) can speed up CO2 corrosion several-fold, whereas a very high content (for example 21.5%) actually lowers the rate; at high temperature, once the H2S content exceeds about 2.1% the rate is lower than in a pure CO2 environment; above 150 ℃, the H2S content no longer matters. In addition, the corrosion resistance of chromium-bearing corrosion-resistant steels can be markedly impaired by H2S, producing severe localized corrosion and even stress corrosion cracking.

Influencing Factors and Considerations

  • Water and flow regime. Without liquid water there is no electrochemical corrosion; liquid accumulation, low points, low flow velocity, and scour by gas flow carrying liquid all aggravate localized corrosion.
  • Temperature and partial pressure. The effect of temperature on CO2 corrosion is exerted through the product film, whereas H2S corrosion is directly related to partial pressure and pH; the partial pressure classes above are only a qualitative reference.
  • Cl-, oxygen, and elemental sulfur. They destroy the product film or catalyze corrosion, turning uniform corrosion into localized corrosion.
  • Direction of material selection. In wet CO2 environments dominated by electrochemical corrosion, 13Cr, Super 13Cr, or martensitic stainless steels with higher chromium content are commonly used; in wet CO2 environments containing trace H2S, duplex stainless steel 22Cr can be chosen, and 25Cr can be chosen when the H2S and Cl- contents are higher; in severe environments where both H2S and CO2 are very high, generally only nickel-based alloys can be selected. This is the general direction of material selection; for a specific well, the choice should still be determined by the applicable standards and test evaluation.
  • Laboratory versus field differences. Laboratory evaluation may differ considerably from field conditions, and software predictions may overestimate the severity of corrosion.
  • H2S is toxic, and personnel protection at sour wells is outside the scope of this entry.

References

  1. Wan Renpu. Modern Well Completion Engineering (3rd Edition) (in Chinese). Petroleum Industry Press, 2008.
  2. Zhang Keqin; Chen Leliang. Drilling Technology Handbook (II): Drilling Fluids (in Chinese). Petroleum Industry Press, 1988.