byuflowlab / VortexLattice.jl

A Comprehensive Julia implementation of the Vortex Lattice Method
MIT License
48 stars 11 forks source link

Shift in wing coordinates along span #31

Closed cibinjoseph closed 5 months ago

cibinjoseph commented 5 months ago

wingVLM

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