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

[WIP] Multizone discrete adjoints for turbomachinery #2317

Open
wants to merge 31 commits into
base: develop
Choose a base branch
from

Conversation

oleburghardt
Copy link
Contributor

@oleburghardt oleburghardt commented Jul 2, 2024

Proposed Changes

This is, for now, a brief note on @joshkellyjak 's and my WIP on a discrete adjoint functionality for multizone (multi-stage, multi-row) turbomachinery cases. We intend to realize everything through the native multizone discrete adjoint solver, though some turbo-specific problems need to be resolved.

This will, probably, involve further additions/corrections/cleanups around the mixing plane interface so that it is recorded properly. The current recording seems to still be not fully correct.

Related Work

None, so far.


su2double gammaIn_BC = 0;
if (nDim == 3){
gammaIn_BC = FlowDir[2]; //atan(FlowDir[2]/FlowDir[0]);

Check notice

Code scanning / CodeQL

Commented-out code

This comment appears to contain commented-out code.
@oleburghardt
Copy link
Contributor Author

oleburghardt commented Aug 14, 2024

@joshkellyjak @pcarruscag Should I make some first commits for a "tag type / debug" recording to this branch? (This problem is the main motivation but technically it's quite unrelated.)

We need it here, but it might be better to merge it from a dedicated branch.

…l write restart files during runtime (there is a bug, potentially when clearing the tape).
@joshkellyjak
Copy link
Contributor

@joshkellyjak @pcarruscag Should I make some first commits for a "tag type / debug" recording to this branch? (This problem is the main motivation but technically it's quite unrelated.)

We need it here, but it might be better to merge it from a dedicated branch.

Personally I would like this to selfishly enhance my understanding, but I don't think it should be merged when we complete the PR. Could be useful documentation for the website.

@oleburghardt
Copy link
Contributor Author

Personally I would like this to selfishly enhance my understanding, but I don't think it should be merged when we complete the PR. Could be useful documentation for the website.

Well I think the functionality should be merged at some point. It might become too much for this PR(?). Let me just go ahead and create a dedicated branch for the tag tape. We could just use that branch as a helper then and prepare it for develop after this one is merged.

@pcarruscag
Copy link
Member

Ah now I got the comment. I would keep adding the debug tape separate from fixing the turbo issues

Common/src/CConfig.cpp Fixed Show fixed Hide fixed
Common/src/CConfig.cpp Fixed Show fixed Hide fixed
Common/src/CConfig.cpp Fixed Show fixed Hide fixed
@joshkellyjak
Copy link
Contributor

Reverting an accidental merge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants