-
Notifications
You must be signed in to change notification settings - Fork 857
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix axisymmetric divergence for SST production #1784
Conversation
Co-authored-by: Pedro Gomes <[email protected]>
Co-authored-by: Pedro Gomes <[email protected]>
…into fix_sst_axisymmetry
Actually, can you elaborate on why the strain magnitude doesn't need adjustments? |
Ah yes, I erroneously thought: 2D means only considering the r and z-directions and considered the 2D strain tensor S_ij. But you are right, the stress tensor component |
OK, should this term be added to CFVMFlowSolverBase<V, R>::ComputeVorticityAndStrainMag? There is a call to GetStrainMag in SST and in SA, and in SetRoe_dissipation_NTS. |
…into fix_sst_axisymmetry
…into fix_sst_axisymmetry
Good point, I think we can include the axisymmetric term there. And there is something else... That strain magnitude is including the divergence and so it's closer to the norm of the stress tensor than to the norm of the stress tensor, and thus it is not consistent with the literature, again... 🤦 |
yes, I see it. Do you know why this is done? I think we should remove the Div term to make it compatible with literature. This will then probably change all turbulence regression tests. |
The divergence term comes from the idea to write strain rate as [part without volume change] + [part with volume change]: In any case,magnitude of strain rate is It's symmetric, so: and using For axisymmetry, all the terms with velocity component w and the gradients in z are zero, except that |
…rts, although it shouldn't because this PR is not finished........
TestCases/incomp_navierstokes/streamwise_periodic/chtPinArray_2d/of_grad_findiff.csv.ref
Outdated
Show resolved
Hide resolved
% | ||
% ------------- DIRECT, ADJOINT, AND LINEARIZED PROBLEM DEFINITION ------------% | ||
% | ||
SOLVER= RANS |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice cleanup of the options 👍
Proposed Changes
Give a brief overview of your contribution here in a few sentences.
the axisymmetric terms in the production term of the SST model are not correct and the current implementation is prone to error.
Related Work
Resolve any issues (bug fix or feature request), note any related PRs, or mention interactions with the work of others, if any.
#1783
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.