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

SUPER easy fix for nonlinear external loop coupling #72

Merged
merged 1 commit into from
Aug 16, 2018

Conversation

gridley
Copy link
Collaborator

@gridley gridley commented Aug 15, 2018

Addresses #70

For eigenvalue-type calculations, coupling to the external loop should be done on nonlinear iteration steps rather than timestep_begin. It could be on linear since this transport-type problem is in theory purely linear, but I feel that'd come with more software overhead in doing the transfers than we want. So, nonlinear updates make sense. I tested with the LOSCA walk-to-steady case, and it seemed to work great. Maybe we need a unit test for looping precursors though...

@lindsayad
Copy link
Member

For the question of whether to use linear or nonlinear, that really depends on the solve_type selected. Is the postprocessor value of the postprocessor that you modified here used in any residual calculations? If so, then from a solve efficiency stand-point (reducing non-linear iterations) this should at a minimum be executed on nonlinear. Moreover, if we ever used PJFNK instead of NEWTON and the postprocessor value is being used in residual calculations, then this should be executed on linear and nonlinear.

@gridley
Copy link
Collaborator Author

gridley commented Aug 16, 2018 via email

@lindsayad
Copy link
Member

lindsayad commented Aug 16, 2018 via email

@gridley
Copy link
Collaborator Author

gridley commented Aug 16, 2018 via email

@lindsayad
Copy link
Member

lindsayad commented Aug 16, 2018 via email

@lindsayad
Copy link
Member

But for now, this is an unequivocal improvement, so merging..

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