Skip to content

Commit

Permalink
Explicitly set 6 parameters in 5 MOM_input files
Browse files Browse the repository at this point in the history
  Explicitly set 6 parameters whose default values may be about to change in the
MOM6 code in 5 MOM_input files.  The parameters that are now being set
explicitly include BACKSCATTER_UNDERBOUND, DETERMINE_TEMP_CONVERGENCE_BUG,
LA_MISALIGNMENT_BUG, IDL_HURR_SCM_EDGE_TAPER_BUG, ROBUST_STOKES_PGF and
LOTW_BBL_ANSWER_DATE.  All answers are bitwise identical, and these changes will
allow the answers to be retained when the MOM6 code is updated.
  • Loading branch information
Hallberg-NOAA committed Dec 16, 2024
1 parent 8ee1bf0 commit 5f9d74e
Show file tree
Hide file tree
Showing 5 changed files with 46 additions and 0 deletions.
12 changes: 12 additions & 0 deletions ice_ocean_SIS2/Baltic_ALE_z_offline_tracers/MOM_input
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,13 @@ AH_VEL_SCALE = 0.05 ! [m s-1] default = 0.0
! scaled viscosity, the Smagorinsky and Leith viscosities, and AH.
SMAGORINSKY_AH = True ! [Boolean] default = False
! If true, use a biharmonic Smagorinsky nonlinear eddy viscosity.
BACKSCATTER_UNDERBOUND = True ! [Boolean] default = False
! If true, the bounds on the biharmonic viscosity are allowed to increase where
! the Laplacian viscosity is negative (due to backscatter parameterizations)
! beyond the largest timestep-dependent stable values of biharmonic viscosity
! when no Laplacian viscosity is applied. The default is true for historical
! reasons, but this option probably should not be used because it can contribute
! to numerical instabilities.
SMAG_BI_CONST = 0.06 ! [nondim] default = 0.0
! The nondimensional biharmonic Smagorinsky constant, typically 0.015 - 0.06.

Expand Down Expand Up @@ -466,6 +473,11 @@ SIMPLE_TKE_TO_KD = True ! [Boolean] default = False
! If true, uses a simple estimate of Kd/TKE that will work for arbitrary
! vertical coordinates. If false, calculates Kd/TKE and bounds based on exact
! energetics for an isopycnal layer-formulation.
LOTW_BBL_ANSWER_DATE = 20190101 ! default = 99991231
! The vintage of the order of arithmetic and expressions in the LOTW_BBL
! calculations. Values below 20240630 recover the original answers, while
! higher values use more accurate expressions. This only applies when
! USE_LOTW_BBL_DIFFUSIVITY is true.

! === module MOM_bkgnd_mixing ===
! Adding static vertical background mixing coefficients
Expand Down
7 changes: 7 additions & 0 deletions ocean_only/ISOMIP/rho/MOM_input
Original file line number Diff line number Diff line change
Expand Up @@ -396,6 +396,13 @@ AH_VEL_SCALE = 0.001 ! [m s-1] default = 0.0
! scaled viscosity, the Smagorinsky and Leith viscosities, and AH.
SMAGORINSKY_AH = True ! [Boolean] default = False
! If true, use a biharmonic Smagorinsky nonlinear eddy viscosity.
BACKSCATTER_UNDERBOUND = True ! [Boolean] default = False
! If true, the bounds on the biharmonic viscosity are allowed to increase where
! the Laplacian viscosity is negative (due to backscatter parameterizations)
! beyond the largest timestep-dependent stable values of biharmonic viscosity
! when no Laplacian viscosity is applied. The default is true for historical
! reasons, but this option probably should not be used because it can contribute
! to numerical instabilities.
SMAG_BI_CONST = 0.06 ! [nondim] default = 0.0
! The nondimensional biharmonic Smagorinsky constant, typically 0.015 - 0.06.

