Skip to content

Phase info Revamp 4: propagate changes into the 2dof and solved2dof phases.#816

Merged
jkirk5 merged 27 commits intoOpenMDAO:mainfrom
Kenneth-T-Moore:phase_info_revamp4
Jul 22, 2025
Merged

Phase info Revamp 4: propagate changes into the 2dof and solved2dof phases.#816
jkirk5 merged 27 commits intoOpenMDAO:mainfrom
Kenneth-T-Moore:phase_info_revamp4

Conversation

@Kenneth-T-Moore
Copy link
Copy Markdown
Member

Summary

Phase info Revamp 4: propagate changes into the 2dof and solved2dof phases.

Related Issues

  • Resolves #

Backwards incompatibilities

None

New Dependencies

None

Comment thread aviary/core/aviary_group.py Outdated
):
if self.phase_info[phase_name]['user_options'].get(
'ground_roll'
) and not self.phase_info[phase_name]['user_options'].get('rotation'):
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was this intentional? This is pretty different behavior and I'm not sure I follow the new logic

Copy link
Copy Markdown
Member Author

@Kenneth-T-Moore Kenneth-T-Moore Jul 17, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix initial is gone now, and it was used here to indicate that the first phase is the one we are trying to select with this 'if' statement. There are 2 takeoff phases that have ground_roll, and the first one does not have rotation, so it matches the same phase.

I could probably do the same thing by checking idx == 0 instead, which is a more direct way to find the first phase.

Comment on lines -1 to -3
# This is test data generated using write_data_file
# Aviary data tables can support multiple comments

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why were the comments removed? The docs read & print these out to demonstrate how comments are stored, so we need them.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, since this file gets written by the docs themselves, it should probably be deleted entirely

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah, I think an earlier PR must have inserted these comments into the auto-generated file. We only see the change because I built the docs while working this PR.

@jkirk5 jkirk5 added this pull request to the merge queue Jul 22, 2025
Merged via the queue into OpenMDAO:main with commit 757cc45 Jul 22, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants