Effects of thermal stresses on caprock integrity during CO2 storage