Fracture in concrete due to percolating cracks and pores