Solid Mechanics
The Battery Design Module extends in the The Solid Mechanics Interface with functionality for modeling strains occurring as a result of insertion of species (atoms) into electrodes.
See the Intercalation Strain node in the COMSOL Multiphysics Reference Manual.