The role of viscoelasticity in polymer sintering