Please check out the following website for the detailed methods and applications. If you use the code or algorithm, please cite this article.
Chia-Jung Chang et al., A Computational Pitting Corrosion Model of Magnesium Alloys.
Frontiers in Bioengineering and Biotechnology Biomaterials, (2022).
Comparison of overall AZ61 corrosion in simulation and experiment: