Mathematical simulation of the propagation mechanisms of combustion waves and heterogeneous detonation in sharply expanding pipes was performed using the equations of two-dimensional axisymmetric unsteady motion of a reacting mixture of a gas and monofuel particles. The interaction of a passing detonation wave in gas suspensions of a unitary fuel with an obstacle is studied. It is established that a decrease in the diameter of the particles of the unitary fuel leads to a decrease in the maximum pressure on the wall. It is shown that, under other identical conditions, the distribution of the concentration of particles of unitary fuel according to a linearly decreasing law leads to the greatest decrease in the maximum pressure on the barrier than according to a linearly increasing and homogeneous one.