Skip to content

[WIP] Feature fullmg - #2862

Closed
bigfooted wants to merge 12 commits into
developfrom
feature_fullmg
Closed

[WIP] Feature fullmg#2862
bigfooted wants to merge 12 commits into
developfrom
feature_fullmg

Conversation

@bigfooted

@bigfooted bigfooted commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Proposed Changes

Fixes some small things in full multigrid method. New config option MG_STARTUP_ITER=100 for the number of iterations in the initial phase of the FMG method
Fixes some small things in the implicit line agglomeration for inflation layers. MG_IMPLICIT_LINES_ISOTROPIC=YES will create a coarser mesh that is 2x2 smaller in both x and y-directions and =NO will only agglomerate in the direction normal to the implicit line. the implicit line is normal to the wall.

Related Work

Resolve any issues (bug fix or feature request), note any related PRs, or mention interactions with the work of others, if any.

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 Common/include/option_structure.hpp Outdated
Comment thread Common/src/CConfig.cpp Outdated
Comment thread SU2_CFD/include/integration/CMultiGridIntegration.hpp Outdated
Comment thread SU2_CFD/include/integration/CMultiGridIntegration.hpp Outdated
Comment thread SU2_CFD/include/integration/CMultiGridIntegration.hpp Outdated
Comment thread SU2_CFD/src/iteration/CFluidIteration.cpp Outdated
Comment thread SU2_CFD/src/iteration/CFluidIteration.cpp Outdated
Comment thread SU2_CFD/src/iteration/CFluidIteration.cpp Outdated
Comment thread SU2_CFD/src/iteration/CFluidIteration.cpp Outdated
Comment thread SU2_CFD/src/solvers/CSolverFactory.cpp Outdated
Comment thread SU2_CFD/src/solvers/CTurbSASolver.cpp Outdated
Comment thread SU2_CFD/src/solvers/CTurbSSTSolver.cpp Outdated
Comment thread config_template.cfg Outdated
Comment thread SU2_CFD/src/integration/CMultiGridIntegration.cpp Outdated
Comment thread SU2_CFD/src/integration/CMultiGridIntegration.cpp Outdated
Comment thread SU2_CFD/src/integration/CMultiGridIntegration.cpp Outdated
Comment thread SU2_CFD/src/integration/CMultiGridIntegration.cpp Outdated
Comment thread SU2_CFD/src/variables/CTurbVariable.cpp Outdated
Comment thread SU2_CFD/src/integration/CMultiGridIntegration.cpp Outdated
Comment thread SU2_CFD/src/integration/CMultiGridIntegration.cpp Outdated
Comment thread SU2_CFD/src/integration/CMultiGridIntegration.cpp Outdated
Comment thread SU2_CFD/src/integration/CMultiGridIntegration.cpp Outdated
Comment thread SU2_CFD/src/integration/CMultiGridIntegration.cpp Outdated
Comment thread SU2_CFD/src/integration/CMultiGridIntegration.cpp Outdated
Comment thread SU2_CFD/src/integration/CMultiGridIntegration.cpp Outdated
Comment thread SU2_CFD/src/iteration/CFluidIteration.cpp Outdated
bigfooted and others added 2 commits August 4, 2026 21:28
remove multigrid turbulence

Co-authored-by: Nijso <nijso@hotmail.com>
Comment thread SU2_CFD/src/iteration/CFluidIteration.cpp Outdated
Comment thread SU2_CFD/src/iteration/CFluidIteration.cpp Outdated
Comment thread SU2_CFD/src/integration/CMultiGridIntegration.cpp Outdated
Comment thread SU2_CFD/src/integration/CMultiGridIntegration.cpp Outdated
Comment thread SU2_CFD/src/integration/CMultiGridIntegration.cpp Outdated
Comment thread SU2_CFD/src/integration/CMultiGridIntegration.cpp
Comment thread SU2_CFD/src/integration/CMultiGridIntegration.cpp Outdated
Comment thread SU2_CFD/src/integration/CMultiGridIntegration.cpp Outdated
Comment thread SU2_CFD/src/integration/CMultiGridIntegration.cpp Outdated
Comment thread SU2_CFD/src/integration/CMultiGridIntegration.cpp Outdated
bigfooted and others added 2 commits August 4, 2026 21:44
Co-authored-by: Nijso <nijso@hotmail.com>
Comment thread SU2_CFD/src/integration/CMultiGridIntegration.cpp Outdated
Comment thread SU2_CFD/src/integration/CMultiGridIntegration.cpp Outdated
Comment thread SU2_CFD/src/integration/CMultiGridIntegration.cpp Outdated
Co-authored-by: Nijso <nijso@hotmail.com>
Comment thread SU2_CFD/src/integration/CMultiGridIntegration.cpp Outdated
Comment thread SU2_CFD/src/integration/CMultiGridIntegration.cpp Outdated
Comment thread SU2_CFD/src/integration/CMultiGridIntegration.cpp Outdated
Comment thread SU2_CFD/src/integration/CMultiGridIntegration.cpp Outdated
Comment thread SU2_CFD/src/integration/CMultiGridIntegration.cpp Outdated
Co-authored-by: Nijso <nijso@hotmail.com>
return max(su2double{CLAMP_MIN}, min(su2double{CLAMP_MAX}, factor));
}

static su2double GetMGLevelCorrectionScale(unsigned short iMesh) {
@bigfooted bigfooted closed this Aug 5, 2026
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