-
Notifications
You must be signed in to change notification settings - Fork 79
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
Addition of enthalpy fluxes in CESM #278
Conversation
* We no longer need to calcuate the enthalpy associated with meltw. The sea-ice model is already accounting for this enthalpy and the corresponding heat flux is included in meltw; * Adding a term representing the enthalpy associated with condensation (positive evaporation in the ocean). This term is treated just like liquid precipitation (rain), and is accounted for in hcorr; * Revisiting the limeters (min/max depending if mass is liquid or frozen) in the enthalpy calculations.
Revise enthalpy terms
@JEdwards - I don't understand why this build is failing. I was able to successfully build the following on cheyenne with the latest version of CIME and this branch: feature/enthalpy_changes |
The extbuild test is a build of cmeps without cesm. It's failing because you have included usage of shr_const_mod |
@mvertens I got following compile error when I test this under UFS,
UFS uses its on constant module under |
@uturuncoglu I think this should be fixed now, please try again. |
@jedwards4b let me try again. |
@mvertens @jedwards4b the compile is fine now but I am getting following error from the run.
|
@uturuncoglu - thanks so much for testing this. Can you please point me to your sandbox? Or the mediator log file determining what is being advertised. Or a PET log file. If you are not running on cheyenne - can you bring one of those back to cheyenne so I can look at it? |
@mvertens It is on Cheyenne. You could see the run directory is here: |
@uturuncoglu - thanks I'll take a look. |
I think this probably just needs a FB_FldChck for the Faxx_sen field? |
@DeniseWorthen - I think you are right! |
@mvertens @DeniseWorthen testing it now.
|
@mvertens @DeniseWorthen Okay. It passed the test with the changes. I am still not sure about just by adding if statement would be enough. The |
@uturuncoglu @DeniseWorthen - thanks so much for testing this and resolving this problem! |
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've tested UWM with Ufuk's fix and all baselines pass; I've added the info to the PR
Add ability to send enthalpy fluxes back to MOM6 and at the same time adding a correction term to the sensible heat flux sent back to CAM.
Description of changes
Addition of enthalpy fluxes in CESM
Specific notes
Currently in CESM, enthalpy fluxes are not accounted for by other components. In fully-coupled simulation with MOM6, this leads to an imbalance of ~ -0.25 W m-2 in the system. This PR addresses sending enthalpy fluxes back to MOM6 and at the same time adding a correction term to the sensible heat flux sent back to CAM.
Contributors other than yourself, if any: @gustavo-marques
CMEPS Issues Fixed: None
Are changes expected to change answers? (specify if bfb, different at roundoff, more substantial)
Answers will change only for simulations involving MOM6 and where the following must currently be changed for MOM:
Any User Interface Changes (namelist or namelist defaults changes)? No
Testing performed
Testing performed if application target is CESM:
Used cesm2_3_beta08 with the updates to CESM and the following branch for MOM6:
Ran the following tests to show bfb with cesm2_3_beta08:
Ran
ERS.TL319_t061.GMOM_JRA_WD.cheyenne_intel
and verified that it passed restartTesting performed if application target is UFS-coupled:
Testing performed if application target is UFS-HAFS:
Hashes used for testing: