-
Notifications
You must be signed in to change notification settings - Fork 0
Each panel takes its own wing's spanwise direction in calc_forces! and calculate_results #367
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
Merged
1-Bart-1
merged 8 commits into
main
from
agent/358-calc-forces-and-calculate-results-use-th
Sep 22, 2026
Merged
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
cadd8bc
Give each panel its own wing's spanwise direction in calc_forces! and…
1-Bort-1 c3f4be6
Take the projected span from every wing along the first wing's span d…
1-Bort-1 5a7df1d
Walk the wings' panel and section offsets with one sum each
1-Bort-1 f3c2339
Check the reference lift direction on the vector it is built from
1-Bort-1 024dc45
Merge origin/main into agent/358-calc-forces-and-calculate-results-us…
1-Bort-1 b3ce084
Merge origin/main into agent/358-calc-forces-and-calculate-results-us…
1-Bort-1 a214007
Merge branch 'main' into agent/358-calc-forces-and-calculate-results-…
1-Bort-1 d066ca6
Merge origin/main: one spanwise_extent for a wing and for several wings
1-Bort-1 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
I don't fully understand how this works yet. Some figures in the PR body would help. And more explanation on what the spanwise directions are, and how the lift direction is now determined with multiple wings, and what spanwise becomes with multiple wings.
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.
Rewrote the PR description: a new section, 'How the directions are built', with before/after figures of a wing plus a deflected fin, rendered from main's src and d066ca6. In short: each Wing keeps its own spanwise_direction. A panel's lift comes from its own section geometry and never used it. The span direction sets the panel's drag, cross(spanwise, lift), and on main a fin's drag came out along -z, 44 N of lost lift in the figure. The body's lift/side sums and wing_span stay in the first wing's frame, as before.