Commit 2a510f9
committed
+(*)EPBL_BBL_EFFIC_BUG & DRAG_DIFFUSIVITY_ANSWER_DATE
Previously, visc%BBL_meanKE_loss (which was called visc%TKE_BBL before it was
renamed) was missing a factor of the square root of the drag coefficient
compared with the net loss of kinetic energy. This was compensated for by
multiplication by factors of the square root of the drag coefficient in
add_drag_diffusivity and add_LOTW_BBL_diffusivity, but when an equivalent
expression was added in the ePBL BBL code this was erroneously omitted.
Moreover, Alistair has had a comment questioning this added factor in
add_LOTW_BBL_diffusivity for a decade without adequate resolution.
To correct this confusing situation, visc%BBL_meanKE_loss has been changed to
include the missing factor of the square root of the drag coefficient, while the
new variable visc%BBL_meanKE_loss_sqrtCd was added to allow for the previous
answers to be recovered when the new runtime parameter EPBL_BBL_EFFIC_BUG is set
to true and DRAG_DIFFUSIVITY_ANSWER_DATE is set below 20250302. Because the
ePBL bottom boundary layer was only added to dev/gfdl a month ago and has not
yet been merged into main, we can be confident that it has only received very
limited use as yet, so the default for EPBL_BBL_EFFIC_BUG is false but this
default will change answers when EPBL_BBL_EFFIC > 0. The default for
DRAG_DIFFUSIVITY_ANSWER_DATE is 20250101, which will preserve the previous
answers, but the default should later be taken from DEFAULT_ANSWER_DATE. By
default, answers are unchanged in any cases that are more than a month old, but
answers can change by default in a few very recent experiments. There are two
new runtime parameters in some MOM_parameter_doc files.1 parent 2d6adc4 commit 2a510f9
File tree
4 files changed
+49
-7
lines changed- src
- core
- parameterizations/vertical
4 files changed
+49
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
239 | 239 | | |
240 | 240 | | |
241 | 241 | | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
242 | 245 | | |
243 | 246 | | |
244 | 247 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
198 | 198 | | |
199 | 199 | | |
200 | 200 | | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
201 | 204 | | |
202 | 205 | | |
203 | 206 | | |
| |||
662 | 665 | | |
663 | 666 | | |
664 | 667 | | |
665 | | - | |
| 668 | + | |
| 669 | + | |
| 670 | + | |
| 671 | + | |
| 672 | + | |
666 | 673 | | |
667 | 674 | | |
668 | 675 | | |
| |||
3752 | 3759 | | |
3753 | 3760 | | |
3754 | 3761 | | |
| 3762 | + | |
| 3763 | + | |
| 3764 | + | |
| 3765 | + | |
3755 | 3766 | | |
3756 | 3767 | | |
3757 | 3768 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
166 | | - | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
167 | 169 | | |
168 | 170 | | |
169 | 171 | | |
170 | 172 | | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
171 | 177 | | |
172 | 178 | | |
173 | 179 | | |
| |||
1414 | 1420 | | |
1415 | 1421 | | |
1416 | 1422 | | |
1417 | | - | |
| 1423 | + | |
| 1424 | + | |
| 1425 | + | |
| 1426 | + | |
| 1427 | + | |
1418 | 1428 | | |
1419 | 1429 | | |
1420 | 1430 | | |
| |||
1644 | 1654 | | |
1645 | 1655 | | |
1646 | 1656 | | |
1647 | | - | |
1648 | | - | |
| 1657 | + | |
1649 | 1658 | | |
1650 | 1659 | | |
1651 | 1660 | | |
| |||
1956 | 1965 | | |
1957 | 1966 | | |
1958 | 1967 | | |
| 1968 | + | |
| 1969 | + | |
| 1970 | + | |
1959 | 1971 | | |
1960 | 1972 | | |
1961 | 1973 | | |
| |||
2079 | 2091 | | |
2080 | 2092 | | |
2081 | 2093 | | |
2082 | | - | |
| 2094 | + | |
| 2095 | + | |
| 2096 | + | |
| 2097 | + | |
| 2098 | + | |
| 2099 | + | |
| 2100 | + | |
2083 | 2101 | | |
2084 | 2102 | | |
2085 | 2103 | | |
| |||
2289 | 2307 | | |
2290 | 2308 | | |
2291 | 2309 | | |
2292 | | - | |
| 2310 | + | |
| 2311 | + | |
| 2312 | + | |
2293 | 2313 | | |
2294 | 2314 | | |
2295 | 2315 | | |
| |||
2405 | 2425 | | |
2406 | 2426 | | |
2407 | 2427 | | |
| 2428 | + | |
| 2429 | + | |
| 2430 | + | |
| 2431 | + | |
| 2432 | + | |
| 2433 | + | |
2408 | 2434 | | |
2409 | 2435 | | |
2410 | 2436 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3140 | 3140 | | |
3141 | 3141 | | |
3142 | 3142 | | |
| 3143 | + | |
3143 | 3144 | | |
3144 | 3145 | | |
3145 | 3146 | | |
| |||
3215 | 3216 | | |
3216 | 3217 | | |
3217 | 3218 | | |
| 3219 | + | |
3218 | 3220 | | |
3219 | 3221 | | |
3220 | 3222 | | |
| |||
0 commit comments