Skip to content

Commit

Permalink
Merge pull request mom-ocean#131 from gustavo-marques/meke_khtr
Browse files Browse the repository at this point in the history
Create a separate param for MEKE bottom drag
  • Loading branch information
alperaltuntas authored Dec 6, 2019
2 parents 147f7a3 + 97d07bc commit a2d9636
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/parameterizations/lateral/MOM_MEKE.F90
Original file line number Diff line number Diff line change
Expand Up @@ -1003,6 +1003,7 @@ logical function MEKE_init(Time, G, US, param_file, diag, CS, MEKE, restart_CS)
real :: L_rescale ! A rescaling factor for length from the internal representation in this
! run to the representation in a restart file.
real :: MEKE_restoring_timescale ! The timescale used to nudge MEKE toward its equilibrium value.
real :: cdrag ! The default bottom drag coefficient [nondim].
integer :: i, j, is, ie, js, je, isd, ied, jsd, jed
logical :: laplacian, biharmonic, useVarMix, coldStart
! This include declares and sets the variable "version".
Expand Down Expand Up @@ -1197,10 +1198,14 @@ logical function MEKE_init(Time, G, US, param_file, diag, CS, MEKE, restart_CS)
units="nondim", default=0.0)

! Nonlocal module parameters
call get_param(param_file, mdl, "CDRAG", CS%cdrag, &
call get_param(param_file, mdl, "CDRAG", cdrag, &
"CDRAG is the drag coefficient relating the magnitude of "//&
"the velocity field to the bottom stress.", units="nondim", &
default=0.003)
call get_param(param_file, mdl, "CDRAG_MEKE", CS%cdrag, &
"CDRAG is the drag coefficient relating the magnitude of "//&
"the velocity field to the bottom stress.", units="nondim", &
default=cdrag)
call get_param(param_file, mdl, "LAPLACIAN", laplacian, default=.false., do_not_log=.true.)
call get_param(param_file, mdl, "BIHARMONIC", biharmonic, default=.false., do_not_log=.true.)

Expand Down

0 comments on commit a2d9636

Please sign in to comment.