Depth-dependent stress–strain relation for friction prediction