@@ -56,7 +56,8 @@ module MOM_thickness_diffuse
56
56
real :: FGNV_c_min ! < A minimum wave speed used in the Ferrari et al., 2010,
57
57
! ! streamfunction formulation [L T-1 ~> m s-1].
58
58
real :: N2_floor ! < A floor for squared buoyancy frequency in the Ferrari et al., 2010,
59
- ! ! streamfunction formulation [T-2 ~> s-2].
59
+ ! ! streamfunction formulation divided by aspect ratio rescaling factors
60
+ ! ! [L2 Z-2 T-2 ~> s-2].
60
61
logical :: detangle_interfaces ! < If true, add 3-d structured interface height
61
62
! ! diffusivities to horizontally smooth jagged layers.
62
63
real :: detangle_time ! < If detangle_interfaces is true, this is the
@@ -784,7 +785,7 @@ subroutine thickness_diffuse_full(h, e, Kh_u, Kh_v, tv, uhD, vhD, cg1, dt, G, GV
784
785
h_neglect = GV% H_subroundoff ; h_neglect2 = h_neglect** 2 ; hn_2 = 0.5 * h_neglect
785
786
dz_neglect = GV% dZ_subroundoff ; dz_neglect2 = dz_neglect** 2
786
787
if (GV% Boussinesq) G_rho0 = GV% g_Earth / GV% Rho0
787
- N2_floor = CS% N2_floor * US % Z_to_L ** 2
788
+ N2_floor = CS% N2_floor
788
789
789
790
use_EOS = associated (tv% eqn_of_state)
790
791
present_slope_x = PRESENT (slope_x)
@@ -2124,7 +2125,7 @@ subroutine thickness_diffuse_init(Time, G, GV, US, param_file, diag, CDp, CS)
2124
2125
real :: omega ! The Earth's rotation rate [T-1 ~> s-1]
2125
2126
real :: strat_floor ! A floor for buoyancy frequency in the Ferrari et al. 2010,
2126
2127
! streamfunction formulation, expressed as a fraction of planetary
2127
- ! rotation [ nondim].
2128
+ ! rotation divided by an aspect ratio rescaling factor [L Z-1 ~> nondim]
2128
2129
real :: Stanley_coeff ! Coefficient relating the temperature gradient and sub-gridscale
2129
2130
! temperature variance [nondim]
2130
2131
integer :: default_answer_date ! The default setting for the various ANSWER_DATE flags.
@@ -2243,7 +2244,7 @@ subroutine thickness_diffuse_init(Time, G, GV, US, param_file, diag, CDp, CS)
2243
2244
" A floor for Brunt-Vasaila frequency in the Ferrari et al., 2010, " // &
2244
2245
" streamfunction formulation, expressed as a fraction of planetary " // &
2245
2246
" rotation, OMEGA. This should be tiny but non-zero to avoid degeneracy." , &
2246
- default= 1.e-15 , units= " nondim" , do_not_log= .not. CS% use_FGNV_streamfn)
2247
+ default= 1.e-15 , units= " nondim" , scale = US % Z_to_L, do_not_log= .not. CS% use_FGNV_streamfn)
2247
2248
call get_param(param_file, mdl, " USE_STANLEY_GM" , CS% use_stanley_gm, &
2248
2249
" If true, turn on Stanley SGS T variance parameterization " // &
2249
2250
" in GM code." , default= .false. )
0 commit comments