Aircraft design optimization made fast through modern automatic differentiation. Composable analysis tools for aerodynamics, propulsion, structures, trajectory design, and much more.
mean_aerodynamic_chord - returns wing's MAC
mean_aerodynamic_chord_x - returns wing's MAC x coordinate (LE)
mean_aerodynamic_chord_y - returns wing's MAC y coordinate (LE)
Changed c_ref to be c_ref = MAC; instead of mean_geometric_chord
Fixed a minor bug in one of the examples. String input to wing symmetry/asymmetry of control surfaces was invalid. Now it works fine
Edit: Changes made according to previous comments
Added 3 functions in wing.py:
mean_aerodynamic_chord - returns wing's MAC mean_aerodynamic_chord_x - returns wing's MAC x coordinate (LE) mean_aerodynamic_chord_y - returns wing's MAC y coordinate (LE)
Changed c_ref to be c_ref = MAC; instead of mean_geometric_chord
Fixed a minor bug in one of the examples. String input to wing symmetry/asymmetry of control surfaces was invalid. Now it works fine
Hope you will find it useful,
Szymon