Tuning prognostic momentum fluxes #216
Replies: 9 comments 13 replies
-
Looking at the prognostic momentum flux equation, boosting |
Beta Was this translation helpful? Give feedback.
-
Thomas noticed there was a one-line bug in CLUBB's mono_flux_limiter.F90 code, and we've been thinking about what to do with this. When running without prognostic momentum fluxes, the bug is not relevant because the MFL does not operate on um and vm. But when running with PMF, it might make a difference. To properly fix the bug we would need to make a change to the CLUBB repo and then update the external in CAM. Another idea was to see if CAM would run stably with prognostic momentum fluxes but with the MFL turned off for um and vm. Thanks to the 091 CLUBB external updates, this is easy with namelist changes. Here are the results of a one-year test I did, with the 099 tag, using PMF but with MFL turned off for um and vm. I am continuing this test for 5 years and will update with those diagnostics when I have them. |
Beta Was this translation helpful? Give feedback.
-
Unfortunately my 099 tag L58 cam_dev prognostic momentum flux run without the monotonic flux limiter for um and vm (but still active for thlm and rtm) crashed with an error from CLUBB in the 6th year, seemingly in August since the July mean file was printed out. The error comes from near 30 lat and 85 long, which I think is around the Himalayas which has given us trouble with the MFL before. Anyway NaNs show up in various fields and then we get a crash. I don't have high-frequency output from this run so I'm not sure I would be able to pinpoint the specific behavior that led to the crash... By contrast, my 092 tag L58 cam_dev runs with PMF and MFL active (and including Thomas's bug fix) are still going after 15+ years. So, barring some other cause from changes coming from the 093-099 tags, it seems turning off the MFL for um and vm does cause stability issues. If so, it may be best to fix the bug (which just FYI is already fixed in UWM's CLUBB repo) rather than to turn off MFL. @JulioTBacmeister @vlarson @adamrher @Katetc @zarzycki any thoughts? |
Beta Was this translation helpful? Give feedback.
-
That's frustrating, but for the next round of coupled testing I think we should just proceed with the bugfix. I do think it would be worth exploring this further in the future, and let's have a look at the climate in this run. 5+ years should be enough to show if removing the MFL from prognostic momentum flux makes a big difference. |
Beta Was this translation helpful? Give feedback.
-
Hi, the master in clubb_release has the simple bug fix in, perhaps this
could be merged into the current tag?
and yes adding solve_type to the printout there might be helpful, but
I still wonder if, when solve_type=mono_flux_u/vm (i.e. 4 or 5), perhaps
a simple additive unconditional fix, skipping that magnitude test
entirely, would not be more appropriate.
Thomas Toniazzo
MISU Stockholms university
SE-106 91 Stockholm Sverige
…On 2023-03-22 16:08, zarzycki wrote:
BTW, a bug in the ear (perhaps this is for @vlarson
<https://github.com/vlarson> and UWM) ... currently the MFL warning in
the log file looks like...
|226: Vertical integral of xm is zero;mfl will remove spike at top of
domain, 226: but it will not conserve xm. |
maybe I'm missing something. However, it would be good if we could see
exactly what state variable (i.e., um, vm, etc.) are triggering each
call instead of the generic "xm" ... then we'd have some diagnostics as
to how often the MFL is being called and for what variables (and time,
lat, lon could also be helpful :))
—
Reply to this email directly, view it on GitHub
<#216 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADZGLJACVGW6IMDI53MI7DLW5MIVLANCNFSM6AAAAAAVES3RLI>.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
The 5-year diagnostics for the run with prognostic momentum flux but without monotonic flux limiter are here: Just as a reminder, this run crashed in the 6th year. |
Beta Was this translation helpful? Give feedback.
-
Here are the model vs. model diagnostics for the 5-year results with and without the MFL active for um and vm (last post above has the model vs. obs): Also bear in mind these are using the 099 tag which has a higher-magnitude SWCF (about -50 W/m2). |
Beta Was this translation helpful? Give feedback.
-
I am passing along a comment from Dmitrii Mironov about the "barotropic" nature of the wind bias over the Southern Ocean. In other words, compared to MERRA, CAM's zonal wind over the Southern Ocean (60 S) is too strong at all altitudes. He points out that a column-based turbulence parameterization can only directly re-arrange the momentum (or heat or moisture) in the vertical. (Indirectly it can have other effects as well, but let's ignore those for the moment.) The vertical integral of the wind is only affected by surface friction, which drains the column of momentum. This observation hints that the excessive wind might be related to thermal wind balance. Indeed, CAM is much colder than MERRA over the South Pole stratosphere. Does anyone happen to know what causes this cold bias, how to fix it, or why CLUBB might be indirectly affecting it? |
Beta Was this translation helpful? Give feedback.
-
We have some runs with CESM2 FV, low top, with the stratospheric zonal mean u and v nudged toward MERRA2, which may be useful since T probably adjusts to balance it. |
Beta Was this translation helpful? Give feedback.
-
As a second track for tuning work, we are going to try to improve the results of turning on CLUBB's prognostic momentum fluxes for CAM7. We have a somewhat decent looking result already (https://webext.cgd.ucar.edu/F2000climo/d92pmf/atm/, this is just the out-of-the-box 092 tag with cam_dev, L58 and prognostic momentum fluxes turned on), but we are hoping to be able to improve this. The main parameter to tune is C_uu_shr, so I will start a series of runs with a range of values for this parameter and we can see if we find an improved result.
@vlarson @JulioTBacmeister @adamrher @zarzycki
Beta Was this translation helpful? Give feedback.
All reactions