Thermodynamic investigation of surface of minerals