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
Fails to calculate function for Adjoint calculation #1727
Comments
Hi, I think the "aerodynamics" calculation does not start, because in line 91 of functions.py zhen |
Thank you so much for your input. I really appreciate your time and help. I made the following changes in the
to
Now the solver enters the adjoint calculation and works fine. Thanks a lot. |
Nice to hear that! You are welcome. @AbhijithMoni |
I'm sorry but I have to say, this is why the code never evolves, you open an issue, get a solution for your problem, then close the issue without there being a pull request that actually fixes the problem for everyone else. |
@pcarruscag, my sincere apologies for not redirecting it to a pull request. I will make sure to redirect to pull request if something comes up in future. Thanks for your help. Sorry again. |
For an inverse design problem, SU2 fails to calculate
INVERSE_DESIGN_PRESSURE
for adjoint calculation. SU2_CFD runs without any errors, while the solver enters the adjoint calculation design phase using theshape_optimization.py
script it exhibits the following key error:File "C:\SU2\bin\SU2\eval\functions.py", line 118, in function func_out = state['FUNCTIONS'][func_name] KeyError: 'INVERSE_DESIGN_PRESSURE'
I have attached the files used for the simulation. Any help is appreciated.
Thanks.
inverse_design.zip
The text was updated successfully, but these errors were encountered: