Port sphere transport time-varying prescribed velocity fields#365
Port sphere transport time-varying prescribed velocity fields#365cbegeman wants to merge 11 commits intoE3SM-Project:developfrom
Conversation
589689d to
852572a
Compare
|
@overfelt Good catch! Thanks for investigating. Let me know when it's ready for me to retest. |
|
@cbegeman, @overfelt , As we discussed in yesterday’s meeting, I looked over this PR and made a few RK4-related changes in Omega. I think the results are now correct. Omega and MPAS-O show the same convergence rate in the I will commit the changes once I confirm them with additional tests. |
|
@hyungyukang That's great news! Can you link to the PR that has those RK4 changes when you post it (assuming it's not #392)? |
|
@hyungyukang I added you as a reviewer to this PR in case you noticed anything as you've tested it. |
Sure, I will. Would it be okay for me to push the code directly to your branch |
|
@hyungyukang Hmm, I think it's likely that your changes are fairly unrelated to this PR so it might make more sense to get them in first unless you're concerned about having a good way to test those changes. |
…the state at timeLevel1
ElapsedTimeInterval is the difference between the start time and the current time. But the wrong start time was used so the interval was being set to a sub-step time interval.
01cac44 to
93dc58e
Compare
|
@cbegeman , the changes I made are based on this PR. Here's the branch (https://github.com/hyungyukang/Omega/tree/omega/port-sphere-transport-timestepping-fix) And here is the comparison between your If you prefer, I can open a PR against your repo to merge these changes, since your branch is the base. |
|
@hyungyukang That commit 0552d59 does seem like it belongs with this PR. Go ahead and push it or let me know if you have trouble and I can cherry-pick it. Note that I have rebased this branch onto develop recently so just make sure that you rebase your branch onto this one |
- Updated the location and time information for prescribeState in the time steppers.
|
@cbegeman , I’ve pushed the changes directly to this PR and reran the test with |
|
@hyungyukang This PR also includes this test: https://docs.e3sm.org/polaris/main/users_guide/ocean/tasks/correlated_tracers_2d.html. I expect that it may not produce good results without FCT but we should try it anyhow. I'm running these tests myself as well. |
|
I successfully ran this branch with the |
|
For all MPAS-O results without FCT, the convergence rates for tracer1 for each case were the same as or worse than Omega, which is satisfactory. The overshoots for the There is somewhat different behavior for the filament preservation diagnostic ( |
TestingAll CTests pass on pm, cpu. No new CTests were added. |
|
@hyungyukang and @overfelt Can you review this PR or let me know if you will be unable to review this week? Thanks so much! |
|
@cbegeman , thanks for the results! I will finish by this Thursday. |
|
@overfelt Thank you for reviewing and your help debugging! |









This PR ports time-varying prescribed velocity fields for the sphere transport cases:
and provides an option for the constant prescribed velocity field in the sphere transport case:
Checklist
Testingwith the following:have been run on and indicate that are all passing.
has passed, using the Polaris
e3sm_submodules/Omegabaseline-pfor both the baseline (Polarise3sm_submodules/Omega) and the PR build