A calculation method of the viscous flow around multi-component airfoils