Modelling Rock Fracturing Processes: A Fracture Mechanics Approach Using Fracod