Expand Down
8 changes: 8 additions & 0 deletions ocean_only/SCM_idealized_hurricane/MOM_input
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,10 @@ APPLY_NONLOCAL_TRANSPORT = False ! [Boolean] default = True
INTERP_TYPE = "cubic" ! default = "quadratic"
! Type of interpolation to determine the OBL depth.
! Allowed types are: linear, quadratic, cubic.
ANSWER_DATE = 20240101 ! default = 99991231
! The vintage of the order of arithmetic in the CVMix KPP calculations. Values
! below 20240501 recover the answers from early in 2024, while higher values use
! expressions that have been refactored for rotational symmetry.
%KPP

! === module MOM_set_diffusivity ===
Expand Down Expand Up @@ -320,6 +324,10 @@ IDL_HURR_SCM_BR_BENCH = True ! [Boolean] default = False
! (bug) in the wind profile meant to reproduce a previous implementation.
IDL_HURR_SCM = True ! [Boolean] default = False
! Single Column mode switch used in the SCM idealized hurricane wind profile.
IDL_HURR_SCM_EDGE_TAPER_BUG = True ! [Boolean] default = False
! If true and IDL_HURR_SCM is true, use a bug that does all of the tapering and
! inflow angle calculations for radii between RAD_EDGE and RAD_AMBIENT as though
! they were at RAD_EDGE.

! === module MOM_main (MOM_driver) ===
DAYMAX = 3.0 ! [days]
Expand Down
12 changes: 12 additions & 0 deletions ocean_only/global_ALE/common/MOM_input
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,13 @@ AH_VEL_SCALE = 0.05 ! [m s-1] default = 0.0
! scaled viscosity, the Smagorinsky and Leith viscosities, and AH.
SMAGORINSKY_AH = True ! [Boolean] default = False
! If true, use a biharmonic Smagorinsky nonlinear eddy viscosity.
BACKSCATTER_UNDERBOUND = True ! [Boolean] default = False
! If true, the bounds on the biharmonic viscosity are allowed to increase where
! the Laplacian viscosity is negative (due to backscatter parameterizations)
! beyond the largest timestep-dependent stable values of biharmonic viscosity
! when no Laplacian viscosity is applied. The default is true for historical
! reasons, but this option probably should not be used because it can contribute
! to numerical instabilities.
SMAG_BI_CONST = 0.06 ! [nondim] default = 0.0
! The nondimensional biharmonic Smagorinsky constant, typically 0.015 - 0.06.

Expand Down Expand Up @@ -403,6 +410,11 @@ USE_LOTW_BBL_DIFFUSIVITY = True ! [Boolean] default = False
! If true, uses a simple, imprecise but non-coordinate dependent, model of BBL
! mixing diffusivity based on Law of the Wall. Otherwise, uses the original BBL
! scheme.
LOTW_BBL_ANSWER_DATE = 20190101 ! default = 99991231
! The vintage of the order of arithmetic and expressions in the LOTW_BBL
! calculations. Values below 20240630 recover the original answers, while
! higher values use more accurate expressions. This only applies when
! USE_LOTW_BBL_DIFFUSIVITY is true.

! === module MOM_bkgnd_mixing ===
! Adding static vertical background mixing coefficients
Expand Down
7 changes: 7 additions & 0 deletions ocean_only/idealized_hurricane/MOM_input
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,13 @@ AH_VEL_SCALE = 0.01 ! [m s-1] default = 0.0
! scaled viscosity, the Smagorinsky and Leith viscosities, and AH.
SMAGORINSKY_AH = True ! [Boolean] default = False
! If true, use a biharmonic Smagorinsky nonlinear eddy viscosity.
BACKSCATTER_UNDERBOUND = True ! [Boolean] default = False
! If true, the bounds on the biharmonic viscosity are allowed to increase where
! the Laplacian viscosity is negative (due to backscatter parameterizations)
! beyond the largest timestep-dependent stable values of biharmonic viscosity
! when no Laplacian viscosity is applied. The default is true for historical
! reasons, but this option probably should not be used because it can contribute
! to numerical instabilities.
SMAG_BI_CONST = 0.06 ! [nondim] default = 0.0
! The nondimensional biharmonic Smagorinsky constant, typically 0.015 - 0.06.

Expand Down

0 comments on commit 5f9d74e

Please sign in to comment.