HomeMaterials SciencePitting Corrosion: IR-Drop Pit Stability (2D)

Pitting Corrosion: IR-Drop Pit Stability (2D)

Interactive 2D cross-section pitting-corrosion model: each nucleated pit's growth current is solved self-consistently from Ohm's law IR drop plus Tafel kinetics, then tested against Galvele's X·i stability product — most die instantly as metastable craters, the rare survivor keeps digging as its own ohmic drop slows it down. Not a scripted probability.

Materials Science2DAdvanced60 FPS📱 Mobile-adapted⇄ 3D version
2d-corrosion-electrochemical-passivation ↗ Open standalone

This 2D cross-section companion replaces the 3D version's scripted repassivation probability with the real mechanism corrosion scientists use to explain why most nucleated pits die within moments while a rare few grow into failures: Galvele's X·i pit-stability criterion. Every pit's dissolution current is solved self-consistently from Ohm's law (the ohmic drop across the pit grows with both its depth and its own current) coupled to mixed activation/mass-transport-controlled anodic Tafel kinetics — an implicit equation solved by bisection, not read off a formula. The instant a pit nucleates, that solved current at its embryonic depth is multiplied by the depth itself; only if the product clears a critical threshold does the pit escape metastability and keep growing (its growth still visibly decelerating as its own IR drop deepens), otherwise it dies immediately as a small crater. Chloride concentration does double duty here, exactly as in the real electrochemistry: it lowers the film breakdown potential and lowers the pit-cavity resistivity, which is why concentrated-chloride environments both nucleate pits more easily and let them clear the stability threshold at much lower applied potentials.

⚙ Under the hood

Interactive 2D cross-section pitting-corrosion model: each nucleated pit's growth current is solved self-consistently from Ohm's law IR drop plus Tafel kinetics, then tested against Galvele's X·i stability product — most die instantly as metastable craters, the rare survivor keeps digging as its own ohmic drop slows it down. Not a scripted probability.

corrosionelectrochemistrymaterials-sciencepassivationpittingmetallurgy2D

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)