-
Notifications
You must be signed in to change notification settings - Fork 194
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
Integrate LES functionality #309
Conversation
@ali-ramadhan this PR is ready for a first review. Possibly we should also add docs in this PR. I could also envision a few more tests to ensure the correctness of the turbulent diffusivities in simple flow fields for Constant Smagorinsky and Anisotropic Minimum Dissipation. However this last is not necessary. |
When we switch to finite volume operators (PR #283) it'll become much clearer where we are imposing no-flux and zero gradient conditions which should help along with comments like We also switch from Would be good to have the turbulence closures using |
How much of it is similar with dedaLES documentation of turbulence closures? Might be mostly copy paste? |
Might be good to close #120 and release v0.9.0 once this PR is merged? Well, maybe release a new minor version once LES is verified. |
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.
Looks good to me so far. With a minor fix all the tests pass (+ GPU tests on Engaging).
Aim of this PR should be to integrate LES closures ASAP and then we can worry about verifying LES and cleaning things up in future PRs.
Hmmm, wonder if it's worth doing this if we're going to do some more rigorous LES verification anyways? The rigorous tests probably won't pass initially which will lead us to do these simpler tests first maybe. |
Codecov Report
@@ Coverage Diff @@
## master #309 +/- ##
=========================================
- Coverage 72.57% 66.17% -6.4%
=========================================
Files 24 25 +1
Lines 1032 1159 +127
=========================================
+ Hits 749 767 +18
- Misses 283 392 +109
Continue to review full report at Codecov.
|
1 similar comment
Codecov Report
@@ Coverage Diff @@
## master #309 +/- ##
=========================================
- Coverage 72.57% 66.17% -6.4%
=========================================
Files 24 25 +1
Lines 1032 1159 +127
=========================================
+ Hits 749 767 +18
- Misses 283 392 +109
Continue to review full report at Codecov.
|
@ali-ramadhan and @glwagner is the incmod(), decmod() stuff the right thing to do in this. I am trying to think how this will interact with Halo() code elsewhere? Would we be better off filling halos at various intermediate stages for now. We can then tidy up and use wiser halos later? Any thoughts? |
Not sure if this is the final form of this PR, but I suggested we just merge the closures as is, with operators that use We could focus on cleanup of this kind once we verify that the LES closures work, unless this is a pretty urgent issue. |
@ali-ramadhan OK. I guess I am missing whether the LES can work with incmod at same time as structures are haloed? e.g in below, unless
|
I think they should as the |
Math is the same, but docs syntax is different. |
@christophernhill @ali-ramadhan using Using |
Ok - got it!
…On Tue, Jul 9, 2019 at 06:26 Gregory L. Wagner ***@***.***> wrote:
@christophernhill <https://github.com/christophernhill> @ali-ramadhan
<https://github.com/ali-ramadhan> using incmod1 will probably work for
periodic domains, as it is equivalent to ignoring the existence of halos.
Using incmod1 does defeat the work done to implement side wall boundary
conditions.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#309>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AA27DYASSNEZWAOQ7TFQKHLP6RRSDANCNFSM4H5I6LHA>
.
|
@glwagner From yesterday's meeting it sounds like this is ready to be merged? |
@ali-ramadhan I think so! Docs will come in a subsequent PR. |
[WIP] Integrate LES functionality Former-commit-id: c961d39
This PR starts the processes of integrating LES functionality from glwagner/pass-tests into Oceananigans master. It is very much WIP at the moment.