Skip to content

Apply Aircraft.Design.PERCENT_EXCRESCENCE_DRAG to FLOPS based aerodynamics#1185

Open
xjjiang wants to merge 16 commits into
OpenMDAO:mainfrom
xjjiang:FLOPS_excrescence
Open

Apply Aircraft.Design.PERCENT_EXCRESCENCE_DRAG to FLOPS based aerodynamics#1185
xjjiang wants to merge 16 commits into
OpenMDAO:mainfrom
xjjiang:FLOPS_excrescence

Conversation

@xjjiang

@xjjiang xjjiang commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Summary

When Aircraft.Design.PERCENT_EXCRESCENCE_DRAG was added to GASP based aerodynamics, it was not applied to FLOPS based aerodynamics where it was named excrescences_drag as an option (value: 0.06).

This PR replaced excrescences_drag by Aircraft.Design.PERCENT_EXCRESCENCE_DRAG. It is changed to an aviary variable. The default value is kept as 0.0. Users must set its value in their dataset (value: 0.06).

FLOPS goes to detailed table for different components. See issue #1184 for details.

Related Issues

  • Resolves #

Backwards incompatibilities

None

New Dependencies

None

@xjjiang xjjiang changed the title Apply Aircraft.Design.EXCRESCENCE_DRAG_FACTOR to FLOPS based aerodynamics Apply Aircraft.Design.PERCENT_EXCRESCENCE_DRAG to FLOPS based aerodynamics Jun 11, 2026

@jkirk5 jkirk5 left a comment

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.

Putting a quick block on merging - we can't loose the 0.06 FLOPS default because that will cause all future models using the method to produce incorrect answers

@Kenneth-T-Moore

Copy link
Copy Markdown
Member

Putting a quick block on merging - we can't loose the 0.06 FLOPS default because that will cause all future models using the method to produce incorrect answers

Do we currently have any other vars or options that have different defaults between the 2 code-origins?

@jkirk5

jkirk5 commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

Putting a quick block on merging - we can't loose the 0.06 FLOPS default because that will cause all future models using the method to produce incorrect answers

Do we currently have any other vars or options that have different defaults between the 2 code-origins?

I think we have some, but they are easily handled - typically the Aviary default is zero, and the different FLOPS/GASP defaults are added to the input file during file conversion. This is stuff where using the same default as the legacy code is important for matching results with that code, but aren't fundamental to the method itself.

This is a weird case, because in FLOPS the excrescence drag factor isn't actually an input, so that 0.06 seems like it may have been hardcoded into the method. So it's not just a matter of setting the variable during file conversion - it's something that needs to be happening for all Aviary models using EDET, whether they were converted from FLOPS or written from scratch so the results match what that method is expected to produce.

There is a unrelated potential issue that currently the excrescence drag factor has a default of 0, and none of our GASP models set that. So that drag component ends up always being zero in GASP aero which seems unintended.

@jkirk5

jkirk5 commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

TLDR: This default is important because without it, the same set of inputs given to EDET vs. our Aviary implementation will produce different outputs unless the user knows to specifically add a certain variable with a specific value (which isn't normally an input to the method), which isn't helpful. This is different than most FLOPS/GASP disagreements because those are about which value an input has, and that is fine because we just care about having the correct outputs for a given set of inputs

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.

3 participants