Development of a fully automatic damage simulation framework for quasi-brittle materials