  An electro-chemo-mechanical phase-field formulation is developed to simulate
pitting and stress corrosion in polycrystalline materials. The formulation
incorporates dependencies of mechanical properties and corrosion potential on
crystallographic orientation. The model considers the formation and charging
dynamics of an electric double layer through a new general boundary condition
for the solution potential. The potential of the model is demonstrated by
simulating corrosion in polycrystalline materials with various grain morphology
distributions. The results show that incorporating the underlying
microstructure yields more extensive defects, faster defect kinetics, and
irregular pit and crack shapes relative to a microstructurally-insensitive
homogeneous material scenario.
