A multiscale model for the fracture analysis of fiber-reinforced materials