Skip to content

Conversation

@oleburghardt
Copy link
Contributor

@oleburghardt oleburghardt commented Jul 2, 2024

Continued by #2446.

Original Message

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.


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

Check notice

Code scanning / CodeQL

Commented-out code Note

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

@joshkellyjak
Copy link
Contributor

Reverting an accidental merge

Comment on lines 6515 to 6698

Check notice

Code scanning / CodeQL

Long switch case Note

Switch has at least one case that is too long:
MIXING_IN_1D (89 lines)
.
Switch has at least one case that is too long:
MASS_FLOW_OUTLET (83 lines)
.
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.

5 participants