Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Proposed Changes
The CRot value was set to 1.0 for the HLPW5 but the standard value is 2.0 as suggested in TMR. Plus, there may be some inconsistencies with the negative branch of SA when used with the R variant.$\hat{S}$ should be used in the computation of the production term when $\hat{\nu}>0$ . When $\hat{\nu}<0$ , instead, the vorticity $\Omega$ should be used together with the $c_{t3}$ constant. Citing TMR:
"This model is the same as the "standard" version (SA), except that the (SA-R) production term becomes:
...
However, a negative production term is not acceptable for the negative branch ($\hat{\nu} < 0$ ) of the (SA-neg) model. If coding (SA-neg-R), a possible C0 continuous production term in the negative (SA-neg-R) branch is the following:
"
I don't understand if the second production term has to be used everytime SA-neg is considered or only at the points where$\hat{\nu}<0$ .
If it is already taken into account, then I'll modify the PR.
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.
pre-commit run --all
to format old commits.