A coupled theory for chemically active and deformable solids with mass diffusion and heat conduction. (October 2017)