Modelling of thermoplastic polymer failure in fiber reinforced composites