Thermoelastic instability of functionally graded coating with arbitrarily varying properties considering contact resistance and frictional heat