-
Notifications
You must be signed in to change notification settings - Fork 910
Update turbo ramps #2419
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
Update turbo ramps #2419
Conversation
pcarruscag
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, just some minor stuff and it's good to go.
…into feature_turbo_ramps
|
Not entirely sure why reg tests are failing on this branch, I am unable to reproduce the same results seen here locally; my local results match the reg test values. |
|
I was going to suggest compiler differences but the changes are huge Run valgrind... |
|
Did you find anything with valgrind @joshkellyjak ? |
If I remember correctly nothing turned up. Will run again today and double check. |
|
Nothing turning up in Valgrind. In fact I am still unable to reproduce the discrepency seen in the regression tests locally, the values match perfectly everywhere but here, further none of the regression tests should even be effected by the modifications in this PR (I guess this an issue in itself). Any thoughts @pcarruscag ? |
|
You may want to try different build options, debug vs release. I'm on GCC 13 and valgrind picked up those issues. |
|
I am using debugoptimized, I will give the others a go. I am also on gcc-13 but I did update recently, I can't remember what I was on when I initially did the test. I think I was missing the verbosity option, running a quick test again now and the error is displayed when this is enabled in valgrind, and doesn't when it is not. Yes I think I see the issue, the bool values are set false after these erroneous lines when the ramp is not engaged. Should be a pretty straightforward fix. |
…into feature_turbo_ramps
…into feature_turbo_ramps
…into feature_turbo_ramps
|
Updated testcases and everything looks good now. Once su2code/Tutorials#66 is merged I will update workflows and this is ready to go. |


Proposed Changes
The turbomachinery ramps were missing the option to ramp the translation rate in 2D and the ability to ramp the outlet mass flow, these have been added and the function has been made more general to accomodate these additions. It should be much easier to add ramps in the future.
Related Work
N/A
PR Checklist
Put an X by all that apply. You can fill this out after submitting the PR. If you have any questions, don't hesitate to ask! We want to help. These are a guide for you to know what the reviewers will be looking for in your contribution.
pre-commit run --allto format old commits.