Skip to content
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 del2 and del4 terms to manufactured solution test #6862

Merged

Conversation

cbegeman
Copy link
Contributor

This feature is used only for MPAS-Ocean standalone testing of the horizontal mixing operators del2 and del4. It is an extension of the existing manufactured solution test case. When either or both of del2 and del4 momentum terms are included in the dynamics, we add the corresponding source terms to the manufactured solution at runtime.

[BFB]

@cbegeman cbegeman added BFB PR leaves answers BFB Stealth PR has feature which, if turned on, could change climate. fka FCC MPAS-Ocean standalone Issues and features for standalone MPAS-Ocean code that dont impact E3SM. correctness related to algorithmic/code correctness labels Dec 19, 2024
@cbegeman
Copy link
Contributor Author

Further discussion and review is located at E3SM-Ocean-Discussion#110

Copy link
Contributor

@hyungyukang hyungyukang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@cbegeman, thank you for adding this. The code looks good.
I successfully ran manufactured_solution/convergence_both/del2 and manufactured_solution/convergence_both/del4 tests in Polaris ( E3SM-Project/polaris#234) using MPAS-Ocean from this PR on Frontier with the GNU compiler. As expected, second-order convergence was achieved for both the del2 and del4 tests.

  • del2 test:
image
  • del4 test:
image

Copy link
Contributor

@sbrus89 sbrus89 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved based on testing for E3SM-Project/polaris#234. Thanks for this @cbegeman!

@cbegeman
Copy link
Contributor Author

cbegeman commented Jan 8, 2025

@sbrus89 and @hyungyukang Thank you so much for your review and testing!

For posterity, this is the updated difference plot for del4. It is similar for del2.
image

jonbob added a commit that referenced this pull request Jan 8, 2025
#6862)

Add del2 and del4 terms to manufactured solution test

This feature is used only for MPAS-Ocean standalone testing of the
horizontal mixing operators del2 and del4. It is an extension of the
existing manufactured solution test case. When either or both of del2
and del4 momentum terms are included in the dynamics, we add the
corresponding source terms to the manufactured solution at runtime.

[BFB] not used by E3SM
@jonbob
Copy link
Contributor

jonbob commented Jan 8, 2025

Passes:

  • SMS_D_Ld1.ne30pg2_r05_IcoswISC30E3r5.WCYCL1850.chrysalis_intel.allactive-wcprod

merged to next

@cbegeman
Copy link
Contributor Author

cbegeman commented Jan 8, 2025

Thanks, @jonbob!

@jonbob jonbob merged commit 24eea85 into E3SM-Project:master Jan 9, 2025
5 checks passed
@jonbob
Copy link
Contributor

jonbob commented Jan 9, 2025

merged to master

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BFB PR leaves answers BFB correctness related to algorithmic/code correctness MPAS-Ocean standalone Issues and features for standalone MPAS-Ocean code that dont impact E3SM. Stealth PR has feature which, if turned on, could change climate. fka FCC
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants