In the paper, numerical simulation of shock wave propagation in the vicinity of a standalone prism and a prism with a cavity in front of it was carried out. The modeling was based on the solution of 3D Euler equations and Fluent software was used as a main computational tool. The algorithm for local dynamic mesh adaptation to high gradients of pressure was applied. The initial stage of the explosion of condensed explosive was described with the help of "Compressed balloon method". The research allowed describing the characteristic stages of the blast in a semi-closed space, the structure of secondary shock waves and their interaction with obstacles. The numerical approach in Fluent based on combining inviscid gas dynamics methods and "Compressed balloon method" was compared with the method which had been used by the authors earlier with the help of AUTODYN and which is based on the use of the hydrodynamic model of a material to describe state of detonation products. For the problem of shock wave propagation in the vicinity of standalone prism the comparison of the simulation results obtained using both the methods with the experimental data was performed on the dependence of static pressure and effective momentum on time for the characteristic points located on prism walls.