Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"V" not available as a design variable #96

Open
marcomangano opened this issue Nov 27, 2020 · 0 comments
Open

"V" not available as a design variable #96

marcomangano opened this issue Nov 27, 2020 · 0 comments
Assignees

Comments

@marcomangano
Copy link
Contributor

Description

We currently cannot include the inflow velocity V among the design variables due to an incomplete variable setup routine.
This input variable must be included in the available set, which already includes mach, alpha, etc...
The bugfix will also require modifications to BaseClasses

Steps to reproduce issue

On a working runscript for ADflow, include 'V' among the design variables with:
ap.addDV('V') where ap is your AeroProblem instance.

Current behavior

The initialization terminates abruptly with the following message:

File "<path-to-baseclasses>/baseclasses/pyAero_problem.py", line 525, in addDV
    raise ValueError('%s is not a valid design variable' % key)
ValueError: V is not a valid design variable

Expected behavior

ADflow should run and evaluate the sensitivities, including those w.r.t. the inflow velocity

Code versions

  • BaseClasses v1.2.2
  • ADflow v2.2.1
@marcomangano marcomangano self-assigned this Nov 27, 2020
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

No branches or pull requests

1 participant