mass is considered; the cylinders may move under the action of the pressure forces. This
problem qualitatively corresponds to the problem about particle relaxation behind a shock
wave. The mathematical model is based on the two-dimensional system of Euler equations.
The computational algorithm is based on the Cartesian grid method for calculating the flows
with the shock waves in the domains with varying geometry. The algorithm and its program …