From 4f35eebb66e17a62d2793ba600d8b2f2a968ee78 Mon Sep 17 00:00:00 2001 From: Bill Skamarock Date: Fri, 17 Oct 2025 13:30:56 -0600 Subject: [PATCH] This commit provides the capability of turning off use of the microphysics tendency above a user-specified height. This change alleviates some instabilities encountered in deep-domain MPAS simulations (model tops above the stratopause). The changes include: (1) addition of a namelist variable specifying the height above which the microphysics tendencies are to be ignored, and an integer variable that is set when the integration starts specifying the level based on that height. (2) additions to src/core_atmosphere/physics/mpas_atmphys_init.F to set the level based on the namelist-specified height. (3) changes in src/core_atmosphere/physics/mpas_atmphys_interface.F that disable the microphysics tendancy updates above the specified level. --- src/core_atmosphere/Registry.xml | 8 ++ .../physics/mpas_atmphys_init.F | 20 +++- .../physics/mpas_atmphys_interface.F | 96 ++++++++++++++----- 3 files changed, 98 insertions(+), 26 deletions(-) diff --git a/src/core_atmosphere/Registry.xml b/src/core_atmosphere/Registry.xml index 4281c40bba..b0bd5e9e31 100644 --- a/src/core_atmosphere/Registry.xml +++ b/src/core_atmosphere/Registry.xml @@ -1599,6 +1599,9 @@ + + @@ -2215,6 +2218,11 @@ description="number of microphysics time-steps per physics time-steps" possible_values="Positive integers"/> + +