Homogenization of intergranular fracture towards a transient gradient damage model. (October 2016)