Numerical study of asymmetric effect on a pitching foil