the article describes the software design for computer simulation of physical interactions of surface patterns with roughnesses. The model was built on experimental data of interacting surfaces' morphology, including those with functional coatings. It is designed to model contact interaction and evaluate the frictional parameters of the tribological conjunction, analyze their wear resistance under various operating conditions, anticipate thermal resistance of rough edge joint of various machine parts.