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

Optimization Auto Adjoint doesn't work with scaling of the system #29570

Open
maxnezdyur opened this issue Dec 18, 2024 · 0 comments · May be fixed by #29571
Open

Optimization Auto Adjoint doesn't work with scaling of the system #29570

maxnezdyur opened this issue Dec 18, 2024 · 0 comments · May be fixed by #29571
Labels
P: normal A defect affecting operation with a low possibility of significantly affects. T: defect An anomaly, which is anything that deviates from expectations.

Comments

@maxnezdyur
Copy link
Contributor

Bug Description

When using automatic_scaling or "manual" scaling of variables, the adjoint system doesn't scale properly. While the gradients for the optimization will point in the correct direction they can become scaled such that gradient tolerances become useless.

Steps to Reproduce

Turn on automatic scaling and observe convergence criteria.

Impact

This can make the working with coupled physics hard when scaling is especially useful.

[Optional] Diagnostics

No response

@maxnezdyur maxnezdyur added P: normal A defect affecting operation with a low possibility of significantly affects. T: defect An anomaly, which is anything that deviates from expectations. labels Dec 18, 2024
maxnezdyur added a commit to maxnezdyur/moose that referenced this issue Dec 18, 2024
maxnezdyur added a commit to maxnezdyur/moose that referenced this issue Dec 18, 2024
@maxnezdyur maxnezdyur linked a pull request Dec 18, 2024 that will close this issue
maxnezdyur added a commit to maxnezdyur/moose that referenced this issue Dec 18, 2024
maxnezdyur added a commit to maxnezdyur/moose that referenced this issue Dec 18, 2024
maxnezdyur added a commit to maxnezdyur/moose that referenced this issue Dec 19, 2024
maxnezdyur added a commit to maxnezdyur/moose that referenced this issue Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P: normal A defect affecting operation with a low possibility of significantly affects. T: defect An anomaly, which is anything that deviates from expectations.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant