Computational modeling of fracture in quasibrittle structures