New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 7905 for branches/UKMO/r6232_HZG_WAVE-coupling/NEMOGCM/CONFIG/SHARED/namelist_ref – NEMO

Ignore:
Timestamp:
2017-04-13T12:07:16+02:00 (7 years ago)
Author:
jcastill
Message:

Series of small bug fixes and stetic changes:

-Fix possible bug in the calculation of Stokes-Coriolis
-Move all the wave control variables to namelist namsbc_wave
-Use one namelist variable instead of two to set Stokes drift velocity coupling
-Cap the values of the Craig and Banner constant as calculated from wave input fields to take into account small values of the friction velocity
-Add new Phillips parametrization for Stokes drift vertical velocity, using the inverse depth scale as in Breivik 2015, instead of the peak wave number as calculated from wave input fields
-Better control of the wave fields that are read from file depending on the wave parameters

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/UKMO/r6232_HZG_WAVE-coupling/NEMOGCM/CONFIG/SHARED/namelist_ref

    r7878 r7905  
    266266                           !     =2 annual global mean of e-p-r set to zero 
    267267   ln_wave = .false.       !  Activate coupling with wave (T => fill namsbc_wave)   
    268    ln_cdgw = .false.       !  Neutral drag coefficient read from wave model (T => ln_wave=.true. & fill namsbc_wave)   
    269    ln_sdw  = .false.       !  Read 2D Surf Stokes Drift & Computation of 3D stokes drift (T => ln_wave=.true. & fill namsbc_wave)    
    270    ln_tauoc= .false.       !  Activate ocean stress modified by external wave induced stress (T => ln_wave=.true. & fill namsbc_wave)   
    271    ln_phioc= .false.       !  Activate wave to ocean energy (T => ln_wave=.true. & fill namsbc_wave)   
    272    ln_stcor= .false.       !  Activate Stokes Coriolis term (T => ln_wave=.true. & ln_sdw=.true. & fill namsbc_wave)   
    273268   nn_lsm  = 0             !  =0 land/sea mask for input fields is not applied (keep empty land/sea mask filename field) , 
    274269                           !  =1:n number of iterations of land/sea mask application for input fields (fill land/sea mask filename field) 
     
    278273                           !  = 1  Average and redistribute per-category fluxes, forced mode only, not yet implemented coupled 
    279274                           !  = 2  Redistribute a single flux over categories (coupled mode only) 
    280    nn_drag   = 0           !  formula to calculate momentum from the wind components 
    281                            !  = 0 UKMO SHELF formulation 
    282                            !  = 1 standard formulation with forced of coupled drag coefficient 
    283                            !  = 2 standard formulation with constant drag coefficient 
    284                            !  = 3 momentum calculated from core forcing fields 
    285    nn_sdrift = 0           !  Parameterization for the calculation of 3D-Stokes drift from the surface Stokes drift 
    286                            !  = 0 Breivik 2015 parameterization: v_z=v_0*[exp(2*k*z)/(1-8*k*z)] 
    287                            !  = 1 Phillips:                      v_z=v_o*[exp(2*k*z)-beta*sqrt(-2*k*pi*z)*erfc(sqrt(-2*k*z))] 
    288275/ 
    289276!----------------------------------------------------------------------- 
     
    394381   sn_rcv_mslp   =       'none'                 ,    'no'    ,     ''      ,         ''          ,   ''  
    395382   sn_rcv_phioc  =       'none'                 ,    'no'    ,     ''      ,         ''          ,   ''  
    396    sn_rcv_sdrfx  =       'none'                 ,    'no'    ,     ''      ,         ''          ,   ''  
    397    sn_rcv_sdrfy  =       'none'                 ,    'no'    ,     ''      ,         ''          ,   ''  
     383   sn_rcv_sdrft  =       'none'                 ,    'no'    ,     ''      ,         ''          ,   ''  
    398384   sn_rcv_wper   =       'none'                 ,    'no'    ,     ''      ,         ''          ,   ''  
    399385   sn_rcv_wfreq  =       'none'                 ,    'no'    ,     ''      ,         ''          ,   ''  
     
    948934   ln_zdfexp   = .false.   !  time-stepping: split-explicit (T) or implicit (F) time stepping 
    949935   nn_zdfexp   =    3            !  number of sub-timestep for ln_zdfexp=T 
    950    ln_zdfqiao  = .false.   !  Enhanced wave vertical mixing Qiao (2010) (T => ln_wave=.true. & ln_sdw=.true. & fill namsbc_wave) 
    951936/ 
    952937!----------------------------------------------------------------------- 
     
    10221007   nn_stab_func  =     2   !  stability function (0=Galp, 1= KC94, 2=CanutoA, 3=CanutoB) 
    10231008   nn_clos       =     1   !  predefined closure type (0=MY82, 1=k-eps, 2=k-w, 3=Gen) 
    1024    nn_wmix       =     0   !  type of wave breaking mixing 
    1025            !                             ! = 0 Craig and Banner formulation (original NEMO formulation)  
    1026            !                             ! = 1 Janssen formulation (no assumption of direct energy conversion)  
    10271009/ 
    10281010!----------------------------------------------------------------------- 
     
    13021284!              !  file name  ! frequency (hours) ! variable     ! time interp. !  clim   ! 'yearly'/ ! weights  ! rotation ! land/sea mask ! 
    13031285!              !             !  (if <0  months)  !   name       !   (logical)  !  (T/F)  ! 'monthly' ! filename ! pairing  ! filename      ! 
     1286   ln_cdgw     = .false.   !  Neutral drag coefficient read from wave model 
     1287   ln_sdw      = .false.   !  Read 2D Surf Stokes Drift & Computation of 3D stokes drift 
     1288   ln_stcor    = .false.   !  Activate Stokes Coriolis term 
     1289   ln_tauoc    = .false.   !  Activate ocean stress modified by external wave induced stress 
     1290   ln_phioc    = .false.   !  Activate wave to ocean energy 
     1291   ln_rough    = .false.   !  Wave roughness equals the significant wave height 
     1292   ln_zdfqiao  = .false.   !  Enhanced wave vertical mixing Qiao (2010) 
     1293   nn_drag   = 0      !  formula to calculate momentum from the wind components 
     1294                           ! = 0 UKMO SHELF formulation 
     1295                           ! = 1 standard formulation with forced of coupled drag coefficient 
     1296                           ! = 2 standard formulation with constant drag coefficient 
     1297                           ! = 3 momentum calculated from core forcing fields 
     1298   nn_sdrift   =  0   !  Parameterization for the calculation of 3D-Stokes drift from the surface Stokes drift 
     1299                           ! = 0 Breivik 2015 parameterization: v_z=v_0*[exp(2*k*z)/(1-8*k*z)] 
     1300                           ! = 1 Phillips:                      v_z=v_o*[exp(2*k*z)-beta*sqrt(-2*k*pi*z)*erfc(sqrt(-2*k*z))] 
     1301   nn_wmix     =  0   !  type of wave breaking mixing 
     1302                           ! = 0 Craig and Banner formulation (original NEMO formulation)  
     1303                           ! = 1 Janssen formulation (no assumption of direct energy conversion)  
    13041304   sn_cdg      =  'sdw_wave' ,        1          , 'drag_coeff' ,     .true.   , .false. , 'daily'   ,  ''      , ''       , '' 
    13051305   sn_usd      =  'sdw_wave' ,        1          , 'u_sd2d'     ,     .true.   , .false. , 'daily'   ,  ''      , ''       , '' 
     
    13111311   sn_tauoc    =  'sdw_wave' ,        1          , 'wave_stress',     .true.   , .false. , 'daily'   ,  ''      , ''       , ''  
    13121312   sn_phioc    =  'sdw_wave' ,        1          , 'wave_energy',     .true.   , .false. , 'daily'   ,  ''      , ''       , ''  
     1313   cn_dir      = './'  !  root directory for the location of wave forcing files 
    13131314!  
    1314    cn_dir      = './'  !  root directory for the location of drag coefficient files 
    13151315/ 
    13161316!----------------------------------------------------------------------- 
Note: See TracChangeset for help on using the changeset viewer.