Skip to content

Small fix affecting MPI+MG+RANS - #744

Merged
pcarruscag merged 3 commits into
developfrom
fix_mpi_mg_turb_issue
Jul 30, 2019
Merged

Small fix affecting MPI+MG+RANS#744
pcarruscag merged 3 commits into
developfrom
fix_mpi_mg_turb_issue

Conversation

@pcarruscag

Copy link
Copy Markdown
Member

Proposed Changes

A small typo was causing the eddy viscosity to not be communicated properly.
Thanks @economon for pointing me in the right direction.

PR Checklist

  • I am submitting my contribution to the develop branch.
  • My contribution generates no new compiler warnings (try with the '-Wall -Wextra -Wno-unused-parameter -Wno-empty-body' compiler flags).
  • My contribution is commented and consistent with SU2 style.
  • I have added a test case that demonstrates my contribution, if necessary.

@economon economon left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM. Thanks for tracking that bug down @pcarruscag.

I have just added another small fix for communication of neighbors and made the variable name more clear (to lower the odds of a tricky bug like that again).

turb_naca0012_sst_restart_mg.test_iter = 20
turb_naca0012_sst_restart_mg.ntest_vals = 5
turb_naca0012_sst_restart_mg.test_vals = [-6.437367, -4.558626, 1.231779, -0.007820, 0.081480] #last 5 columns
turb_naca0012_sst_restart_mg.test_vals = [-6.437400, -4.558626, 1.231779, -0.007820, 0.081480] #last 5 columns

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

This restores the exact value before #652 so we should be ok now.

@talbring talbring left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@pcarruscag
pcarruscag merged commit d910125 into develop Jul 30, 2019
@pcarruscag
pcarruscag deleted the fix_mpi_mg_turb_issue branch July 30, 2019 14:03
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.

3 participants