Simulation of real contact in tribology