In the frame of the inertial confinement fusion in direct drive, the use of CH(DT) foams as ablator allows the reduction of hydrodynamic instabilities created on the target by the direct laser irradiation. In the past, studies have been carried out considering this foam to be a homogeneous medium. Yet, the foam is composed of CH and DT, so it presents heterogeneous features. We study the effects of the heterogeneity on the shock velocity when the laser irradiates the target. Thanks to experimental and numerical studies, we show that the shock propagates faster in the heterogeneous medium than in the homogeneous one with the same averaged density. This velocity gap depends on the presence rate of the CH fibers in the foam, the density ratio, the adiabatic coefficient and the foam geometry. We modelize the foam by different ways, more and more complex. The shock velocity modification is due to the baroclinicity which, during the interaction between the shock front and the interface, creates a vorticity deposition, responsible for the shock accceleration. Accordingly, a interface, which is plane and perpendicular to the front shock, maximises the vorticity deposition and increases the velocity gaps between heterogeneous and homogeneous media. We found a correlation between the kinetic energy behind the shock front and the velocities relative difference. We compared our results with two analytical models. However, the system is not closed, so we can't, for the moment, develop a predictiv model.