Skip to content

fixing CUSP numerics#705

Merged
pcarruscag merged 8 commits intodevelopfrom
feature_cusp_fix
Jun 27, 2019
Merged

fixing CUSP numerics#705
pcarruscag merged 8 commits intodevelopfrom
feature_cusp_fix

Conversation

@WallyMaier
Copy link
Contributor

Proposed Changes

This addressed problems with flux computation in the CUSP scheme, mentioned in issue #465.
The implementation was checked in reference to "Comparison of Several Dissipation Algorithms for Central Difference Schemes" Swanson.

Copy link
Member

@pcarruscag pcarruscag left a comment

Choose a reason for hiding this comment

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

Thanks for that @WallyMaier.
The sign change is consistent also with the book by J. Blazek.
Taking away the 0.5 from the V squared also makes sense given how the speed of sound is being calculated, but I think it is needed for the Jacobian part, lines 756 and 763.
Also I noticed that in this book the inviscid flux is defined as the average of the left and right fluxes, while in SU2 it is currently the flux of the averaged quantities (like in central schemes) can you maybe have a look?

@WallyMaier
Copy link
Contributor Author

@pcarruscag I updated the jacobian. Regarding the flux, I am a bit confused as well. The paper referenced above says flux implemented is a higher-order scheme that employs the SLIP scheme's limiter. That being said, I do not have access to Blazek's book at the moment.

@pcarruscag
Copy link
Member

I followed up on two of the references the book cites:
http://aero-comlab.stanford.edu/Papers/AIAA-12422-882.pdf
https://ntrs.nasa.gov/archive/nasa/casi.ntrs.nasa.gov/19950005461.pdf
Both express the face flux as the average of left and right fluxes, which I guess makes sense since those are used for the dissipation part anyway.

Copy link
Member

@pcarruscag pcarruscag left a comment

Choose a reason for hiding this comment

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

LGTM
@WallyMaier, I can take care of making this consistent with the literature as part of #691

@pcarruscag pcarruscag merged commit ec742c2 into develop Jun 27, 2019
@WallyMaier WallyMaier deleted the feature_cusp_fix branch August 28, 2019 22:07
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