Skip to content

Make Aircraft.Nacelle.TOTAL_WETTED_AREA a scalar - #1295

Merged
jkirk5 merged 10 commits into
OpenMDAO:mainfrom
xjjiang:Nacelle_Total_WA
Sep 11, 2026
Merged

Make Aircraft.Nacelle.TOTAL_WETTED_AREA a scalar#1295
jkirk5 merged 10 commits into
OpenMDAO:mainfrom
xjjiang:Nacelle_Total_WA

Conversation

@xjjiang

@xjjiang xjjiang commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Summary

This PR fixed the bug reported in #1208. In preprocess_propulsion(), all the Aircraft.Nacelle variables were assumed to allow multi-value. But Aircraft.Nacelle.TOTAL_WETTED_AREA is an exception. See _get_engine_variables() for details. The fix is to exclude it.

Two other scalar nacelle variables are Aircraft.Nacelle.DRAG_FACTOR and Aircraft.Nacelle.PYLON_DRAG_FACTOR. They are not excluded. In fact, they should be multi-valued. This will be taken care in a separate PR.

Related Issues

Backwards incompatibilities

None

AI Usage

None.

Comment thread aviary/utils/preprocessors.py Outdated
@xjjiang
xjjiang requested a review from jkirk5 September 8, 2026 19:55
@jkirk5
jkirk5 added this pull request to the merge queue Sep 11, 2026
Merged via the queue into OpenMDAO:main with commit c7affbb Sep 11, 2026
7 checks passed
@xjjiang
xjjiang deleted the Nacelle_Total_WA branch September 11, 2026 15:47
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.

Aircraft.Nacelle.TOTAL_WETTED_AREA has multivalue=True in the metadata.

3 participants