The present study deals with the generation of the heat flow configuration in order to control the thermal boundary layer development and enhance the convective heat transfer along a plate consequently. Constructal theory is systematically applied to optimize the configuration and geometry of the flow system. The working temperature of the plate may exceed the desired temperature level. Since the performance of equipment has a direct relationship with its temperature, it is important to keep it at an acceptable temperature level. Consequently, here, the objective is either to minimize the ‘hot spot’ temperature of the plate or to maximize the rate of heat transfer. Two thermal boundary conditions for the heat sources are employed: constant heat flux condition or constant temperature. Analytical solutions are determined without imposing the common simplifying assumptions that were considered in similar studies. In this work, the optimization was first carried out for the problem of discrete heating, which means how to distribute a finite number of heated/insulated segments. In this case, the optimization was first carried out for a problem with no attached constraint on how to distribute the heat sources and second for a fixed plate length. It was shown that in the first case, the maximum temperature, the “hot spot’ temperature, was reduced by 11% for two optimized-size heat sources with uniform heat flux articulated with optimum adiabatic spacing. Additionally, for two heat sources with uniform temperature, a level of maximum heat transfer enhancement of 7.7% was achieved. This issue is also implemented for distribution of adiabatic sections on a pipe wall in order to minimize the temperature of the hot spot. A fluid is heated at the remaining sections of the pipe with uniform heat flux. Analytical results for optimization are obtained for several values of Graetz number for the following two cases; 1) large number of small adiabatic sections and 2) finite number of adiabatic sections. The results show that the optimal locations of the adiabatic sections depend on the Graetz number and the portion of the pipe wall which is dedicated to an adiabatic section. It is shown that for flows with intermediate values of Graetz number, the reduction of the maximum temperature of the wall is remarkably affected by the configuration of the adiabatic sections. Optimization was then carried out for the problem of non-uniform heating, which means how to optimize a stepwise heat flux distribution. In this case it was shown that the hot spot temperature cab be reduced 21% if the wall is heated with two unequal steps heat flux distribution along the wall instead of uniform heat flux distribution. Keywords: Control, Boundary Layer, Forced Convection, Constructal Theory, Optimization