In order to obtain skin friction of the boundary layers,we adopt the air velocity model to solve the viscid stress. The skin frictions of two cases,1-D laminar flat-plate boundary layer and 2-D laminar NACA0012 airfoil,are calculated by this method. The result of the flat-plate boundary layer matches Blasius solution quite well. Comparing the result of the airfoil calculation with the experimental data,we find that the calculation precision is acceptable at a relatively small angle of attack without airflow separation. As the angle of attack increases and the separation region expands and the proportion of pressure resistance increases,the calculation errors of this method will increase significantly.