In this study, structural theory was used to examine the geometric configuration of channels embedded inside an object in the presence of internal heat generation for cooling by a heat transfer mechanism. The growth and development of gas transmission lines and the lack of up-to-date integrated information systems have made the design and maintenance of pipelines, as well as the handling of problems caused by various accidents in the pipeline, very complex in many cases. Using accurate descriptive and spatial information in tolls on gas transmission line maps such as pipes, booster stations, valves, and forks in a spatial reference database can engage planners, operators, and paramedics in a variety of management. They are used to help in the direction of optimal and purposeful management. Therefore, in this paper, by considering appropriate laboratory conditions and numerical experiments and calculations, it is possible to determine the optimal attraction of duct holes for cooling components of the gas transmission system, so that the industry can produce and developed gas transmission without incident. In this study, in addition to studying the geometric characteristics of channel spacing and their length, the dimensions of a specific channel for reducing the maximum produced temperature are also discussed