Exhaust gas recirculation (EGR) cooler plays an important role in reducing the nitrogen oxides (NOx) emission of diesel engines. By using the CFDesign software, in this paper, the finite element models are established for analyzing the thermodynamic performance of an EGR cooler. The temperature, velocity and pressure fields of the fluids in the EGR cooler are simulated and verified. Based on these models, furthermore, the thermodynamic performance of the EGR cooler with different structures of cooling tube are analyzed, compared and discussed. The results show that, under the fixed pressure boundary conditions, the EGR cooling efficiency can be significantly increased by properly design the fin number of the cooling tube in EGR coolers.