-
Notifications
You must be signed in to change notification settings - Fork 849
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
Periodic BC: add dummy BCs. #2038
Conversation
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.
I think you are mixing concepts from structured and unstructured world. In unstructured vertex based we have half of the dual volume on each side of the periodicity, its the same variables on each side but rotated, that's why we combine the residuals.
Our issue is that this is hard to represent in the Jacobian.
MUSCL in unstructured is done with gradients, if you use inconsistent treatment you lose the equivalence between the periodic case and one with repeated mesh sections.
The dummy layer is what we used before version 7 and moved away from it for simplicity. |
Thanks for your comments, commonality does suffer. |
Can you describe the issue you see for hybrid rans /LES? Maybe something is not implemented correctly |
It takes some time to prepare. Setting and output: |
Proposed Changes
Add periodic BCs with dummy points. With internal markers, we could probe data from any inner surfaces, and here, we choose to construct periodic boundaries using dummy points which is preset on the input domain just like the internal markers. Four layers in both side is needed for MUSCL: the inner two layers send and the outer layers recieve.
With this way, we can use a larger CFL number similar to the cases using symmetry BCs and avoid passing too many variables with mpi.
Related Work
#1467 or other works about periodic BCs
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.