Skip to content
Success

Changes

Summary

  1. This commit contains code changes to implement modifications on limiters in three places: (details)
  2. Updated for recent changes to CLUBB. (details)
Commit 16fcc9ba1c2ab85f00a4d798dccf7a59cbfc718b by bmg2
This commit contains code changes to implement modifications on limiters in three places:

1. remove the limiters in denominator of equation for
   brunt_vaisala_freq_sqd_smth, which affects the computed
   eddy dissipation time scale in turbulent fluxes (wpxp).
   (in mixing_length.F90)

2. reduce the threshold values of limiters in the equation
   for richardson number (sqrt_Ri_zm)
   (in mixing_length.F90)

3. introduce the smoothed max/min function for limiters in
   equation of Cx_fnc_Richardson.
   (in advance_helper_module.F90).

After the modification, we also apply a zt2m(zm2zt) smoothing
on the calculated quantities. These modifications are found to
be benificial for improving solution convergence in CLUBB-SCM

The code changes are controlled by a newly introduced flag named
"l_modify_limiters_for_cnvg_test", which is set to .false. (meaning that
the modificaitons on limiters is turned off) by default.

Originally committed by Shixuan.
The file was modified model_flags.F90 (diff)
The file was modified mixing_length.F90 (diff)
The file was modified advance_helper_module.F90 (diff)
The file was modified clubb_api_module.F90 (diff)
The file was modified advance_clubb_core_module.F90 (diff)
Commit fbb7d22afa20acd41121319a2309d6e91dd75103 by bmg2
Updated for recent changes to CLUBB.
The file was modified components/eam/src/physics/cam/clubb_intr.F90 (diff)