From 7c6518c621cc8e6377f637b7a9c1317fc55e3fae Mon Sep 17 00:00:00 2001 From: Carolyn Begeman Date: Sun, 9 Jun 2024 15:22:25 -0500 Subject: [PATCH 1/4] Make land ice frazil off by default --- .../mpas-ocean/bld/namelist_files/namelist_defaults_mpaso.xml | 2 +- components/mpas-ocean/src/Registry.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/mpas-ocean/bld/namelist_files/namelist_defaults_mpaso.xml b/components/mpas-ocean/bld/namelist_files/namelist_defaults_mpaso.xml index be51b84bf033..96edb45665b6 100644 --- a/components/mpas-ocean/bld/namelist_files/namelist_defaults_mpaso.xml +++ b/components/mpas-ocean/bld/namelist_files/namelist_defaults_mpaso.xml @@ -375,7 +375,7 @@ .true. .true. -.true. +.false. 3.337e5 1000.0 0.1 diff --git a/components/mpas-ocean/src/Registry.xml b/components/mpas-ocean/src/Registry.xml index 7eb4f528dbf3..5dd5fb1fff4a 100644 --- a/components/mpas-ocean/src/Registry.xml +++ b/components/mpas-ocean/src/Registry.xml @@ -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." /> - From 701d8fbef5b78e480da5b9cd7bb4f983f7f2aade Mon Sep 17 00:00:00 2001 From: Carolyn Begeman Date: Sun, 9 Jun 2024 15:24:25 -0500 Subject: [PATCH 2/4] Enable land ice frazil for ISMF cases --- components/mpas-ocean/bld/build-namelist | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/components/mpas-ocean/bld/build-namelist b/components/mpas-ocean/bld/build-namelist index 2a16bef69e3c..12390bb4c37e 100755 --- a/components/mpas-ocean/bld/build-namelist +++ b/components/mpas-ocean/bld/build-namelist @@ -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'); @@ -777,12 +776,16 @@ add_default($nl, 'config_frazil_use_surface_pressure'); 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'); } 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"); From 0c2bca822a020f7b214e1be79f24bc2dea446cbe Mon Sep 17 00:00:00 2001 From: Carolyn Begeman Date: Tue, 18 Jun 2024 20:35:21 -0500 Subject: [PATCH 3/4] Hard-code data ISMF frazil off --- components/mpas-ocean/bld/build-namelist | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/mpas-ocean/bld/build-namelist b/components/mpas-ocean/bld/build-namelist index 12390bb4c37e..0b66c90c9272 100755 --- a/components/mpas-ocean/bld/build-namelist +++ b/components/mpas-ocean/bld/build-namelist @@ -782,7 +782,7 @@ if ($OCN_ISMF eq 'coupled') { 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'); + 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'); From decd0238ee210219c0c7406c74c24777af919f5a Mon Sep 17 00:00:00 2001 From: Carolyn Begeman Date: Tue, 18 Jun 2024 20:36:58 -0500 Subject: [PATCH 4/4] Duplicate land ice frazil settings in frazil section --- components/mpas-ocean/bld/build-namelist | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/components/mpas-ocean/bld/build-namelist b/components/mpas-ocean/bld/build-namelist index 0b66c90c9272..b63f1f3e5d71 100755 --- a/components/mpas-ocean/bld/build-namelist +++ b/components/mpas-ocean/bld/build-namelist @@ -770,6 +770,16 @@ 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 # ###################################