“…When the inside walls of a pipeline suffer from corrosion, steel may lose its mechanical properties, which might lead to a catastrophic failure, causing huge losses. 3,8,15 Pipelines can suffer localized or generalized attack, depending on carbon steel, oil and operating conditions such as pressure, temperature and fluid dynamics. Localized corrosion arises from the existence of galvanic pairs formed between the predominant phase (e.g., ferritic phase) and the nonmetallic (e.g., MnS) or intermetallic (e.g., Fe 3 C) inclusions, 16 and it commonly manifests as pitting or mesa attack.…”