Today, with the development of technology, heat transfer, reducing the time of heat transfer, reducing the size of heat exchangers, and increasing the efficiency are considered. Heat exchangers have many applications in the industry. Therefore, increasing the efficiency of heat exchangers will increase the overall efficiency of a system and optimize energy consumption by a system. In the present study, the main goal is the study the effects of the gradual changes in the inner tube geometrical configuration on the thermal performance of the double-pipe heat exchanger on the thermal performance using Computational Fluid Dynamics (CFD) methods based on the finite volume method. For validation, the results are compared with the valid results previously presented in the published papers, and there is a very good agreement between them. In addition to the basic model, six different geometrical designs are used for the inner tube, in the form of a flat tube and a nozzle-like tube. After the numerical simulation, the increase in heat transfer and the Nusselt number of flow, pressure drop, thermal efficiency and the performance index were calculated for each model and compared with the base model and other models. The results show that the nozzle-like inner tube model has a lower performance than the base model. The model with a flat inner tube, and especially case 4 (The case with the flat inner tube with the aspect ratio of 0.3), has a very impressive performance compared to the base case at Reynolds numbers below 6000. But at higher Reynolds numbers, the basic model will have better overall conditions.