In this paper, we proposed a new algorithm to calculate the temperature field of concrete structures with pipe-cooling system. As we know, the pretreatment of pipe model is hard and the calculation will be time-consuming. However, in this algorithm, the computing information of pipes will be included in the exist nodes of elements, so the workload of pretreatment would be reduced. Meanwhile, the finite element method (FEM) format and the formula of water temperature along pipe have been established in this paper. Iteration was not required in this method, so the computing speed will be improved too. An example has shown that this algorithm can response temperature gradient near the pipe and have good efficiency to calculate temperature field of concrete structures with pipe-cooling system.