Frictional heating in contact mechanics – a methodology to deal with high temperature gradients