A computational mechanics framework for modeling tribology experiments with friction and wear