A mathematical model of gas detonation of over-riched hydrocarbon-oxygen mixtures has been formulated. The model implies numerical studying the equilibrium flows of detonation products provided that there is condensation of free carbon. To describe thermodynamic properties of carbon condensate, reference data for graphite have been used. The calculations have been compared with the known results of experimental research, in which the detonation of acetylene-oxygen mixture in a tube with one closed end results in nanoscale particles of carbon material with special properties. We assumed that melting temperature of such a material, which is about 3100 K, is lower than that of graphite. Only such a way of correcting melting temperature yields the best agreement (with accuracy of about 3%) between calculation and experimental dependence of detonation front velocity on molar fraction of acetylene in the mixture.