Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions bld/build-namelist
Original file line number Diff line number Diff line change
Expand Up @@ -3815,6 +3815,17 @@ if (!$simple_phys) {
add_default($nl, 'zmconv_parcel_hscale');
}

# MCSP
if (!$simple_phys) {
add_default($nl, 'MCSP_heat_coeff');
add_default($nl, 'MCSP_moisture_coeff');
add_default($nl, 'MCSP_uwind_coeff');
add_default($nl, 'MCSP_vwind_coeff');
add_default($nl, 'MCSP_storm_speed_pref');
add_default($nl, 'MCSP_conv_depth_min');
add_default($nl, 'mcsp_shear_min');
}

# moist convection rainwater coefficients
my $shallow_scheme = $nl->get_value('shallow_scheme');
$shallow_scheme =~ s/['"]//g; # strip quotes "'
Expand Down
9 changes: 9 additions & 0 deletions bld/namelist_files/namelist_defaults_cam.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2925,6 +2925,15 @@
<zmconv_parcel_pbl > .false. </zmconv_parcel_pbl>
<zmconv_parcel_hscale > 0.5 </zmconv_parcel_hscale>

<!-- MCSP scheme -->
<MCSP_heat_coeff > 0.0D0 </MCSP_heat_coeff >
<MCSP_moisture_coeff > 0.0D0 </MCSP_moisture_coeff >
<MCSP_uwind_coeff > 0.0D0 </MCSP_uwind_coeff >
<MCSP_vwind_coeff > 0.0D0 </MCSP_vwind_coeff >
<MCSP_storm_speed_pref >60000.0 </MCSP_storm_speed_pref>
<MCSP_conv_depth_min >50000.0 </MCSP_conv_depth_min>
<mcsp_shear_min > 3.0 </mcsp_shear_min>

<!-- Cloud sedimentation -->

<cldsed_ice_stokes_fac > 1.0D0 </cldsed_ice_stokes_fac>
Expand Down
45 changes: 45 additions & 0 deletions bld/namelist_files/namelist_definition.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3401,6 +3401,51 @@ Convective adjustment timescale in units of (s)
Default: 3600.0 s
</entry>

<!-- MCSP nl -->

<entry id="MCSP_heat_coeff" type="real" category="conv"
group="mcsp_nl" valid_values="" >
MCSP heating coefficient controlling the tendency intensity added.
Default: 0.0
</entry>

<entry id="MCSP_moisture_coeff" type="real" category="conv"
group="mcsp_nl" valid_values="" >
MCSP moistening coefficient controlling the tendency intensity added.
Default: 0.0
</entry>

<entry id="MCSP_uwind_coeff" type="real" category="conv"
group="mcsp_nl" valid_values="" >
MCSP uwnd tendency coefficient controlling the tendency intensity added.
Default: 0.0
</entry>

<entry id="MCSP_vwind_coeff" type="real" category="conv"
group="mcsp_nl" valid_values="" >
MCSP vwnd tendency coefficient controlling the tendency intensity added.
Default: 0.0
</entry>

<entry id="MCSP_storm_speed_pref" type="real" category="conv"
group="mcsp_nl" valid_values="" >
Reference pressure level in Pa for low-level zonal wind shear calculation for MCSP.
Default: 60000.0
</entry>

<entry id="MCSP_conv_depth_min" type="real" category="conv"
group="mcsp_nl" valid_values="" >
Minimum convection depth for MCSP to be activated in Pa.
Default: 50000.0
</entry>

<entry id="mcsp_shear_min" type="real" category="conv"
group="mcsp_nl" valid_values="" >
Minimum uwind difference/shear between reference pressure level and surface for MCSP to be activated.
Default: 3.0
</entry>


<!-- Cloud sedimentation -->

<entry id="cldsed_ice_stokes_fac" type="real" category="cldsed"
Expand Down
6 changes: 6 additions & 0 deletions src/control/runtime_opts.F90
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ subroutine read_namelist(nlfilename, single_column, scmlat, scmlon)
use cldfrc2m, only: cldfrc2m_readnl
use rk_stratiform_cam, only: rk_stratiform_cam_readnl
use zm_conv_intr, only: zm_conv_readnl
!++ MCSP
use mcsp_intr, only: mcsp_readnl
!-- MCSP
use hk_conv, only: hkconv_readnl
use uwshcu, only: uwshcu_readnl
use pkg_cld_sediment, only: cld_sediment_readnl
Expand Down Expand Up @@ -153,6 +156,9 @@ subroutine read_namelist(nlfilename, single_column, scmlat, scmlon)
call cldfrc_readnl(nlfilename)
call cldfrc2m_readnl(nlfilename)
call zm_conv_readnl(nlfilename)
!++ MCSP
call mcsp_readnl(nlfilename)
!-- MCSP
call rk_stratiform_cam_readnl(nlfilename)
call hkconv_readnl(nlfilename)
call uwshcu_readnl(nlfilename)
Expand Down
Loading
Loading