Finite element modelling of damage and failure in fiber reinforced composites