Study on transition between fretting and reciprocating sliding wear