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

Allow to iterate intermediate GMG levels #1211

Merged
merged 4 commits into from
Aug 1, 2024
Merged

Allow to iterate intermediate GMG levels #1211

merged 4 commits into from
Aug 1, 2024

Conversation

peterrum
Copy link
Collaborator

No description provided.

@peterrum peterrum requested review from blaisb and lpsaavedra July 27, 2024 19:41
Copy link
Contributor

@blaisb blaisb left a comment

Choose a reason for hiding this comment

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

I'm OK with this, but it also lacks the associated documentation. @lpsaavedra I'll let you take a look first

source/solvers/mf_navier_stokes.cc Outdated Show resolved Hide resolved
@peterrum peterrum force-pushed the mg_intermediate branch 2 times, most recently from e243868 to c34c49a Compare July 30, 2024 17:36
Copy link
Collaborator

@lpsaavedra lpsaavedra left a comment

Choose a reason for hiding this comment

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

Minor comments. I will work on the documentation.

include/solvers/mf_navier_stokes.h Outdated Show resolved Hide resolved
source/solvers/mf_navier_stokes.cc Show resolved Hide resolved
@lpsaavedra
Copy link
Collaborator

I added the new parameter in the documentation and updated the changelog. Let us test it before introducing more parameters.

@blaisb blaisb merged commit e134727 into master Aug 1, 2024
8 checks passed
@blaisb blaisb deleted the mg_intermediate branch August 1, 2024 18:17
blaisb pushed a commit that referenced this pull request Aug 27, 2024
Description
In PR #1211 a new parameter was introduced that allow to iterate intermediate GMG levels. This allows to choose a level as coarse grid and used there a GMRES iterative solver preconditioned by a MG. So far, only one parameter was present: mg int level, however, the parameters for the number of iterations and tolerances were being hardcoded. This PR changes that by using already existing GMRES parameters..

Testing
I have tested this in the flow around a sphere case and seems to work just fine.

Documentation
The documentation was updated by adding a note that specifies the use of these parameters for this purpose as well.
M-Badri pushed a commit to M-Badri/lethe that referenced this pull request Sep 29, 2024

Co-authored-by: Laura Prieto Saavedra <[email protected]>
Former-commit-id: e134727
M-Badri pushed a commit to M-Badri/lethe that referenced this pull request Sep 29, 2024
…os-polymtl#1264)

Description
In PR chaos-polymtl#1211 a new parameter was introduced that allow to iterate intermediate GMG levels. This allows to choose a level as coarse grid and used there a GMRES iterative solver preconditioned by a MG. So far, only one parameter was present: mg int level, however, the parameters for the number of iterations and tolerances were being hardcoded. This PR changes that by using already existing GMRES parameters..

Testing
I have tested this in the flow around a sphere case and seems to work just fine.

Documentation
The documentation was updated by adding a note that specifies the use of these parameters for this purpose as well.

Former-commit-id: bf39a0d
blaisb pushed a commit that referenced this pull request Sep 30, 2024

Co-authored-by: Laura Prieto Saavedra <[email protected]>
Former-commit-id: e134727
blaisb pushed a commit that referenced this pull request Sep 30, 2024
Description
In PR #1211 a new parameter was introduced that allow to iterate intermediate GMG levels. This allows to choose a level as coarse grid and used there a GMRES iterative solver preconditioned by a MG. So far, only one parameter was present: mg int level, however, the parameters for the number of iterations and tolerances were being hardcoded. This PR changes that by using already existing GMRES parameters..

Testing
I have tested this in the flow around a sphere case and seems to work just fine.

Documentation
The documentation was updated by adding a note that specifies the use of these parameters for this purpose as well.

Former-commit-id: bf39a0d
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.

3 participants