Skip to content

Two-dof refactor part 4: Replaced remaining two-dof phases/odes/eoms with more general phase builders selectable with PhaseType.#1000

Open
Kenneth-T-Moore wants to merge 20 commits intoOpenMDAO:mainfrom
Kenneth-T-Moore:2dof_4
Open

Two-dof refactor part 4: Replaced remaining two-dof phases/odes/eoms with more general phase builders selectable with PhaseType.#1000
Kenneth-T-Moore wants to merge 20 commits intoOpenMDAO:mainfrom
Kenneth-T-Moore:2dof_4

Conversation

@Kenneth-T-Moore
Copy link
Member

Summary

PR #986 should be reviewed and merged first.

New PhaseType TWO_DOF_TAKEOFF added.

  • Replaces the two-dof Groundroll, Rotation, and Ascent phases, odes, and eoms.

New PhaseType ACCEL added.

  • Replaces the two-dof Accel phase, ode, and eom.

Updated all existing phase-infos accordingly.
Moved the old two dof GroundPhase, ode, and eom over to the Solved Two-dof section, since they were also re-used there.

Related Issues

  • Resolves #

Backwards incompatibilities

None

New Dependencies

None

Copy link
Contributor

@jkirk5 jkirk5 left a comment

Choose a reason for hiding this comment

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

Should "phase_builder" phase_info option get added to the option dictionaries for the phases? Or am I missing that?

Also I will suggest using phase_type instead of phase_builder in the phase info user options because it doesn't accept a PhaseBuilder

@Kenneth-T-Moore
Copy link
Member Author

Kenneth-T-Moore commented Mar 2, 2026

Should "phase_builder" phase_info option get added to the option dictionaries for the phases? Or am I missing that?

It lives in the base class for the phase builder dictionariess.

Also I will suggest using phase_type instead of phase_builder in the phase info user options because it doesn't accept a PhaseBuilder

Good idea, i will make that change.

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