Modeling fracture of fiber reinforced polymer