Corrosion and Erosion
Overview
Internal corrosion and erosion are the two primary mechanisms of material degradation in oil and gas production systems. While corrosion involves chemical or electrochemical attack on pipe walls, erosion is a mechanical process driven by fluid velocity and entrained particles.
Both phenomena must be assessed during design and monitored during operations:
- Corrosion determines material selection, chemical treatment, and inspection intervals
- Erosion determines minimum pipe diameter, maximum production rates, and choke sizing
This document covers:
- CO2 corrosion prediction using the de Waard-Milliams model
- Erosional velocity calculation using the API RP 14E method
CO2 Corrosion
Mechanism
Carbon dioxide dissolves in water to form carbonic acid (H2CO3), which attacks carbon steel through an electrochemical process:
The corrosion rate depends on:
- CO2 partial pressure -- driving force for CO2 dissolution
- Temperature -- affects reaction kinetics and protective scale formation
- pH -- controls the aggressiveness of the solution
- Flow velocity -- influences mass transfer of reactants to the pipe wall
CO2 Partial Pressure
The CO2 partial pressure is calculated from the gas composition and system pressure:
Where:
- = CO2 partial pressure, psia
- = mole fraction of CO2 in the gas phase
- = total system pressure, psia
CO2 Fugacity
At elevated pressures, non-ideal gas behavior requires a fugacity correction:
Where:
- = CO2 fugacity, psia
- = fugacity coefficient (dimensionless)
- = CO2 partial pressure, psia
The fugacity coefficient accounts for molecular interactions at high pressure. For typical oil and gas conditions:
| Pressure Range | Notes | |
|---|---|---|
| psia | 0.95 -- 1.00 | Near-ideal behavior |
| 500 -- 2000 psia | 0.80 -- 0.95 | Moderate correction |
| psia | 0.65 -- 0.80 | Significant non-ideality |
de Waard-Milliams Corrosion Model
The de Waard and Milliams (1975) model is one of the most widely used methods for predicting CO2 corrosion rates of carbon steel. The model correlates the corrosion rate to CO2 fugacity and temperature:
Where:
- = corrosion rate, mm/yr
- = temperature, degF
- = CO2 fugacity, psia
Temperature Effects
The de Waard-Milliams model predicts a corrosion rate that increases with temperature up to approximately 140 degF (60 degC). Above this temperature, a protective iron carbonate (FeCO3) scale tends to form, reducing the actual corrosion rate below the model prediction.
| Temperature Range | Behavior | Notes |
|---|---|---|
| degF | Low corrosion | Slow kinetics |
| 100 -- 140 degF | Peak corrosion | Fastest kinetics, no protective scale |
| 140 -- 200 degF | Scale-forming | FeCO3 scale may reduce rate |
| degF | Scale-protected | Dense FeCO3 scale, but risk of localized attack |
Model Applicability
| Parameter | Range | Notes |
|---|---|---|
| 0.1 -- 200 psia | Sweet (CO2-dominated) corrosion | |
| 40 -- 250 degF | Above 140 degF, scale correction needed | |
| pH | 3.5 -- 6.5 | Carbonic acid regime |
| Material | Carbon steel | Not applicable to CRA or lined pipe |
Inhibited Corrosion Rate
Chemical corrosion inhibitors form a protective film on the steel surface, reducing the corrosion rate. The inhibited rate is:
Where:
- = inhibited corrosion rate, mm/yr
- = uninhibited corrosion rate from de Waard-Milliams, mm/yr
- = inhibitor efficiency, fraction (0 to 1)
Typical inhibitor efficiencies:
| Application | Inhibitor Efficiency () | Conditions |
|---|---|---|
| Continuous injection, good conditions | 0.85 -- 0.95 | Low water cut, moderate temperature |
| Continuous injection, moderate conditions | 0.70 -- 0.85 | Higher water cut, turbulent flow |
| Batch treatment | 0.50 -- 0.70 | Intermittent protection |
| Difficult conditions | 0.30 -- 0.50 | High temperature, high shear |
Corrosion Allowance
The corrosion allowance is the additional wall thickness added to account for metal loss over the design life:
Where:
- = corrosion allowance, mm
- = design corrosion rate (uninhibited or inhibited), mm/yr
- = design life, years
Typical design values:
| System | Design Life (yr) | Typical CA (mm) |
|---|---|---|
| Subsea pipeline | 20 -- 30 | 3 -- 6 |
| Topside piping | 20 -- 25 | 1.5 -- 3 |
| Downhole tubing | 10 -- 20 | 3 -- 6 |
| Wellhead equipment | 20 -- 25 | 3 -- 6 |
NACE Severity Classification
The NACE (National Association of Corrosion Engineers) framework classifies corrosion severity based on the CO2 partial pressure:
| Severity | CO2 Partial Pressure (psia) | Recommendation |
|---|---|---|
| Low | Carbon steel generally acceptable | |
| Moderate | 3 -- 30 | Carbon steel with inhibition program |
| High | 30 -- 100 | Consider corrosion-resistant alloys (CRA) |
| Very High | CRA required or thick corrosion allowance |
This classification provides a first-pass screening tool. Detailed assessment using the de Waard-Milliams model or more advanced models (e.g., NORSOK M-506, IFE models) should follow for moderate and high severity cases.
Erosion
Erosional Velocity -- API RP 14E
The API RP 14E method defines an erosional velocity above which fluid flow may cause unacceptable erosion of pipe walls:
Where:
- = erosional velocity, ft/s
- = empirical constant (API RP 14E constant)
- = gas-liquid mixture density at flowing conditions, lb/ft3
C-Factor Selection
The C-factor depends on service conditions and the presence of solids:
| Condition | C-Factor | Application |
|---|---|---|
| Continuous service, no solids | 100 | Clean gas or oil service |
| Continuous service, solids-free | 125 | Standard design, no sand |
| Intermittent service | 150 -- 200 | Test separators, flare headers |
| Solids-producing wells | 50 -- 80 | Sand-laden production |
| Corrosive service | 80 -- 100 | CO2 or H2S present with solids |
Industry practice: A C-factor of 100 is commonly used as a conservative default for continuous production service.
Mixture Density
The gas-liquid mixture density at flowing conditions is calculated from the volumetric fractions of each phase:
Where:
- = mixture density, lb/ft3
- = liquid density at flowing conditions, lb/ft3
- = gas density at flowing conditions, lb/ft3
- = no-slip liquid holdup (input liquid volume fraction)
The no-slip liquid holdup is the fraction of the pipe cross-section occupied by liquid based on volumetric flow rates (without accounting for phase slippage):
Where and are the liquid and gas volumetric flow rates at flowing conditions.
Actual Mixture Velocity
The actual mixture velocity in the pipe is:
Where:
- = mixture velocity, ft/s
- = liquid volumetric flow rate at flowing conditions, ft3/s
- = gas volumetric flow rate at flowing conditions, ft3/s
- = pipe cross-sectional area, ft2
For a circular pipe:
Where is the pipe inner diameter in feet.
Erosion Ratio and Risk Assessment
The erosion ratio compares the actual mixture velocity to the erosional velocity:
| Erosion Ratio () | Risk Level | Action |
|---|---|---|
| Low | Acceptable, no concerns | |
| 0.5 -- 0.8 | Moderate | Monitor, consider inspection |
| 0.8 -- 1.0 | High | Near erosional limit, review design |
| Critical | Exceeds erosional velocity, redesign required |
Minimum Pipe Diameter
For a given set of flow rates, the minimum pipe diameter to maintain the mixture velocity below the erosional velocity can be calculated by rearranging the velocity equation:
Where:
- = minimum pipe inner diameter, ft (convert to inches for practical use)
- = total volumetric flow rate at flowing conditions, ft3/s
- = erosional velocity, ft/s
This calculation is used during the design phase to select pipe sizes that provide adequate erosion resistance while minimizing capital cost.
Combined Assessment Workflow
Design Phase Analysis
Applicability and Limitations
de Waard-Milliams Model
| Aspect | Limitation | Alternative |
|---|---|---|
| H2S corrosion | Not included | Use NACE MR0175 for sour service |
| Scale formation | Not modeled | Above 140 degF, actual rates may be lower |
| Top-of-line corrosion | Not addressed | Requires condensation rate models |
| Localized (pitting) | Predicts general rate | Use pitting factor multiplier |
| Multiphase flow effects | Simplified | NORSOK M-506 includes flow effects |
API RP 14E Erosional Velocity
| Aspect | Limitation | Alternative |
|---|---|---|
| Sand erosion | C-factor approximation only | Use DNV RP O501 for sand erosion |
| Multiphase flow patterns | Not considered | Slug flow amplifies erosion locally |
| Geometry effects | Pipe only | Bends, chokes need separate analysis |
| Temperature effects | Not included | High temperature reduces material strength |
Related Documentation
- Flow Assurance Overview -- scope and decision frameworks
- Hydrate Prevention -- thermodynamic inhibitor calculations
- PVT Properties Overview -- fluid density and viscosity correlations
- Gas Properties -- gas density and Z-factor at flowing conditions
- Pipe Flow Overview -- pressure drop and velocity calculations
References
de Waard, C. and Milliams, D.E. (1975). "Carbonic Acid Corrosion of Steel." Corrosion, 31(5), pp. 177-181. NACE International.
API Recommended Practice 14E (2007). "Recommended Practice for Design and Installation of Offshore Production Platform Piping Systems." 5th Edition. American Petroleum Institute.
NACE Standard SP0775 (2018). "Preparation, Installation, Analysis, and Interpretation of Corrosion Coupons in Oilfield Operations." NACE International.
Nyborg, R. (2010). "CO2 Corrosion Models for Oil and Gas Production Systems." NACE International Corrosion Conference & Expo, Paper No. 10371.
Salama, M.M. and Venkatesh, E.S. (1983). "Evaluation of API RP 14E Erosional Velocity Limitations for Offshore Gas Wells." Offshore Technology Conference, OTC 4485.