Geometry processing
How to Repair Self-Intersecting Airfoil Geometry Before Aerodynamic Analysis
A self-intersection is a curve that crosses itself, usually a bad ordering, a spline loop or a trailing-edge fold. Delete the loop and rebuild the station. Do not scale it and hope the panel code copes.