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

Update MPAS-O: 3d varying GM bolus and 2d varying phase speed #3057

Merged
merged 8 commits into from
Aug 30, 2019
4 changes: 4 additions & 0 deletions components/mpas-ocean/bld/build-namelist
Original file line number Diff line number Diff line change
Expand Up @@ -603,6 +603,10 @@ add_default($nl, 'config_Leith_visc2_max');
###################################################

add_default($nl, 'config_use_standardGM');
add_default($nl, 'config_gm_lat_variable_c2');
add_default($nl, 'config_gm_kappa_lat_depth_variable');
add_default($nl, 'config_gm_min_stratification_ratio');
add_default($nl, 'config_gm_min_phase_speed');
add_default($nl, 'config_use_Redi_surface_layer_tapering');
add_default($nl, 'config_Redi_surface_layer_tapering_extent');
add_default($nl, 'config_use_Redi_bottom_layer_tapering');
Expand Down
4 changes: 4 additions & 0 deletions components/mpas-ocean/bld/build-namelist-section
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,10 @@ add_default($nl, 'config_Leith_visc2_max');
###################################################

add_default($nl, 'config_use_standardGM');
add_default($nl, 'config_gm_lat_variable_c2');
add_default($nl, 'config_gm_kappa_lat_depth_variable');
add_default($nl, 'config_gm_min_stratification_ratio');
add_default($nl, 'config_gm_min_phase_speed');
add_default($nl, 'config_use_Redi_surface_layer_tapering');
add_default($nl, 'config_Redi_surface_layer_tapering_extent');
add_default($nl, 'config_use_Redi_bottom_layer_tapering');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,10 @@
<config_use_standardGM ocn_grid="oRRS15to5">.false.</config_use_standardGM>
<config_use_standardGM ocn_grid="oARRM60to10">.false.</config_use_standardGM>
<config_use_standardGM ocn_grid="oARRM60to6">.false.</config_use_standardGM>
<config_gm_lat_variable_c2>.true.</config_gm_lat_variable_c2>
<config_gm_kappa_lat_depth_variable>.true.</config_gm_kappa_lat_depth_variable>
<config_gm_min_stratification_ratio>0.1</config_gm_min_stratification_ratio>
<config_gm_min_phase_speed>0.1</config_gm_min_phase_speed>
<config_use_Redi_surface_layer_tapering>.false.</config_use_Redi_surface_layer_tapering>
<config_Redi_surface_layer_tapering_extent>0.0</config_Redi_surface_layer_tapering_extent>
<config_use_Redi_bottom_layer_tapering>.false.</config_use_Redi_bottom_layer_tapering>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -585,6 +585,38 @@ Valid values: .true. or .false.
Default: Defined in namelist_defaults.xml
</entry>

<entry id="config_gm_lat_variable_c2" type="logical"
category="mesoscale_eddy_parameterization" group="mesoscale_eddy_parameterization">
If true, spatially variable phase speed is used Following Ferrari et al (2010)

Valid values: .true. or .false.
Default: Defined in namelist_defaults.xml
</entry>

<entry id="config_gm_kappa_lat_depth_variable" type="logical"
category="mesoscale_eddy_parameterization" group="mesoscale_eddy_parameterization">
If true, spatitally and deph varying Bolus Kappa is used, following Danabasoglu et al (2007)

Valid values: .true. or .false.
Default: Defined in namelist_defaults.xml
</entry>

<entry id="config_gm_min_stratification_ratio" type="real"
category="mesoscale_eddy_parameterization" group="mesoscale_eddy_parameterization">
minimum value for N2/Nmax2 ratio

Valid values: small positive reals
Default: Defined in namelist_defaults.xml
</entry>

<entry id="config_gm_min_phase_speed" type="real"
category="mesoscale_eddy_parameterization" group="mesoscale_eddy_parameterization">
minimum allowed phase speed for spatially variable computation

Valid values: small positive reals
Default: Defined in namelist_defaults.xml
</entry>

<entry id="config_use_Redi_surface_layer_tapering" type="logical"
category="mesoscale_eddy_parameterization" group="mesoscale_eddy_parameterization">
If true, the Redi K33 vertical mixing is limited in and just below the ocean boundary layer.
Expand Down
6 changes: 6 additions & 0 deletions components/mpas-ocean/cime_config/buildnml
Original file line number Diff line number Diff line change
Expand Up @@ -819,6 +819,12 @@ def buildnml(case, caseroot, compname):
if not ocn_grid.startswith("oRRS1"):
lines.append(' <var name="normalGMBolusVelocity"/>')
lines.append(' <var name="vertGMBolusVelocityTop"/>')
lines.append(' <var name="GMBolusVelocityZonal"/>')
lines.append(' <var name="GMBolusVelocityMeridional"/>')
lines.append(' <var name="kappaGM3D"/>')
lines.append(' <var name="cGMphaseSpeed"/>')
lines.append(' <var name="velocityZonalTimesTemperature_GM"/>')
lines.append(' <var name="velocityMeridionalTimesTemperature_GM"/>')

lines.append(' <var_struct name="tracersSurfaceFlux"/>')
lines.append(' <var name="penetrativeTemperatureFlux"/>')
Expand Down