A new phase field model for material fatigue in an oscillating elastoplastic beam