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

Update 'Peierls strain rate residual tolerance' #5609

Merged

Conversation

danieldouglas92
Copy link
Contributor

Following #5338, the default value for the parameter Peierls strain rate residual tolerance seemingly doesn't need to be so strict because the residual is now relative to the log of the strain rate. Opening this PR was motivated by models that I was running using the default value that could not converge, but using a value of 1e-10 - 1e-12 converged and produced negligible differences in the solution. Lowering the value should make models with Peierls creep more stable and faster when using the default value.

This PR updates the documentation of this parameter and changes the default value to mirror the changes in diffusion/dislocation merged in #5338.

@gassmoeller
Copy link
Member

This makes sense. Our testers have some problems right now, so this will need to wait a bit until we fix them. One question: #5338 chooses 1e-10 as a threshold, you here choose 1e-12. Any reason for that? Wouldnt it make more sense to use the same threshold?

@danieldouglas92
Copy link
Contributor Author

I chose 1e-12 because that's what I saw in most of the tests involving Peierls creep, but for consistency I can change it to 1e-10.

@gassmoeller
Copy link
Member

/rebuild

@gassmoeller
Copy link
Member

The only failing tests are unrelated, so I will merge this. Thanks for the improvement.

@gassmoeller gassmoeller merged commit a34f74c into geodynamics:main Mar 27, 2024
7 of 8 checks passed
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.

2 participants