Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable land ice frazil unless ISMF is on #6501

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
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
15 changes: 14 additions & 1 deletion components/mpas-ocean/bld/build-namelist
Original file line number Diff line number Diff line change
Expand Up @@ -761,7 +761,6 @@ add_default($nl, 'config_self_attraction_and_loading_beta');

add_default($nl, 'config_use_frazil_ice_formation');
add_default($nl, 'config_frazil_in_open_ocean');
add_default($nl, 'config_frazil_under_land_ice');
add_default($nl, 'config_frazil_heat_of_fusion');
add_default($nl, 'config_frazil_ice_density');
add_default($nl, 'config_frazil_fractional_thickness_limit');
Expand All @@ -771,18 +770,32 @@ add_default($nl, 'config_frazil_sea_ice_reference_salinity');
add_default($nl, 'config_frazil_maximum_freezing_temperature');
add_default($nl, 'config_frazil_use_surface_pressure');

if ($OCN_ISMF eq 'coupled') {
add_default($nl, 'config_frazil_under_land_ice', 'val'=>".true.");
} elsif ($OCN_ISMF eq 'internal') {
add_default($nl, 'config_frazil_under_land_ice', 'val'=>".true.");
} elsif ($OCN_ISMF eq 'data') {
add_default($nl, 'config_frazil_under_land_ice', 'val'=>".false.");
} else {
add_default($nl, 'config_frazil_under_land_ice');
}

###################################
# Namelist group: land_ice_fluxes #
###################################

if ($OCN_ISMF eq 'coupled') {
add_default($nl, 'config_land_ice_flux_mode', 'val'=>"coupled");
add_default($nl, 'config_frazil_under_land_ice', 'val'=>".true.");
} elsif ($OCN_ISMF eq 'internal') {
add_default($nl, 'config_land_ice_flux_mode', 'val'=>"standalone");
add_default($nl, 'config_frazil_under_land_ice', 'val'=>".true.");
} elsif ($OCN_ISMF eq 'data') {
add_default($nl, 'config_land_ice_flux_mode', 'val'=>"data");
add_default($nl, 'config_frazil_under_land_ice', 'val'=>".false.");
} else {
add_default($nl, 'config_land_ice_flux_mode');
add_default($nl, 'config_frazil_under_land_ice');
}
if ($OCN_TIDAL_MIXING eq 'true') {
add_default($nl, 'config_land_ice_flux_tidal_Jourdain_alpha', 'val'=>"0.777");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@
<!-- frazil_ice -->
<config_use_frazil_ice_formation>.true.</config_use_frazil_ice_formation>
<config_frazil_in_open_ocean>.true.</config_frazil_in_open_ocean>
<config_frazil_under_land_ice>.true.</config_frazil_under_land_ice>
<config_frazil_under_land_ice>.false.</config_frazil_under_land_ice>
<config_frazil_heat_of_fusion>3.337e5</config_frazil_heat_of_fusion>
<config_frazil_ice_density>1000.0</config_frazil_ice_density>
<config_frazil_fractional_thickness_limit>0.1</config_frazil_fractional_thickness_limit>
Expand Down
2 changes: 1 addition & 1 deletion components/mpas-ocean/src/Registry.xml
Original file line number Diff line number Diff line change
Expand Up @@ -940,7 +940,7 @@
description="If frazil formation is used, controls if frazil fluxes are computed in the open ocean (as opposed to under land ice)."
possible_values=".true. or .false."
/>
<nml_option name="config_frazil_under_land_ice" type="logical" default_value=".true."
<nml_option name="config_frazil_under_land_ice" type="logical" default_value=".false."
description="If frazil formation is used, controls if frazil fluxes are computed under land ice."
possible_values=".true. or .false."
/>
Expand Down