In this paper, a pitching NACA 0012 airfoil is simulated in the slip flow regime by solving the Navier–Stokes equations subjected to the Maxwell slip and Smoluchowski jump boundary conditions. The rhoCentralDyMFoam solver of the OpenFOAM software has been modified to handle these boundary conditions. The effects of several parameters such as reduced frequency, mean angle of attack, amplitude of oscillation and the Knudsen (Kn) number on aerodynamic coefficients are investigated. It was shown that Kn has no significant effect on lift coefficient but changes drag coefficient significantly. Moreover, the reduced frequency changes the lift coefficient considerably but its effect on the drag coefficient is negligible.