Skip to content

Update all components to use variable gravity - #1325

Open
jkirk5 wants to merge 7 commits into
OpenMDAO:mainfrom
jkirk5:gravity
Open

jkirk5 wants to merge 7 commits into
OpenMDAO:mainfrom
jkirk5:gravity

Conversation

@jkirk5

@jkirk5 jkirk5 commented Sep 30, 2026

Copy link
Copy Markdown
Contributor

Summary

All components updated to properly convert mass <-> force using the current gravity (Mission.GRAVITY) where appropriate.

Tests were significantly overhauled where found to be better formatted and cover more test cases (such as alternate values for gravity)

Related Issues

  • Resolves #

Backwards incompatibilities

None

AI Usage

Claude Sonnet 5 was used to re-organize tests to use the sub-test pattern and only use one unittest class per component being tested

@@ -20,7 +21,7 @@


def add_aviary_input(
comp: Component,

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Only really need this change for add_aviary_options, because groups don't support I/O.

This branch has not been deployed

No deployments
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