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 periodic hills example #1349

Merged
merged 3 commits into from
Nov 11, 2024
Merged

Update periodic hills example #1349

merged 3 commits into from
Nov 11, 2024

Conversation

lpsaavedra
Copy link
Collaborator

@lpsaavedra lpsaavedra commented Nov 11, 2024

Description

A useless warning for the output folder was removed and the default parameters of the ILU preconditioner were removed from the prm file. Apart from this, the example is up to date and everything works as expected.

Checklist (will be removed when merged)

See this page for more information about the pull request process.

Code related list:

  • Lethe documentation is up to date
  • Copyright headers are present and up to date
  • The branch is rebased onto master
  • Code is indented with indent-all and .prm files (examples and tests) with prm-indent
  • Links are added to parent .rst files
  • The example is following the standard format

Pull request related list:

  • Labels are applied
  • There are at least 2 reviewers (or 1 if small feature) excluding the responsible for the merge
  • If this PR closes an issue or is related to a project, it is linked in the "Projects" or "Development" section
  • If any future works is planed, an issue is opened
  • The PR description is cleaned and ready for merge

@lpsaavedra lpsaavedra added Ready for review Example Next release PR that would need to be merged before the next release labels Nov 11, 2024
set ilu preconditioner relative tolerance = 1.00
set verbosity = verbose
set method = gmres
set max iters = 5000
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we need such a large amount of iterations by default?

set max iters = 5000
set relative residual = 1e-3
set minimum residual = 1e-9
set max krylov vectors = 200
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe we could lower the amount of iterations and increase the max number of krylov vectors to match it?

Copy link
Collaborator Author

@lpsaavedra lpsaavedra Nov 11, 2024

Choose a reason for hiding this comment

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

Yes, I think this is a good idea. I have checked the output files, and I think 300 would be reasonable for both.

@blaisb blaisb merged commit 3dc85fc into master Nov 11, 2024
4 checks passed
@blaisb blaisb deleted the review_periodic_hills branch November 11, 2024 23:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Example Next release PR that would need to be merged before the next release Ready for review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants