Anisotropic mesh adaptation for crack propagation induced by a thermal shock in 2D