When creating wings using the wing_to_panels function, some chord distributions cause the trailing edge points to shift in the spanwise direction as shown in the image. This seems to occur due to the interpolation in the code and causes trouble when optimizing wings. The optimizer while trying different distributions, sometimes tries distributions where the trailing edge points of a wing move about that it causes an intersection or noisy derivatives leading to non-convergence
When creating wings using the
wing_to_panels
function, some chord distributions cause the trailing edge points to shift in the spanwise direction as shown in the image. This seems to occur due to the interpolation in the code and causes trouble when optimizing wings. The optimizer while trying different distributions, sometimes tries distributions where the trailing edge points of a wing move about that it causes an intersection or noisy derivatives leading to non-convergence