Numerical analysis of indentation fracture in quasi-brittle materials