The three-dimensional numerical study of natural convection in a cubical enclosure, discretely heated, was carried out in this study. Two heating square sections, similar to the integrated electronic components, are placed on the vertical wall of the enclosure. The imposed heating fluxes vary sinusoidally with time, in phase and in opposition of phase. The temperature of the opposite vertical wall is maintained at a cold uniform temperature and the other walls are adiabatic. The governing equations are solved using Control volume method by SIMPLEC algorithm. The sections dimension ε = D / H and the Rayleigh number Ra were fixed respectively at 0,35 and 106. The average heat transfer and the maximum temperature on the active portions will be examined for a given set of the governing parameters, namely the amplitude of the variable temperatures a and their period τp. The obtained results show significant changes in terms of heat transfer, by proper choice of the heating mode and the governing parameters.