The falling film flow and heat transfer characteristics are critical to improve the performance of spray heat exchangers in a sewage source heat pump (SSHP), which is influenced by the operating and structural parameters. Therefore, considering the unique flow patterns of wastewater falling film caused by the oily content, and the influence of heat exchange tubes with surface structures on flow and heat transfer, two types of heat exchanger tubes with axial and circumferential ribs were designed and the falling flow over tubes were investigated through CFD method using VOF model. The falling film flow pattern, liquid film coverage and heat transfer coefficient (HTC) outside the ribbed heat exchange tubes were investigated, and the influence of rib structures and Re were analyzed. It was found that oily wastewater liquid film spreaded differently depending on the rib structures, and circumferential ribs of case 2 improved the flow pattern by increasing film coverage, which obviously affected the tube HTC. At higher Re, the ribbed tubes displayed higher potential in better heat transfer performance. Therein, the circumferential ribbed tubes showed highest average HTC, with up to 31.9 % higher than smooth tubes, which can be further enhanced by increasing Re. This study provides a foundation for enhancing the heat transfer performance of spray heat exchangers in sewage source heat pumps through the design and modification of tube surface structures.