External Corrosion Modeling For An Underground Natural Gas Pipeline Using COMSOL Multiphysics
External Corrosion Modeling For An Underground Natural Gas Pipeline Using COMSOL Multiphysics
External Corrosion Modeling For An Underground Natural Gas Pipeline Using COMSOL Multiphysics
Abstract: This paper studies external corrosion of an composed of three layers, namely corrosion,
underground transmission pipeline carrying natural mechanical, and reliability models. The corrosion
gas. Pitting corrosion and Stress Corrosion Cracking models include pitting corrosion and stress corrosion
(SCC) are two most common external corrosion types cracking. The output of this model will be the
for buried pipelines and they usually happen when the corrosion depth based on the corrosion rate results of
mitigation methods such as coating or impressed this paper. The mechanical model calculates the
current cathodic protection (ICCP) fails or remaining strength of the pipe given the dimension of
deteriorates. Pitting corrosion is a localized corrosion the defects and will be used in the reliability model for
which occurs at sites with no coating or cathodic the probability of the pipeline failure calculation.
protection as a result of electrochemical reaction
between the pipe material and a corrosive Keywords: External Corrosion, Natural Gas Pipeline,
environment, while SCC is a joint action of a corrosive Pitting Corrosion, SCC, Bayesian Network, Structural
environment and tensile stress from the soil Health Monitoring
movement. A finite element model was developed in
1. Introduction
COMSOL Multiphysics to study the relationship
Operational and management complexity of pipelines
between corrosion potential, current density, and von
has significantly increased due to the rapid growth of
Mises stress along the corrosion defect as a result of
oil and gas industry. Extreme operating conditions and
near-neutral pH SCC using the Corrosion and
adverse environment often lead to corrosion problems
Structural Mechanics Modules. On the other hand,
and tremendous consequences on the pipelines [1].
pitting corrosion is simulated by the Caleyo et al.’s
Therefore, more efforts have been dedicated to
model, which calculates pit growth rate based on
ensuring the integrity of the infrastructure. With the
several operating inputs. Multiple sensitivity analyses
aid of IoT technology, in-situ pipeline health
were performed to find the relationship between the
monitoring facilitates reliable risk assessment which
defect depth, defect length, and the soil stress with
provides optimal mitigation and maintenance actions
respect to anodic current density, cathodic current
to take based on the pipeline health condition. To meet
density, and corrosion potential in order to obtain
that demand, the authors have been developing a
corrosion rate for SCC. In addition, a demonstration of
pipeline health monitoring and management web
the pitting corrosion was performed by predicting
application that can integrate the data, methods, and
pitting corrosion rate and depth given soil and pipe
technologies into a dynamic pipeline heath monitoring
characteristics such as the soil resistivity, bicarbonate
system supported by multiple probabilistic predictive
ions concentration ([HCO3-]), pH level of the soil,
models [2]. These models include dynamic hybrid
chloride ions concentration ([Cl-]), water content of
causal logic, corrosion prognosis, and sensor
the soil, sulphate ions concentration ([SO42-]),
placement optimization models. Corrosion prognosis
pipe/soil potential, bulk density of the soil, and redox
function requires the development of corrosion
potential. The SCC results show that the maximum
predictive models. A natural gas pipeline can suffer
corrosion potential decreases with the increasing
both internal and external corrosion as shown in
defect depth, but increases with increasing defect
Figure 1. One of the major threat to the gas pipelines
length, and that the maximum von Mises stress
is internal corrosion, which can take place in the form
increases with increasing defect depth but decreases
of uniform corrosion [3], pitting corrosion [4], erosion
with increasing defect length, which indicates that the
corrosion [5], microbiologically-influenced corrosion
corrosion is most severe at the center of the defect. The
[6], and corrosion fatigue [7] depending on the
results of SCC and pitting corrosion models will be the
operating and environmental conditions. Corrosive
input to a Bayesian Network model for external
environment as a result of the presence of CO2, H2S,
corrosion which calculates the probability of pipeline
Cl-, solids, and bacterial activities in the pipelines is
failure in terms of external corrosion. This model is
the main cause of internal corrosion.
Soil
Gas
𝜼𝒄 = ∅𝐒 − ∅𝐥 − 𝑬𝐞𝐪,𝐜 (Eq. 6)
It should be noted that since the soil environments Bayesian Network (BN) provides a graphical
have large impact on the corrosion prediction, representation of causal dependencies of a chain of
predicted model from one soil class is unreliable for variables in a probabilistic framework. For example, a
the prediction in other soil classes. Therefore, the chain of operating conditions leading to corrosion and
multivariate regression model provided here considers finally to failure is a BN in this paper. It allows the
only the data from three different common soil classes, calculation of the conditional probability of numerous
namely, clay, clay loam, and sandy clay loam. interconnected parameters based on the Bayes
theorem as shown in Eq. 12:
Table 1. Soil and pipe characteristics
Variable Symbol Unit 𝐏e𝐄h𝐇𝐣 i𝐏(𝐇𝐣 )
𝐏e𝐇𝐣 h𝐄i = (Eq. 12)
Redox potential rp mV ∑𝐧𝐢l𝟏 𝐏(𝐄|𝐇𝐢 )𝐏(𝐇𝐢 )
pH ph -
Pipe-to-soil potential pp mV where 𝐏e𝐇𝐣 h𝐄i is the posterior probability of event 𝐇𝐣
Soil resistivity re Ω·m given the observation E; 𝐏(𝐇𝐣 ) is the prior probability
Water content wc %
of the event 𝐇𝐣 before the observation E; 𝐏e𝐄h𝐇𝐣 i is
Soil bulk density bd g/mL
Chloride content cc ppm the likelihood function and is the probability of the
Bicarbonate content bc ppm observation E given that event 𝐇𝐣 occurred;
Sulfate content sc ppm ∑𝐧𝐢l𝟏 𝐏(𝐄|𝐇𝐢 )𝐏(𝐇𝐢 ) is the sum of all the conditional
Coating type ct - probabilities of E given events 𝐇𝐢 multiplied by the
probabilities of 𝐇𝐢 .
(a) (c)
(b) (d)
Figure 6. von Mises stress on the pipe under various longitudinal tensile strains: (a) 1 mm, (b) 2 mm, (c) 3 mm, and (d) 4 mm.
(c)
Figure 7. von Mises stress under different defect depths:
(a) 2 mm, (b) 6 mm, and (c) 10 mm.
Figure 10. Linear distribution of anodic current density Figure 12. Linear distribution of corrosion potential along
along the length of the corrosion defect under various the bottom of corrosion defect with a fixed length of 3 mm
longitudinal tensile strains: soil displacements of 1, 2, 3, and and with various depths.
4 mm.
2, 6
4, 6
6, 6
8, 6
10, 6
Figure 11. Linear distribution of cathodic current density Figure 13. Linear distribution of corrosion potential along
along the length of the corrosion defect under various the bottom of corrosion defect with a fixed depth of 3 mm
longitudinal tensile strains: soil displacements of 1, 2, 3, and and with various lengths.
4 mm.
Figure 11 shows the linear distribution of cathodic that the increase of the defect depth decreases the
current density (hydrogen evolution) along the length corrosion potential along the defect location. In
of the corrosion defect under various longitudinal addition, it is shown that at low defect depths of 2 and
tensile strains: soil displacements of 1, 2, 3, and 4 mm. 4 mm, the corrosion potential distribution is almost
This figure shows that the increase in the tensile strain uniform. However, when the defect depth increases to
decreases the cathodic current density, especially at 6, 8, and 10 mm, the corrosion potential is not uniform
the center of the corrosion defect where it is the most anymore with the highest corrosion potential at the
negative. Similar to the anodic current density center of the defect.
distribution results, the nonuniformity in the cathodic
current density increases when the tensile strain Figure 13 shows the linear distribution of corrosion
increases. potential along the bottom of corrosion defect with a
fixed depth of 6 mm and with various lengths where a
Figure 12 shows the linear distribution of corrosion 1 mm longitudinal tensile strain is applied. This figure
potential along the bottom of corrosion defect with a shows that the increase of the defect length increases
length of 6 mm and with various depths where a 1 mm the corrosion potential along the defect location.
longitudinal tensile strain is applied. This figure shows
Description Value
Minimum element quality 0.6912
Average element quality 0.9424
Triangle 6013
Edge element 697
Vertex element 9
Maximum element size for the soil domain 0.067
Minimum element size for the soil domain 3.0E-4
Curvature factor 0.3
Maximum element growth rate 1.3
Maximum element size for the pipeline domain 0.002
Minimum element size for the pipeline domain 6.0E-4
Table A5. Results of sensitivity analysis of SCC model for fixed cathodic i0 at 0.01457 A/m2 and fixed anodic i0 at
0.002353 A/m2 where the defect length and depth were varied
Table A6. Results of sensitivity analysis of SCC model for fixed defect length and depth of 6 mm and fixed
displacement of 1 mm where the exchange anodic and cathodic current densities were varied