Skip to content

Commit

Permalink
Add config_glc_thermal_forcing_coupling_mode to nl system
Browse files Browse the repository at this point in the history
Eventually, when we have compsets that require this mode, it should be
controlled analogously to MPASO_ISMF.
  • Loading branch information
matthewhoffman committed Sep 12, 2024
1 parent d44a179 commit 771d9bb
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions components/mpas-ocean/bld/build-namelist
Original file line number Diff line number Diff line change
Expand Up @@ -731,6 +731,7 @@ if (($OCN_ICEBERG eq 'true') && ($OCN_FORCING eq 'active_atm')) {
} else {
add_default($nl, 'config_remove_ais_ice_runoff', 'val'=>".false.");
}
add_default($nl, 'config_glc_thermal_forcing_coupling_mode');
add_default($nl, 'config_2d_thermal_forcing_depth');

######################################
Expand Down
1 change: 1 addition & 0 deletions components/mpas-ocean/bld/build-namelist-section
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,7 @@ add_default($nl, 'config_sgr_salinity_prescribed');
add_default($nl, 'config_remove_ais_river_runoff');
add_default($nl, 'config_remove_ais_ice_runoff');
add_default($nl, 'config_remove_AIS_coupler_runoff');
add_default($nl, 'config_glc_thermal_forcing_coupling_mode');
add_default($nl, 'config_2d_thermal_forcing_depth');

######################################
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,7 @@
<config_remove_ais_river_runoff>.false.</config_remove_ais_river_runoff>
<config_remove_ais_ice_runoff>.false.</config_remove_ais_ice_runoff>
<config_remove_AIS_coupler_runoff>.false.</config_remove_AIS_coupler_runoff>
<config_glc_thermal_forcing_coupling_mode>'off'</config_glc_thermal_forcing_coupling_mode>
<config_2d_thermal_forcing_depth>300.0</config_2d_thermal_forcing_depth>

<!-- shortwaveRadiation -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1271,6 +1271,14 @@ Valid values: .true. or .false.
Default: Defined in namelist_defaults.xml
</entry>

<entry id="config_glc_thermal_forcing_coupling_mode" type="char*1024"
category="coupling" group="coupling">
If and how MPAS-Ocean sends thermal forcing to GLC (MALI) in E3SM. This is used for ocean coupling with a melt parameterization for grounded marine ice-cliffs in MALI. This is primarily relevant to the Greenland Ice Sheet, but also relevant to the Antarctic Ice Sheet. 'none' means no coupling of thermal forcing. '2d' means thermal forcing at a prescribed depth is passed to GLC. That depth is controlled by 'config_2d_thermal_forcing_depth', and the resulting thermal forcing field is calculated in the field 'avgThermalForcingAtCritDepth'.

Valid values: 'off' or '2d'
Default: Defined in namelist_defaults.xml
</entry>

<entry id="config_2d_thermal_forcing_depth" type="real"
category="coupling" group="coupling">
Depth at which to pass 2d thermal forcing to the coupler for use in the GLC component. Note that mapping files for this field must be created with a mask to exclude ocean grid cells shallower than this value and thus must be regenerated if this value is changed.
Expand Down

0 comments on commit 771d9bb

Please sign in to comment.