Currently the CLmax of the airfoil is a value passed on the dictionary, but this is bad because this is an actual property, not a choice from the user.
The other problem is that there is one parameter for the whole wing, which makes using two airfoils on the same wing wrong.
A perfect solution would be to make the AVL wrapper (who calls XFoil) returns the CLmax for the analysed airfoil. This would allow even to check for CLmax on each interpolated section (because AVL interpolates the airfoils linearly when the section starts with one airfoil and end with another).
Currently the CLmax of the airfoil is a value passed on the dictionary, but this is bad because this is an actual property, not a choice from the user.
The other problem is that there is one parameter for the whole wing, which makes using two airfoils on the same wing wrong.
A perfect solution would be to make the AVL wrapper (who calls XFoil) returns the CLmax for the analysed airfoil. This would allow even to check for CLmax on each interpolated section (because AVL interpolates the airfoils linearly when the section starts with one airfoil and end with another).