In this paper, we describe the use of a new nonlinear partially-averaged Navier–Stokes (PANS) model with near-wall correction for simulating the cavitating flow around a Clark-Y hydrofoil. For comparison, the standard k–𝜀 PANS model is also used. The results demonstrate that compared to k–𝜀 PANS and experiment, the new PANS model shows better performance for cavitation flow, including time-averaged velocity, root mean square (rms) velocity and cavity shedding processing. Through the calculation of the lift and drag coefficient at σ=0.8 and σ=2.0, it can be concluded that the cavitation will decrease the lift and increase the drag of the hydrofoil, resulting in a decrease of the lift-to-drag ratio. From the analysis of different terms in both the turbulent kinetic energy (TKE) and dissipation rate transport equations of the cloud cavitation, it is found that the production term and the dissipation term are dominant in the turbulent transport, and they are mainly distributed in the vapor–liquid interface and the trailing edge of the hydrofoil.