Fundamental problems of modeling the fracture processes in concrete I: Micromechanics and localization of damages