Skip to content

[WIP] Full multigrid with implicit line agglomeration - #2863

Open
bigfooted wants to merge 27 commits into
developfrom
feature_fullmg
Open

[WIP] Full multigrid with implicit line agglomeration#2863
bigfooted wants to merge 27 commits into
developfrom
feature_fullmg

Conversation

@bigfooted

@bigfooted bigfooted commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Proposed Changes

Give a brief overview of your contribution here in a few sentences.

  • fix full multigrid. FMG now has scaled CFL for the coarser meshes during the warmup phase. We also have
    MG_STARTUP_ITER= 50 as config option.
  • fix implicit line agglomeration. for the turbulent flat plate and single core computations, we get an exact agglomeration. new config options:
    MG_IMPLICIT_LINES= YES
    MG_IMPLICIT_LINES_MAX_LENGTH= 1000
    MG_IMPLICIT_LINES_ISOTROPIC= YES

For isotropic=yes, every pair of 2x2 nodes is agglomerated, for isotropic=no, we only agglomerate in the direction normal to the implicit line, so the y+ values are preserved.
Note that this implicit line agglomeration is a 2D implementation.

Related Work

PR Checklist

Put an X by all that apply. You can fill this out after submitting the PR. If you have any questions, don't hesitate to ask! We want to help. These are a guide for you to know what the reviewers will be looking for in your contribution.

  • I am submitting my contribution to the develop branch.
  • My contribution generates no new compiler warnings (try with --warnlevel=3 when using meson).
  • My contribution is commented and consistent with SU2 style (https://su2code.github.io/docs_v7/Style-Guide/).
  • I used the pre-commit hook to prevent dirty commits and used pre-commit run --all to format old commits.
  • I have added a test case that demonstrates my contribution, if necessary.
  • I have updated appropriate documentation (Tutorials, Docs Page, config_template.cpp), if necessary.

Comment thread SU2_CFD/src/integration/CMultiGridIntegration.cpp Outdated
Comment thread Common/src/geometry/CMultiGridGeometry.cpp Fixed
Comment thread Common/src/geometry/CMultiGridGeometry.cpp Fixed
bigfooted and others added 3 commits August 5, 2026 22:22
… type with wide type in loop condition'

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
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