-
Notifications
You must be signed in to change notification settings - Fork 376
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
Add a manufactured solution to MPAS-Ocean #5725
Add a manufactured solution to MPAS-Ocean #5725
Conversation
63ac3a3
to
1d3f70d
Compare
1d3f70d
to
ad93c29
Compare
f9cf883
to
96824ae
Compare
Thanks! I reviewed the code and it looks correct. I also compiled with gnu and intel. @sbrus89 can you comment here on how you tested this PR? |
@mark-petersen I tested this with E3SM-Project/polaris#72 with debug flags on Perlmutter. The output plots for that case are below. The sub-optimal convergence is due to #5364 |
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.
@sbrus89 thanks for adding this test case. Approving based on visual inspection and your results.
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 made a few minor comments. My testing with the polaris test case on chrys with intel, open-mpi was successful. Thanks, @sbrus89!
components/mpas-ocean/src/shared/mpas_ocn_manufactured_solution.F
Outdated
Show resolved
Hide resolved
@jonbob, just an FYI that this is ready to go. I'll let you run the E3SM namelist scripts, unless you'd like me to take care of it. |
f3bac4d
to
42c78f6
Compare
The RK4 fix to correct the sub-optimal convergence is under discussion here: E3SM-Ocean-Discussion#55 |
42c78f6
to
f3bac4d
Compare
Thanks @sbrus89 -- I'll run the scripts today and make sure this is good to go |
@sbrus89 -- done. I'll mark this as ready to merge |
@jonbob, Thanks very much! |
Add a manufactured solution to MPAS-Ocean This PR adds the tendencies necessary for a manufactured solution test case in MPAS-Ocean. A convergence study that uses this feature has been added to the polaris package. [NML] [BFB]
passes:
with expected NML DIFFs. Merged to next |
merged to master and expected NML DIFFs blessed |
This PR adds the tendencies necessary for a manufactured solution test case in MPAS-Ocean. The details of the case can be found in Section 3.7 of a pre-print by Sid Bishnu et al. https://doi.org/10.22541/essoar.167100170.03833124/v1.
A convergence study that uses this feature has been added to the polaris package E3SM-Project/polaris#72.
Note that currently this case shows first order convergence due to the issue #5364. However, corrections to the RK4 substep time forcing yields the expected 2nd order convergence. A follow-on PR will be submitted to address this issue.
[BFB]
[NML]