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

Adjoint Improvements #407

Merged
32 commits merged into from
Jul 13, 2017
Merged

Adjoint Improvements #407

32 commits merged into from
Jul 13, 2017

Conversation

talbring
Copy link
Member

This pull request introduces major structural changes to the discrete adjoint solver. I moved some of the routines to the driver level so that multi-zone problems work with the discrete adjoint. The basic implementation works for Fluid-Fluid zones. Other drivers follow soon (e.g. turbomachinery).

Along with that there also some other minor changes:

  • The low memory tecplot output (which was not working properly anyway) is now removed.
  • The issue with the unsteady cont. adjoint referenced in Unsteady optimization in V5.0 #377 is solved.
  • Restart for the discrete adjoint works properly (as long as the same number of procs is used)
  • I added options for frozen eddy viscosity and frozen limiter. This can be enabled with the options FROZEN_VISC_DISC/FROZEN_LIMITER_DISC. The default is NO for both.

Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Tim, looks like to me a great and useful implementation. I have just one comment for the future... would it be possible to unify the continuous and discrete adjoint options in the config file? In the past I have successfully combined upwind schemes for the primal problems with centered schemes for the dual problem (using the discrete adjoint!). I know it is not consistent but... it works! and I'm not the only one using this strategy. On the other hand, I'm looking forward to try the new restart, I don't think previous versions are working correctly.

Thanks again,
Francisco

@ghost ghost merged commit 011a22b into develop Jul 13, 2017
@talbring
Copy link
Member Author

I also thought about unifying the options. However, for example for the frozen viscosity option we have different default values (NO for disc. adj. and YES for cont. adj.). That's why I did it that way for now. But I'll think of some solutions for that problem for the future.

Best,
Tim

@ghost
Copy link

ghost commented Jul 13, 2017 via email

@talbring talbring deleted the feature_adjoint_iteration branch August 12, 2017 10:39
This pull request was closed.
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

Successfully merging this pull request may close these issues.

2 participants