peterdsharpe / AeroSandbox

Aircraft design optimization made fast through modern automatic differentiation. Composable analysis tools for aerodynamics, propulsion, structures, trajectory design, and much more.
https://peterdsharpe.github.io/AeroSandbox/
MIT License
687 stars 111 forks source link

Feature/unsteady #51

Closed antoniosgeme closed 3 years ago

antoniosgeme commented 3 years ago

Hello @peterdsharpe ! Here is a much cleaner version of the unsteady aero library. I have included examples of some canonical problems as well as a brief description of what is included.

I am not including any of the optimal control stuff right now as I need to reconsider how I designed some of the functions. I am having some difficulty interpolating opti variables and I suspect it might take some time for me to get that sorted.

-Antonios

antoniosgeme commented 3 years ago

Hey @peterdsharpe I finally found some time to write an implicit analysis that solves the optimal control problem through an arbitrary transverse gust. The goal is to minimize the lift transient during the gust encounter by pitching. Here are two examples where the lift transient is completely mitigated.

I used the AirfoilInviscid Implicit Analysis as an example class to write this one. Let me know if this is not how the ImplicitAnalysis is meant to be used. :joy:

peterdsharpe commented 3 years ago

Haha this is pretty sweet! Great work here! :D

Yes, using AirfoilAnalysis is exactly how ImplicitAnalysis was meant to be used! So glad to see you were able to get it working! I'm hoping to write a tutorial about this soon that will explain some more tricks with ImplicitAnalysis!