The geometry of an orifice is a major determinant of nozzle internal flow and cavitation, which directly govern spray atomization and consequently affect combustion and fuel economy in internal combustion engines. In this study, simulation models of the nozzle at different angles between the normal and the injection hole inlet cross-section and the injection hole axis, as well as with different injection hole cone angles (a positive angle between the injection hole axis and its walls implies a divergent hole), were investigated by means of a previously developed numerical model that was validated based on experimental data from X-ray image technology. The results indicate that as the angle between the normal and the injection hole inlet cross-section and the injection hole axis increases, the cavitation asymmetry within the injection hole intensifies, accompanied by a decrease in the gas volume fraction. On one side of the injection hole, the hydraulic flip width expands, while, on the other side of the injection hole, the flow state gradually changes from hydraulic flip to super-cavitation flow, transitional cavitation and fully reattached flow. The divergent orifice layout intensifies cavitation, and the higher the positive injection hole cone angle, the bigger the hydraulic flip width. The convergent layout of the injection hole suppresses cavitation, and cavitation inside the nozzle disappears completely when the injection hole cone angle is less than −10°.