Skip to content

Conversation

@FlorianDm
Copy link
Member

Proposed Changes

fix #1365

@FlorianDm
Copy link
Member Author

I updated the restart file in the TestCases directory so I suppose regressions apart from this branch will break until this PR is merged. Sorry

@FlorianDm FlorianDm reopened this Sep 1, 2021
@pcarruscag
Copy link
Member

I have some vague memory of the textbook having a typo?

@WallyMaier
Copy link
Contributor

WallyMaier commented Sep 1, 2021

@pcarruscag I also have a vague memory of that. But I couldn't seem to find it in the previous discussions....
@FlorianDm, could you also change NEMO_sources.cpp line 381 from:
+v*TWO3*(2*GV[nSpecies+2][1]-GV[nSpecies+2][0]
to
+v*TWO3*(2*GV[nSpecies+3][1]-GV[nSpecies+2][0]

@FlorianDm
Copy link
Member Author

Yes it did but it's unrelated. Surprised this bug here could creep in. For the regression it seems like it is still using the old restart file and not the one I pushed to TestCases master a few hours ago. Not sure what I am missing here

@FlorianDm
Copy link
Member Author

@WallyMaier OK will do

@WallyMaier
Copy link
Contributor

@FlorianDm, not sure the issue either. You could just do a "cold" start for the regression?

@pcarruscag
Copy link
Member

Don't push things to master directly
create a PR to develop and then merge, so we can keep track of things.
It's develop you need not master

@FlorianDm
Copy link
Member Author

Yes just realised that sorry
Will fix it

@FlorianDm FlorianDm reopened this Sep 1, 2021
FlorianDm added a commit to su2code/TestCases that referenced this pull request Sep 1, 2021
Copy link
Contributor

@WallyMaier WallyMaier left a comment

Choose a reason for hiding this comment

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

This looks good to me! Im still surprised how this slipped through.

-TWO3*AuxVar_Grad_i[0][1]);
residual[nSpecies+2] -= Volume*(yinv*(-sumJhs_y + total_viscosity_i*(u*(GV[nSpecies+3][0]+GV[nSpecies+2][1])
+v*TWO3*(2*GV[nSpecies+2][1]-GV[nSpecies+2][0]
+v*TWO3*(2*GV[nSpecies+3][1]-GV[nSpecies+2][0]
Copy link
Contributor

Choose a reason for hiding this comment

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

Thanks!

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.

4 participants