-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Addition of Fuselage Engine Modeling #463
base: main
Are you sure you want to change the base?
Conversation
…with only fuselage engines
Corrections made to fix failure of "test_wing_detailed.py:DetailedWingBendingTest.test_case_multiengine" |
…1/Aviary into only_fuse_eng_final
if num_wing_engines[i] > 0: | ||
delme[loc[-1]] = engine_locations[idx:idx2][0] - \ | ||
integration_stations[loc[-1]] | ||
else: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably don't need the "else" branch anymore, since num_wing_engines=0 bails before it reaches this code now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Test values need additional investigation (addition of wing engines did not change bending factor for the multiengine test)
Summary
This commit increases Aviary's (version: 0.9.4-dev) functionality by adding statements to allow of the modeling of aircraft that only utilize fuselage engines. Previously modeling aircraft that only use fuselage mounted engines was not supported. This addition was checked with models that have no wing engines (2 fuselage engines), 2 wing engines (no fuselage engines), and 4 wing engines (no fuselage engines) and all optimized successfully. Before and after edit images attached.
Related Issues
Backwards incompatibilities
None
New Dependencies
None