Application of an adaptive algorithm to single and two-element airfoils in turbulent flow