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 9490 – NEMO

Changeset 9490


Ignore:
Timestamp:
2018-04-23T10:44:07+02:00 (6 years ago)
Author:
gm
Message:

#2075 - dev_merge_2017: scale-aware setting of lateral viscous and diffusive coefficient

Location:
branches/2017/dev_merge_2017/NEMOGCM
Files:
73 edited

Legend:

Unmodified
Added
Removed
  • branches/2017/dev_merge_2017/NEMOGCM/CONFIG/AGRIF_NORDIC/EXP00/1_namelist_cfg

    r9484 r9490  
    11!!>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
    2 !! NEMO/OPA  :  Configuration namelist used to overwrite SHARED/1_namelist_ref 
     2!! NEMO/OPA  Configuration namelist : overwrite some defaults values defined in SHARED/1_namelist_ref 
    33!!>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
     4!                       ORCA2 - SI3 configuration                      ! 
     5 
     6!!====================================================================== 
     7!!              ***  Domain & Run management namelists  ***           !! 
     8!!                                                                    !! 
     9!!   namrun       parameters of the run 
     10!!   namdom       space and time domain 
     11!!   namcfg       parameters of the configuration                       (default: user defined GYRE) 
     12!!   namwad       Wetting and drying                                    (default NO) 
     13!!   namtsd       data: temperature & salinity                          (default NO) 
     14!!   namcrs       coarsened grid (for outputs and/or TOP)               (ln_crs =T) 
     15!!====================================================================== 
     16! 
    417!----------------------------------------------------------------------- 
    518&namrun        !   parameters of the run 
    619!----------------------------------------------------------------------- 
    7    cn_exp      = "Nordic" !  experience name  
    8    nn_it000    =    1     !  first time step 
    9    nn_itend    =   80     !  last  time step 
    10    ln_clobber  = .true.   !  clobber (overwrite) an existing file 
    11 / 
    12 !----------------------------------------------------------------------- 
    13 &namcfg     !   parameters of the configuration 
     20   cn_exp      = "Nordic"  !  experience name  
     21   nn_it000    =    1      !  first time step 
     22   nn_itend    =   80      !  last  time step 
     23   nn_istate   =      0    !  output the initial state (1) or not (0) 
     24   ln_clobber  = .true.    !  clobber (overwrite) an existing file 
     25/ 
     26!----------------------------------------------------------------------- 
     27&namdom        !   space and time domain 
     28!----------------------------------------------------------------------- 
     29   ln_linssh   = .false.   !  =T  linear free surface  ==>>  model level are fixed in time 
     30   ! 
     31   rn_rdt      = 1440.     !  time step for the dynamics (and tracer if nn_acc=0) 
     32/ 
     33!----------------------------------------------------------------------- 
     34&namcfg        !   parameters of the configuration                      (default: user defined GYRE) 
    1435!----------------------------------------------------------------------- 
    1536   ln_read_cfg = .true.    !  (=T) read the domain configuration file 
    16       !                    !  (=F) user defined configuration  ==>>>  see usrdef(_...) modules 
    1737      cn_domcfg = "ORCA_R05_zps_domcfg_agrif"    ! domain configuration filename 
    1838/ 
    1939!----------------------------------------------------------------------- 
    20 &namdom        !   space and time domain (bathymetry, mesh, timestep) 
    21 !-----------------------------------------------------------------------   
    22    ln_linssh   = .false.   !  =T  linear free surface  ==>>  model level are fixed in time 
    23    ! 
    24    rn_rdt      = 1440.     !  time step for the dynamics (and tracer if nn_acc=0) 
    25 / 
    26 !----------------------------------------------------------------------- 
    27 &namcrs        !   coarsened grid (for outputs and/or TOP)              (ln_crs =T) 
    28 !----------------------------------------------------------------------- 
    29 / 
    30 !----------------------------------------------------------------------- 
    31 &namtsd    !   data : Temperature  & Salinity 
    32 !----------------------------------------------------------------------- 
    33 / 
     40&namtsd        !    Temperature & Salinity Data                         (default: NO) 
     41!----------------------------------------------------------------------- 
     42   !  with AGRIF ("key_agrif") child are initialized with parent values 
     43/ 
     44 
     45!!====================================================================== 
     46!!            ***  Surface Boundary Condition namelists  ***          !! 
     47!!                                                                    !! 
     48!!   namsbc          surface boundary condition manager                 (default: NO selection) 
     49!!   namsbc_flx      flux               formulation                     (ln_flx     =T) 
     50!!   namsbc_blk      Bulk formulae formulation                          (ln_blk     =T) 
     51!!   namsbc_cpl      CouPLed            formulation                     ("key_oasis3" ) 
     52!!   namsbc_sas      Stand-Alone Surface module                         (SAS_SRC  only) 
     53!!   namtra_qsr      penetrative solar radiation                        (ln_traqsr  =T) 
     54!!   namsbc_rnf      river runoffs                                      (ln_rnf     =T) 
     55!!   namsbc_isf      ice shelf melting/freezing                         (ln_isfcav  =T : read (ln_read_cfg=T) or set or usr_def_zgr ) 
     56!!   namsbc_iscpl    coupling option between land ice model and ocean   (ln_isfcav  =T) 
     57!!   namsbc_apr      Atmospheric Pressure                               (ln_apr_dyn =T) 
     58!!   namsbc_ssr      sea surface restoring term (for T and/or S)        (ln_ssr     =T) 
     59!!   namsbc_wave     external fields from wave model                    (ln_wave    =T) 
     60!!   namberg         iceberg floats                                     (ln_icebergs=T) 
     61!!====================================================================== 
     62! 
    3463!----------------------------------------------------------------------- 
    3564&namsbc        !   Surface Boundary Condition (surface module) 
    3665!----------------------------------------------------------------------- 
    37    nn_fsbc     = 1         !  frequency of surface boundary condition computation 
     66   nn_fsbc     = 1         !  frequency of SBC module call 
     67                     ! Type of air-sea fluxes  
    3868   ln_blk      = .true.    !  Bulk formulation                          (T => fill namsbc_blk ) 
     69                     ! Sea-ice : 
     70   nn_ice      = 2         !  =0   Use SI3 model 
     71                     ! Misc. options of sbc :  
     72   ln_traqsr   = .true.    !  Light penetration in the ocean            (T => fill namtra_qsr) 
    3973   ln_rnf      = .false.   !  runoffs                                   (T => fill namsbc_rnf) 
    4074   ln_ssr      = .false.   !  Sea Surface Restoring on T and/or S       (T => fill namsbc_ssr) 
     
    4276/ 
    4377!----------------------------------------------------------------------- 
    44 &namsbc_blk   !   namsbc_blk  Bulk formulae 
    45 !----------------------------------------------------------------------- 
    46 !              !  file name                   ! frequency (hours) ! variable  ! time interp. !  clim  ! 'yearly'/ ! weights                              ! rotation ! land/sea mask ! 
    47 !              !                              !  (if <0  months)  !   name    !   (logical)  !  (T/F) ! 'monthly' ! filename                             ! pairing  ! filename      ! 
    48    sn_wndi     = 'u_10.15JUNE2009_fill'       ,         6         , 'U_10_MOD',   .false.    , .true. , 'yearly'  , 'weights_core2_nordic1_bicub.nc'     , 'Uwnd'   , '' 
    49    sn_wndj     = 'v_10.15JUNE2009_fill'       ,         6         , 'V_10_MOD',   .false.    , .true. , 'yearly'  , 'weights_core2_nordic1_bicub.nc'     , 'Vwnd'   , '' 
    50    sn_qsr      = 'ncar_rad.15JUNE2009_fill'   ,        24         , 'SWDN_MOD',   .false.    , .true. , 'yearly'  , 'weights_core2_nordic1_bilin.nc'    , ''       , '' 
    51    sn_qlw      = 'ncar_rad.15JUNE2009_fill'   ,        24         , 'LWDN_MOD',   .false.    , .true. , 'yearly'  , 'weights_core2_nordic1_bilin.nc'    , ''       , '' 
    52    sn_tair     = 't_10.15JUNE2009_fill'       ,         6         , 'T_10_MOD',   .false.    , .true. , 'yearly'  , 'weights_core2_nordic1_bilin.nc'    , ''       , '' 
    53    sn_humi     = 'q_10.15JUNE2009_fill'       ,         6         , 'Q_10_MOD',   .false.    , .true. , 'yearly'  , 'weights_core2_nordic1_bilin.nc'    , ''       , '' 
    54    sn_prec     = 'ncar_precip.15JUNE2009_fill',        -1         , 'PRC_MOD1',   .false.    , .true. , 'yearly'  , 'weights_core2_nordic1_bilin.nc'    , ''       , '' 
    55    sn_snow     = 'ncar_precip.15JUNE2009_fill',        -1         , 'SNOW'    ,   .false.    , .true. , 'yearly'  , 'weights_core2_nordic1_bilin.nc'    , ''       , '' 
    56    sn_slp      = 'slp.15JUNE2009_fill'        ,         6         , 'SLP'     ,   .false.    , .true. , 'yearly'  , 'weights_core2_nordic1_bilin.nc'    , ''       , '' 
    57    sn_tdif     = 'taudif_core'                ,        24         , 'taudif'  ,   .false.    , .true. , 'yearly'  , 'weights_core2_nordic1_bilin.nc'    , ''       , '' 
    58    ! 
     78&namsbc_blk   !   namsbc_blk  generic Bulk formula                      (ln_blk =T) 
     79!----------------------------------------------------------------------- 
    5980   !                    !  bulk algorithm : 
    60    ln_NCAR     = .true.   ! "NCAR"      algorithm   (Large and Yeager 2008) 
    61 / 
    62 !----------------------------------------------------------------------- 
    63 &namtra_qsr    !   penetrative solar radiation 
    64 !----------------------------------------------------------------------- 
    65 !              !  file name  ! frequency (hours) ! variable  ! time interp. !  clim  ! 'yearly'/ ! weights  ! rotation ! 
    66 !              !             !  (if <0  months)  !   name    !   (logical)  !  (T/F) ! 'monthly' ! filename ! pairing  ! 
    67    sn_chl      ='chlorophyll',        -1         , 'CHLA'    ,   .true.     , .true. , 'yearly'  , 'weights_core2_nordic1_bilin.nc'       , '' 
    68    nn_chldta   =      0    !  RGB : Chl data (=1) or cst value (=0) 
    69 / 
    70 !----------------------------------------------------------------------- 
    71 &namsbc_rnf    !   runoffs namelist surface boundary condition 
    72 !----------------------------------------------------------------------- 
    73 !              !  file name           ! frequency (hours) ! variable  ! time interp. !  clim  ! 'yearly'/ ! weights  ! rotation ! land/sea mask ! 
    74 !              !                      !  (if <0  months)  !   name    !   (logical)  !  (T/F) ! 'monthly' ! filename ! pairing  ! filename      !     
    75    sn_rnf      = 'runoff_core_monthly',        -1         , 'sorunoff',   .true.     , .true. , 'yearly'  , 'weights_core2_nordic1_bilin.nc'       , ''       , ''  
    76    sn_cnf      = 'runoff_core_monthly',         0         , 'socoefr0',   .false.    , .true. , 'yearly'  , 'weights_core2_nordic1_bilin.nc'       , ''       , ''  
    77    sn_s_rnf    = 'runoffs'            ,        24         , 'rosaline',   .true.     , .true. , 'yearly'  , 'weights_core2_nordic1_bilin.nc'       , ''       , ''  
    78    sn_t_rnf    = 'runoffs'            ,        24         , 'rotemper',   .true.     , .true. , 'yearly'  , 'weights_core2_nordic1_bilin.nc'       , ''       , ''  
    79    sn_dep_rnf  = 'runoffs'            ,         0         , 'rodepth' ,   .false.    , .true. , 'yearly'  , 'weights_core2_nordic1_bilin.nc'       , ''       , ''  
    80 / 
    81 !----------------------------------------------------------------------- 
    82 &namsbc_ssr    !   surface boundary condition : sea surface restoring 
    83 !----------------------------------------------------------------------- 
    84 / 
    85 !----------------------------------------------------------------------- 
    86 &namsbc_alb    !   albedo parameters 
    87 !----------------------------------------------------------------------- 
    88 / 
    89 !----------------------------------------------------------------------- 
    90 &namberg       !   iceberg parameters 
    91 !----------------------------------------------------------------------- 
    92       ln_icebergs              = .false.               ! iceberg floats or not 
    93 / 
     81   ln_NCAR     = .true.    ! "NCAR"      algorithm   (Large and Yeager 2008) 
     82 
     83   cn_dir      = './'      !  root directory for the bulk data location 
     84   !___________!_________________________!___________________!___________!_____________!________!___________!______________________________________!__________!_______________! 
     85   !           !  file name              ! frequency (hours) ! variable  ! time interp.!  clim  ! 'yearly'/ !          weights filename            ! rotation ! land/sea mask ! 
     86   !           !                         !  (if <0  months)  !   name    !   (logical) !  (T/F) ! 'monthly' !                                      ! pairing  !    filename   ! 
     87   sn_wndi     = 'u_10.15JUNE2009_fill'       ,    6         , 'U_10_MOD',   .false.   , .true. , 'yearly'  , 'weights_core2_nordic1_bicub.nc.nc'  , 'Uwnd'   , '' 
     88   sn_wndj     = 'v_10.15JUNE2009_fill'       ,    6         , 'V_10_MOD',   .false.   , .true. , 'yearly'  , 'weights_core2_nordic1_bicub.nc.nc'  , 'Vwnd'   , '' 
     89   sn_qsr      = 'ncar_rad.15JUNE2009_fill'   ,   24         , 'SWDN_MOD',   .false.   , .true. , 'yearly'  , 'weights_core2_nordic1_bilinear.nc'  , ''       , '' 
     90   sn_qlw      = 'ncar_rad.15JUNE2009_fill'   ,   24         , 'LWDN_MOD',   .false.   , .true. , 'yearly'  , 'weights_core2_nordic1_bilinear.nc'  , ''       , '' 
     91   sn_tair     = 't_10.15JUNE2009_fill'       ,    6         , 'T_10_MOD',   .false.   , .true. , 'yearly'  , 'weights_core2_nordic1_bilinear.nc'  , ''       , '' 
     92   sn_humi     = 'q_10.15JUNE2009_fill'       ,    6         , 'Q_10_MOD',   .false.   , .true. , 'yearly'  , 'weights_core2_nordic1_bilinear.nc'  , ''       , '' 
     93   sn_prec     = 'ncar_precip.15JUNE2009_fill',   -1         , 'PRC_MOD1',   .false.   , .true. , 'yearly'  , 'weights_core2_nordic1_bilinear.nc'  , ''       , '' 
     94   sn_snow     = 'ncar_precip.15JUNE2009_fill',   -1         , 'SNOW'    ,   .false.   , .true. , 'yearly'  , 'weights_core2_nordic1_bilinear.nc'  , ''       , '' 
     95   sn_slp      = 'slp.15JUNE2009_fill'        ,    6         , 'SLP'     ,   .false.   , .true. , 'yearly'  , 'weights_core2_nordic1_bilinear.nc'  , ''       , '' 
     96   sn_tdif     = 'taudif_core'                ,   24         , 'taudif'  ,   .false.   , .true. , 'yearly'  , 'weights_core2_nordic1_bilinear.nc'  , ''       , '' 
     97 
     98/ 
     99!----------------------------------------------------------------------- 
     100&namtra_qsr    !   penetrative solar radiation                          (ln_traqsr =T) 
     101!----------------------------------------------------------------------- 
     102   !                       ! type of penetration                        (default: NO selection) 
     103   ln_qsr_rgb  = .true.       !  RGB light penetration (Red-Green-Blue) 
     104   ! 
     105   nn_chldta   =      1       !  RGB : Chl data (=1) or cst value (=0) 
     106 
     107   cn_dir      = './'      !  root directory for the chlorophyl data location 
     108   !___________!_________________________!___________________!___________!_____________!________!___________!______________________________________!__________!_______________! 
     109   !           !  file name              ! frequency (hours) ! variable  ! time interp.!  clim  ! 'yearly'/ !          weights filename            ! rotation ! land/sea mask ! 
     110   !           !                         !  (if <0  months)  !   name    !   (logical) !  (T/F) ! 'monthly' !                                      ! pairing  !    filename   ! 
     111   sn_chl      ='chlorophyll'            ,        -1         , 'CHLA'    ,   .true.    , .true. , 'yearly'  ,'weights_core1_nordic1_bilin.nc'      , ''       , '' 
     112/ 
     113!----------------------------------------------------------------------- 
     114&namsbc_rnf    !   runoffs                                              (ln_rnf =T) 
     115!----------------------------------------------------------------------- 
     116   !  not used in this zoom 
     117/ 
     118!----------------------------------------------------------------------- 
     119&namsbc_ssr    !   surface boundary condition : sea surface restoring   (ln_ssr =T) 
     120!----------------------------------------------------------------------- 
     121   !  not used in this zoom 
     122/ 
     123!----------------------------------------------------------------------- 
     124&namberg       !   iceberg parameters                                   (default: No iceberg) 
     125!----------------------------------------------------------------------- 
     126   !  iceberg floats are not currently available with AGRIF 
     127   !     ===>>  forced deactivation in icbini.F90  
     128/ 
     129 
     130!!====================================================================== 
     131!!               ***  Lateral boundary condition  ***                 !! 
     132!!                                                                    !! 
     133!!   namlbc        lateral momentum boundary condition                  (no slip) 
     134!!   namagrif      agrif nested grid ( read by child model only )       ("key_agrif") 
     135!!   nam_tide      Tidal forcing                                        (default: NO) 
     136!!   nambdy        Unstructured open boundaries                         (default: NO) 
     137!!   nambdy_dta    Unstructured open boundaries - external data         (see  nambdy) 
     138!!   nambdy_tide   tidal forcing at open boundaries                     (default: NO) 
     139!!====================================================================== 
     140! 
    94141!----------------------------------------------------------------------- 
    95142&namlbc        !   lateral momentum boundary condition 
    96143!----------------------------------------------------------------------- 
    97 / 
    98 !----------------------------------------------------------------------- 
    99 &namdrg        !   top/bottom friction 
    100 !----------------------------------------------------------------------- 
    101    ln_non_lin = .true. 
     144   rn_shlat    =    2.     !  no slip 
    102145/ 
    103146!----------------------------------------------------------------------- 
     
    107150   rn_sponge_tra = 1440.   !  coefficient for tracer   sponge layer [m2/s] 
    108151   rn_sponge_dyn = 1440.   !  coefficient for dynamics sponge layer [m2/s] 
    109    ln_chk_bathy  = .FALSE. ! 
     152   ln_chk_bathy  = .false. !  =T  check the parent bathymetry 
     153/ 
     154!----------------------------------------------------------------------- 
     155&namdrg        !   top/bottom drag coefficient                          (default: NO selection) 
     156!----------------------------------------------------------------------- 
     157   ln_non_lin = .false.    !  non-linear  drag: Cd = Cd0 |U| 
     158/ 
     159!----------------------------------------------------------------------- 
     160&namdrg_bot    !   BOTTOM friction                                   
     161!----------------------------------------------------------------------- 
    110162/ 
    111163!----------------------------------------------------------------------- 
     
    113165!----------------------------------------------------------------------- 
    114166   ln_trabbc   = .true.    !  Apply a geothermal heating at the ocean bottom 
     167      nn_geoflx   =    1      !  geothermal heat flux: = 2 read variable flux [mW/m2] 
    115168/ 
    116169!----------------------------------------------------------------------- 
     
    118171!----------------------------------------------------------------------- 
    119172   ln_trabbl   = .true.    !  Bottom Boundary Layer parameterisation flag 
    120 / 
    121 !----------------------------------------------------------------------- 
    122 &nameos        !   ocean physical parameters 
    123 !----------------------------------------------------------------------- 
    124    ln_teos10   = .true.         !  = Use TEOS-10 equation of state 
    125 / 
    126 !----------------------------------------------------------------------- 
    127 &namtra_adv    !   advection scheme for tracer                          (default: NO advection) 
     173      nn_bbl_ldf  =  1        !  diffusive bbl (=1)   or not (=0) 
     174      nn_bbl_adv  =  0        !  advective bbl (=1/2) or not (=0) 
     175      rn_ahtbbl   =  1000.    !  lateral mixing coefficient in the bbl  [m2/s] 
     176      rn_gambbl   =  10.      !  advective bbl coefficient                 [s] 
     177/ 
     178 
     179!!====================================================================== 
     180!!                        Tracer (T & S) namelists                    !! 
     181!!                                                                    !! 
     182!!   nameos           equation of state                                 (default: NO selection) 
     183!!   namtra_adv       advection scheme                                  (default: NO selection) 
     184!!   namtra_adv_mle   mixed layer eddy param. (Fox-Kemper param.)       (default: NO) 
     185!!   namtra_ldf       lateral diffusion scheme                          (default: NO selection) 
     186!!   namtra_eiv       eddy induced velocity param.                      (default: NO) 
     187!!   namtra_dmp       T & S newtonian damping                           (default: NO) 
     188!!====================================================================== 
     189! 
     190!----------------------------------------------------------------------- 
     191&nameos        !   ocean Equation Of Seawater                           (default: NO selection) 
     192!----------------------------------------------------------------------- 
     193   ln_eos80    = .true.          !  = Use EOS80 
     194/ 
     195!----------------------------------------------------------------------- 
     196&namtra_adv    !   advection scheme for tracer                          (default: NO selection) 
    128197!----------------------------------------------------------------------- 
    129198   ln_traadv_ubs = .true. !  UBS scheme 
     
    131200/ 
    132201!----------------------------------------------------------------------- 
    133 &namtra_adv_mle !   mixed layer eddy parametrisation (Fox-Kemper param) 
    134 !----------------------------------------------------------------------- 
    135 / 
    136 !---------------------------------------------------------------------------------- 
    137 &namtra_ldf    !   lateral diffusion scheme for tracers 
    138 !---------------------------------------------------------------------------------- 
    139    !                       !  Operator type: 
     202&namtra_adv_mle !   mixed layer eddy parametrisation (Fox-Kemper)       (default: NO) 
     203!----------------------------------------------------------------------- 
     204   ln_mle      = .true.   ! (T) use the Mixed Layer Eddy (MLE) parameterisation 
     205/ 
     206!----------------------------------------------------------------------- 
     207&namtra_ldf    !   lateral diffusion scheme for tracers                 (default: NO selection) 
     208!----------------------------------------------------------------------- 
    140209   ln_traldf_NONE  =  .true.  !           No operator (no explicit advection) 
    141210/ 
    142 !---------------------------------------------------------------------------------- 
    143 &namtra_ldfeiv !   eddy induced velocity param. 
    144 !---------------------------------------------------------------------------------- 
    145    ln_ldfeiv     =.false.   ! use eddy induced velocity parameterization 
     211!----------------------------------------------------------------------- 
     212&namtra_eiv    !   eddy induced velocity param.                         (default: NO) 
     213!----------------------------------------------------------------------- 
     214   !  not used in this zoom 
    146215/ 
    147216!----------------------------------------------------------------------- 
    148217&namtra_dmp    !   tracer: T & S newtonian damping                      (default: NO) 
    149218!----------------------------------------------------------------------- 
    150    ln_tradmp   =  .false.   !  add a damping termn (T) or not (F) 
    151 / 
    152 !----------------------------------------------------------------------- 
    153 &namdyn_adv    !   formulation of the momentum advection                (default: No selection) 
    154 !----------------------------------------------------------------------- 
    155    ln_dynadv_ubs = .true. !  flux form - 3rd order UBS      scheme 
    156 / 
    157 !----------------------------------------------------------------------- 
    158 &namdyn_vor    !   option of physics/algorithm (not control by CPP keys) 
    159 !----------------------------------------------------------------------- 
    160    ln_dynvor_ens = .true. !  energy conserving scheme 
    161 / 
    162 !----------------------------------------------------------------------- 
    163 &namdyn_hpg    !   Hydrostatic pressure gradient option 
    164 !----------------------------------------------------------------------- 
    165    ln_hpg_sco  = .true.   !  s-coordinate (standard jacobian formulation) 
    166 / 
    167 !----------------------------------------------------------------------- 
    168 &namdyn_spg    !   surface pressure gradient 
     219   !  not used in this zoom 
     220/ 
     221 
     222!!====================================================================== 
     223!!                      ***  Dynamics namelists  ***                  !! 
     224!!                                                                    !! 
     225!!   nam_vvl       vertical coordinate options                          (default: z-star) 
     226!!   namdyn_adv    formulation of the momentum advection                (default: NO selection) 
     227!!   namdyn_vor    advection scheme                                     (default: NO selection) 
     228!!   namdyn_hpg    hydrostatic pressure gradient                        (default: NO selection) 
     229!!   namdyn_spg    surface pressure gradient                            (default: NO selection) 
     230!!   namdyn_ldf    lateral diffusion scheme                             (default: NO selection) 
     231!!   namdta_dyn    offline TOP: dynamics read in files                  (OFF_SRC only) 
     232!!====================================================================== 
     233! 
     234!----------------------------------------------------------------------- 
     235&nam_vvl       !   vertical coordinate options                          (default: z-star) 
     236!----------------------------------------------------------------------- 
     237/ 
     238!----------------------------------------------------------------------- 
     239&namdyn_adv    !   formulation of the momentum advection                (default: NO selection) 
     240!----------------------------------------------------------------------- 
     241   ln_dynadv_ubs = .true.  !  flux form - 3rd order UBS      scheme 
     242/ 
     243!----------------------------------------------------------------------- 
     244&namdyn_vor    !   Vorticity / Coriolis scheme                          (default: NO selection) 
     245!----------------------------------------------------------------------- 
     246   ln_dynvor_ene = .true.  !  energy conserving scheme 
     247/ 
     248!----------------------------------------------------------------------- 
     249&namdyn_hpg    !   Hydrostatic pressure gradient option                 (default: NO selection) 
     250!----------------------------------------------------------------------- 
     251   ln_hpg_sco  = .true.    !  s-coordinate (standard jacobian formulation) 
     252/ 
     253!----------------------------------------------------------------------- 
     254&namdyn_spg    !   surface pressure gradient                            (default: NO selection) 
    169255!----------------------------------------------------------------------- 
    170256   ln_dynspg_ts  = .true.  !  split-explicit free surface 
    171257/ 
    172258!----------------------------------------------------------------------- 
    173 &namdyn_ldf    !   lateral diffusion on momentum 
    174 !----------------------------------------------------------------------- 
    175    !                       !  Type of the operator : 
    176    !                           !  no diffusion: set ln_dynldf_lap=..._blp=F  
     259&namdyn_ldf    !   lateral diffusion on momentum                        (default: NO selection) 
     260!----------------------------------------------------------------------- 
    177261   ln_dynldf_NONE=  .true.    !  No operator (i.e. no explicit diffusion) 
    178262/ 
     263 
    179264!!====================================================================== 
    180265!!                     vertical physics namelists                     !! 
    181 !!====================================================================== 
     266!!                                                                    !! 
     267!!    namzdf        vertical physics manager                            (default: NO selection) 
     268!!    namzdf_ric    richardson number vertical mixing                   (ln_zdfric=T) 
     269!!    namzdf_tke    TKE vertical mixing                                 (ln_zdftke=T) 
     270!!    namzdf_gls    GLS vertical mixing                                 (ln_zdfgls=T) 
     271!!    namzdf_osm    OSM vertical diffusion                              (ln_zdfosm=T) 
     272!!    namzdf_iwm    tidal mixing parameterization                       (ln_zdfiwm=T) 
     273!!====================================================================== 
     274! 
    182275!----------------------------------------------------------------------- 
    183276&namzdf        !   vertical physics                                     (default: NO selection) 
     
    185278   !                       ! type of vertical closure 
    186279   ln_zdftke   = .true.       !  Turbulent Kinetic Energy closure       (T =>   fill namzdf_tke) 
     280   ! 
     281   !                       ! convection 
    187282   ln_zdfevd   = .true.       !  Enhanced Vertical Diffusion scheme 
     283      nn_evdm  =    0            !  evd apply on tracer (=0) or on tracer and momentum (=1) 
     284      rn_evd   =  100.           !  evd mixing coefficient [m2/s] 
     285   ! 
    188286   ln_zdfddm   = .true.    ! double diffusive mixing 
     287      rn_avts  =    1.e-4     !  maximum avs (vertical mixing on salinity) 
     288      rn_hsbfr =    1.6       !  heat/salt buoyancy flux ratio 
     289   ! 
     290   !                       !  Coefficients 
     291   rn_avm0     =   1.2e-4     !  vertical eddy viscosity   [m2/s]       (background Kz if ln_zdfcst=F) 
     292   rn_avt0     =   1.2e-5     !  vertical eddy diffusivity [m2/s]       (background Kz if ln_zdfcst=F) 
     293   nn_avb      =    0         !  profile for background avt & avm (=1) or not (=0) 
    189294   nn_havtb    =    1         !  horizontal shape for avtb (=1) or not (=0) 
    190295/ 
    191296!----------------------------------------------------------------------- 
    192 &namzdf_tke    !   turbulent eddy kinetic dependent vertical diffusion  
    193 !----------------------------------------------------------------------- 
    194 / 
    195 !----------------------------------------------------------------------- 
    196 &namzdf_iwm    !   tidal mixing parameterization                        (ln_zdfiwm =T) 
    197 !----------------------------------------------------------------------- 
    198 / 
    199 !----------------------------------------------------------------------- 
    200 &nammpp        !   Massively Parallel Processing                        ("key_mpp_mpi) 
    201 !----------------------------------------------------------------------- 
    202 / 
    203 !----------------------------------------------------------------------- 
    204 &namctl        !   Control prints & Benchmark 
    205 !----------------------------------------------------------------------- 
    206 / 
    207 !----------------------------------------------------------------------- 
    208 &namptr       !   Poleward Transport Diagnostic 
    209 !----------------------------------------------------------------------- 
    210 / 
    211 !----------------------------------------------------------------------- 
    212 &namhsb       !  Heat and salt budgets                                  (default F) 
    213 !----------------------------------------------------------------------- 
    214 / 
    215 !----------------------------------------------------------------------- 
    216 &namobs       !  observation usage                                      ('key_diaobs') 
    217 !----------------------------------------------------------------------- 
    218 / 
    219 !----------------------------------------------------------------------- 
    220 &nam_asminc   !   assimilation increments                               ('key_asminc') 
    221 !----------------------------------------------------------------------- 
    222 / 
     297&namzdf_tke    !   turbulent eddy kinetic dependent vertical diffusion  (ln_zdftke =T) 
     298!----------------------------------------------------------------------- 
     299/ 
     300 
     301!!====================================================================== 
     302!!                  ***  Diagnostics namelists  ***                   !! 
     303!!                                                                    !! 
     304!!   namtrd       dynamics and/or tracer trends                         (default NO) 
     305!!   namptr       Poleward Transport Diagnostics                        (default NO) 
     306!!   namhsb       Heat and salt budgets                                 (default NO) 
     307!!   namdiu       Cool skin and warm layer models                       (default NO) 
     308!!   namdiu       Cool skin and warm layer models                       (default NO) 
     309!!   namflo       float parameters                                      ("key_float") 
     310!!   nam_diaharm  Harmonic analysis of tidal constituents               ("key_diaharm") 
     311!!   namdct       transports through some sections                      ("key_diadct") 
     312!!   nam_diatmb   Top Middle Bottom Output                              (default NO) 
     313!!   nam_dia25h   25h Mean Output                                       (default NO) 
     314!!   namnc4       netcdf4 chunking and compression settings             ("key_netcdf4") 
     315!!====================================================================== 
     316! 
     317 
     318!!====================================================================== 
     319!!               ***  Observation & Assimilation  ***                 !! 
     320!!                                                                    !! 
     321!!   namobs       observation and model comparison                      (default: NO) 
     322!!   nam_asminc   assimilation increments                               ('key_asminc') 
     323!!====================================================================== 
     324! 
  • branches/2017/dev_merge_2017/NEMOGCM/CONFIG/AGRIF_NORDIC/EXP00/2_namelist_cfg

    r9484 r9490  
    11!!>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
    2 !! NEMO/OPA  :  Configuration namelist used to overwrite SHARED/1_namelist_ref 
     2!! NEMO/OPA  Configuration namelist : overwrite some defaults values defined in SHARED/1_namelist_ref 
    33!!>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
     4!                       ORCA2 - SI3 configuration                      ! 
     5 
     6!!====================================================================== 
     7!!              ***  Domain & Run management namelists  ***           !! 
     8!!                                                                    !! 
     9!!   namrun       parameters of the run 
     10!!   namdom       space and time domain 
     11!!   namcfg       parameters of the configuration                       (default: user defined GYRE) 
     12!!   namwad       Wetting and drying                                    (default NO) 
     13!!   namtsd       data: temperature & salinity                          (default NO) 
     14!!   namcrs       coarsened grid (for outputs and/or TOP)               (ln_crs =T) 
     15!!====================================================================== 
     16! 
    417!----------------------------------------------------------------------- 
    518&namrun        !   parameters of the run 
    619!----------------------------------------------------------------------- 
    7    cn_exp      = "Nordic" !  experience name  
    8    nn_it000    =  1       !  first time step 
    9    nn_itend    =  240     !  last  time step 
    10    ln_clobber  = .true.   !  clobber (overwrite) an existing file 
    11 / 
    12 !----------------------------------------------------------------------- 
    13 &namcfg     !   parameters of the configuration 
     20   cn_exp      = "Nordic"  !  experience name  
     21   nn_it000    =    1      !  first time step 
     22   nn_itend    =  240      !  last  time step 
     23   nn_istate   =      0    !  output the initial state (1) or not (0) 
     24   ln_clobber  = .true.    !  clobber (overwrite) an existing file 
     25/ 
     26!----------------------------------------------------------------------- 
     27&namdom        !   space and time domain 
     28!----------------------------------------------------------------------- 
     29   ln_linssh   = .false.   !  =T  linear free surface  ==>>  model level are fixed in time 
     30   ! 
     31   rn_rdt      = 480.     !  time step for the dynamics (and tracer if nn_acc=0) 
     32/ 
     33!----------------------------------------------------------------------- 
     34&namcfg        !   parameters of the configuration                      (default: user defined GYRE) 
    1435!----------------------------------------------------------------------- 
    1536   ln_read_cfg = .true.    !  (=T) read the domain configuration file 
    16       !                    !  (=F) user defined configuration  ==>>>  see usrdef(_...) modules 
    1737      cn_domcfg = "ORCA_R017_zps_domcfg_agrif"    ! domain configuration filename 
    1838/ 
    1939!----------------------------------------------------------------------- 
    20 &namdom        !   space and time domain (bathymetry, mesh, timestep) 
    21 !-----------------------------------------------------------------------   
    22    ln_linssh   = .false.   !  =T  linear free surface  ==>>  model level are fixed in time 
    23    ! 
    24    rn_rdt      = 480.     !  time step for the dynamics (and tracer if nn_acc=0) 
    25 / 
    26 !----------------------------------------------------------------------- 
    27 &namcrs        !   coarsened grid (for outputs and/or TOP)              (ln_crs =T) 
    28 !----------------------------------------------------------------------- 
    29 / 
    30 !----------------------------------------------------------------------- 
    31 &namtsd    !   data : Temperature  & Salinity 
    32 !----------------------------------------------------------------------- 
    33 / 
     40&namtsd        !    Temperature & Salinity Data                         (default: NO) 
     41!----------------------------------------------------------------------- 
     42   !  with AGRIF ("key_agrif") child are initialized with parent values 
     43/ 
     44 
     45!!====================================================================== 
     46!!            ***  Surface Boundary Condition namelists  ***          !! 
     47!!                                                                    !! 
     48!!   namsbc          surface boundary condition manager                 (default: NO selection) 
     49!!   namsbc_flx      flux               formulation                     (ln_flx     =T) 
     50!!   namsbc_blk      Bulk formulae formulation                          (ln_blk     =T) 
     51!!   namsbc_cpl      CouPLed            formulation                     ("key_oasis3" ) 
     52!!   namsbc_sas      Stand-Alone Surface module                         (SAS_SRC  only) 
     53!!   namtra_qsr      penetrative solar radiation                        (ln_traqsr  =T) 
     54!!   namsbc_rnf      river runoffs                                      (ln_rnf     =T) 
     55!!   namsbc_isf      ice shelf melting/freezing                         (ln_isfcav  =T : read (ln_read_cfg=T) or set or usr_def_zgr ) 
     56!!   namsbc_iscpl    coupling option between land ice model and ocean   (ln_isfcav  =T) 
     57!!   namsbc_apr      Atmospheric Pressure                               (ln_apr_dyn =T) 
     58!!   namsbc_ssr      sea surface restoring term (for T and/or S)        (ln_ssr     =T) 
     59!!   namsbc_wave     external fields from wave model                    (ln_wave    =T) 
     60!!   namberg         iceberg floats                                     (ln_icebergs=T) 
     61!!====================================================================== 
     62! 
    3463!----------------------------------------------------------------------- 
    3564&namsbc        !   Surface Boundary Condition (surface module) 
    3665!----------------------------------------------------------------------- 
    37    nn_fsbc     = 1         !  frequency of surface boundary condition computation 
     66   nn_fsbc     = 1         !  frequency of SBC module call 
     67                     ! Type of air-sea fluxes  
    3868   ln_blk      = .true.    !  Bulk formulation                          (T => fill namsbc_blk ) 
    39    ln_rnf      = .false.    !  runoffs                                   (T => fill namsbc_rnf) 
    40    ln_ssr      = .false.    !  Sea Surface Restoring on T and/or S       (T => fill namsbc_ssr) 
     69                     ! Sea-ice : 
     70   nn_ice      = 2         !  =0   Use SI3 model 
     71                     ! Misc. options of sbc :  
     72   ln_traqsr   = .true.    !  Light penetration in the ocean            (T => fill namtra_qsr) 
     73   ln_rnf      = .false.   !  runoffs                                   (T => fill namsbc_rnf) 
     74   ln_ssr      = .false.   !  Sea Surface Restoring on T and/or S       (T => fill namsbc_ssr) 
    4175   nn_fwb      = 0         !  FreshWater Budget: =0 unchecked 
    4276/ 
    4377!----------------------------------------------------------------------- 
    44 &namsbc_blk   !   namsbc_blk  Bulk formulae 
    45 !----------------------------------------------------------------------- 
    46 !              !  file name                   ! frequency (hours) ! variable  ! time interp. !  clim  ! 'yearly'/ ! weights                              ! rotation ! land/sea mask ! 
    47 !              !                              !  (if <0  months)  !   name    !   (logical)  !  (T/F) ! 'monthly' ! filename                             ! pairing  ! filename      ! 
    48    sn_wndi     = 'u_10.15JUNE2009_fill'       ,         6         , 'U_10_MOD',   .false.    , .true. , 'yearly'  , 'weights_core2_nordic2_bicub.nc'     , 'Uwnd'   , '' 
    49    sn_wndj     = 'v_10.15JUNE2009_fill'       ,         6         , 'V_10_MOD',   .false.    , .true. , 'yearly'  , 'weights_core2_nordic2_bicub.nc'     , 'Vwnd'   , '' 
    50    sn_qsr      = 'ncar_rad.15JUNE2009_fill'   ,        24         , 'SWDN_MOD',   .false.    , .true. , 'yearly'  , 'weights_core2_nordic2_bilin.nc'    , ''       , '' 
    51    sn_qlw      = 'ncar_rad.15JUNE2009_fill'   ,        24         , 'LWDN_MOD',   .false.    , .true. , 'yearly'  , 'weights_core2_nordic2_bilin.nc'    , ''       , '' 
    52    sn_tair     = 't_10.15JUNE2009_fill'       ,         6         , 'T_10_MOD',   .false.    , .true. , 'yearly'  , 'weights_core2_nordic2_bilin.nc'    , ''       , '' 
    53    sn_humi     = 'q_10.15JUNE2009_fill'       ,         6         , 'Q_10_MOD',   .false.    , .true. , 'yearly'  , 'weights_core2_nordic2_bilin.nc'    , ''       , '' 
    54    sn_prec     = 'ncar_precip.15JUNE2009_fill',        -1         , 'PRC_MOD1',   .false.    , .true. , 'yearly'  , 'weights_core2_nordic2_bilin.nc'    , ''       , '' 
    55    sn_snow     = 'ncar_precip.15JUNE2009_fill',        -1         , 'SNOW'    ,   .false.    , .true. , 'yearly'  , 'weights_core2_nordic2_bilin.nc'    , ''       , '' 
    56    sn_slp      = 'slp.15JUNE2009_fill'        ,         6         , 'SLP'     ,   .false.    , .true. , 'yearly'  , 'weights_core2_nordic2_bilin.nc'    , ''       , '' 
    57    sn_tdif     = 'taudif_core'                ,        24         , 'taudif'  ,   .false.    , .true. , 'yearly'  , 'weights_core2_nordic2_bilin.nc'    , ''       , '' 
    58    ! 
     78&namsbc_blk   !   namsbc_blk  generic Bulk formula                      (ln_blk =T) 
     79!----------------------------------------------------------------------- 
    5980   !                    !  bulk algorithm : 
    60    ln_NCAR     = .true.   ! "NCAR"      algorithm   (Large and Yeager 2008) 
    61 / 
    62 !----------------------------------------------------------------------- 
    63 &namtra_qsr    !   penetrative solar radiation 
    64 !----------------------------------------------------------------------- 
    65 !              !  file name  ! frequency (hours) ! variable  ! time interp. !  clim  ! 'yearly'/ ! weights  ! rotation ! 
    66 !              !             !  (if <0  months)  !   name    !   (logical)  !  (T/F) ! 'monthly' ! filename ! pairing  ! 
    67    sn_chl      ='chlorophyll',        -1         , 'CHLA'    ,   .true.     , .true. , 'yearly'  , 'weights_core2_nordic2_bilin.nc'       , '' 
    68    nn_chldta   =      0    !  RGB : Chl data (=1) or cst value (=0) 
    69 / 
    70 !----------------------------------------------------------------------- 
    71 &namsbc_rnf    !   runoffs namelist surface boundary condition 
    72 !----------------------------------------------------------------------- 
    73 !              !  file name           ! frequency (hours) ! variable  ! time interp. !  clim  ! 'yearly'/ ! weights  ! rotation ! land/sea mask ! 
    74 !              !                      !  (if <0  months)  !   name    !   (logical)  !  (T/F) ! 'monthly' ! filename ! pairing  ! filename      !     
    75    sn_rnf      = 'runoff_core_monthly',        -1         , 'sorunoff',   .true.     , .true. , 'yearly'  , 'weights_core2_nordic2_bilin.nc'       , ''       , ''  
    76    sn_cnf      = 'runoff_core_monthly',         0         , 'socoefr0',   .false.    , .true. , 'yearly'  , 'weights_core2_nordic2_bilin.nc'       , ''       , ''  
    77    sn_s_rnf    = 'runoffs'            ,        24         , 'rosaline',   .true.     , .true. , 'yearly'  , 'weights_core2_nordic2_bilin.nc'       , ''       , ''  
    78    sn_t_rnf    = 'runoffs'            ,        24         , 'rotemper',   .true.     , .true. , 'yearly'  , 'weights_core2_nordic2_bilin.nc'       , ''       , ''  
    79    sn_dep_rnf  = 'runoffs'            ,         0         , 'rodepth' ,   .false.    , .true. , 'yearly'  , 'weights_core2_nordic2_bilin.nc'       , ''       , ''  
    80 / 
    81 !----------------------------------------------------------------------- 
    82 &namsbc_ssr    !   surface boundary condition : sea surface restoring 
    83 !----------------------------------------------------------------------- 
    84 / 
    85 !----------------------------------------------------------------------- 
    86 &namsbc_alb    !   albedo parameters 
    87 !----------------------------------------------------------------------- 
    88 / 
    89 !----------------------------------------------------------------------- 
    90 &namberg       !   iceberg parameters 
    91 !----------------------------------------------------------------------- 
    92       ln_icebergs              = .false.               ! iceberg floats or not 
    93 / 
     81   ln_NCAR     = .true.    ! "NCAR"      algorithm   (Large and Yeager 2008) 
     82 
     83   cn_dir      = './'      !  root directory for the bulk data location 
     84   !___________!_________________________!___________________!___________!_____________!________!___________!______________________________________!__________!_______________! 
     85   !           !  file name              ! frequency (hours) ! variable  ! time interp.!  clim  ! 'yearly'/ !          weights filename            ! rotation ! land/sea mask ! 
     86   !           !                         !  (if <0  months)  !   name    !   (logical) !  (T/F) ! 'monthly' !                                      ! pairing  !    filename   ! 
     87   sn_wndi     = 'u_10.15JUNE2009_fill'       ,    6         , 'U_10_MOD',   .false.   , .true. , 'yearly'  , 'weights_core2_nordic2_bicub.nc.nc'  , 'Uwnd'   , '' 
     88   sn_wndj     = 'v_10.15JUNE2009_fill'       ,    6         , 'V_10_MOD',   .false.   , .true. , 'yearly'  , 'weights_core2_nordic2_bicub.nc.nc'  , 'Vwnd'   , '' 
     89   sn_qsr      = 'ncar_rad.15JUNE2009_fill'   ,   24         , 'SWDN_MOD',   .false.   , .true. , 'yearly'  , 'weights_core2_nordic2_bilinear.nc'  , ''       , '' 
     90   sn_qlw      = 'ncar_rad.15JUNE2009_fill'   ,   24         , 'LWDN_MOD',   .false.   , .true. , 'yearly'  , 'weights_core2_nordic2_bilinear.nc'  , ''       , '' 
     91   sn_tair     = 't_10.15JUNE2009_fill'       ,    6         , 'T_10_MOD',   .false.   , .true. , 'yearly'  , 'weights_core2_nordic2_bilinear.nc'  , ''       , '' 
     92   sn_humi     = 'q_10.15JUNE2009_fill'       ,    6         , 'Q_10_MOD',   .false.   , .true. , 'yearly'  , 'weights_core2_nordic2_bilinear.nc'  , ''       , '' 
     93   sn_prec     = 'ncar_precip.15JUNE2009_fill',   -1         , 'PRC_MOD1',   .false.   , .true. , 'yearly'  , 'weights_core2_nordic2_bilinear.nc'  , ''       , '' 
     94   sn_snow     = 'ncar_precip.15JUNE2009_fill',   -1         , 'SNOW'    ,   .false.   , .true. , 'yearly'  , 'weights_core2_nordic2_bilinear.nc'  , ''       , '' 
     95   sn_slp      = 'slp.15JUNE2009_fill'        ,    6         , 'SLP'     ,   .false.   , .true. , 'yearly'  , 'weights_core2_nordic2_bilinear.nc'  , ''       , '' 
     96   sn_tdif     = 'taudif_core'                ,   24         , 'taudif'  ,   .false.   , .true. , 'yearly'  , 'weights_core2_nordic2_bilinear.nc'  , ''       , '' 
     97 
     98/ 
     99!----------------------------------------------------------------------- 
     100&namtra_qsr    !   penetrative solar radiation                          (ln_traqsr =T) 
     101!----------------------------------------------------------------------- 
     102   !                       ! type of penetration                        (default: NO selection) 
     103   ln_qsr_rgb  = .true.       !  RGB light penetration (Red-Green-Blue) 
     104   ! 
     105   nn_chldta   =      1       !  RGB : Chl data (=1) or cst value (=0) 
     106 
     107   cn_dir      = './'      !  root directory for the chlorophyl data location 
     108   !___________!_________________________!___________________!___________!_____________!________!___________!______________________________________!__________!_______________! 
     109   !           !  file name              ! frequency (hours) ! variable  ! time interp.!  clim  ! 'yearly'/ !          weights filename            ! rotation ! land/sea mask ! 
     110   !           !                         !  (if <0  months)  !   name    !   (logical) !  (T/F) ! 'monthly' !                                      ! pairing  !    filename   ! 
     111   sn_chl      ='chlorophyll'            ,        -1         , 'CHLA'    ,   .true.    , .true. , 'yearly'  ,'weights_core2_nordic1_bilin.nc'      , ''       , '' 
     112/ 
     113!----------------------------------------------------------------------- 
     114&namsbc_rnf    !   runoffs                                              (ln_rnf =T) 
     115!----------------------------------------------------------------------- 
     116   !  not used in this zoom 
     117/ 
     118!----------------------------------------------------------------------- 
     119&namsbc_ssr    !   surface boundary condition : sea surface restoring   (ln_ssr =T) 
     120!----------------------------------------------------------------------- 
     121   !  not used in this zoom 
     122/ 
     123!----------------------------------------------------------------------- 
     124&namberg       !   iceberg parameters                                   (default: No iceberg) 
     125!----------------------------------------------------------------------- 
     126   !  iceberg floats are not currently available with AGRIF 
     127   !     ===>>  forced deactivation in icbini.F90  
     128/ 
     129 
     130!!====================================================================== 
     131!!               ***  Lateral boundary condition  ***                 !! 
     132!!                                                                    !! 
     133!!   namlbc        lateral momentum boundary condition                  (no slip) 
     134!!   namagrif      agrif nested grid ( read by child model only )       ("key_agrif") 
     135!!   nam_tide      Tidal forcing                                        (default: NO) 
     136!!   nambdy        Unstructured open boundaries                         (default: NO) 
     137!!   nambdy_dta    Unstructured open boundaries - external data         (see  nambdy) 
     138!!   nambdy_tide   tidal forcing at open boundaries                     (default: NO) 
     139!!====================================================================== 
     140! 
    94141!----------------------------------------------------------------------- 
    95142&namlbc        !   lateral momentum boundary condition 
    96143!----------------------------------------------------------------------- 
    97 / 
    98 !----------------------------------------------------------------------- 
    99 &namdrg        !   top/bottom friction 
    100 !----------------------------------------------------------------------- 
    101    ln_non_lin = .true. 
     144   rn_shlat    =    2.     !  no slip 
    102145/ 
    103146!----------------------------------------------------------------------- 
     
    105148!----------------------------------------------------------------------- 
    106149   ln_spc_dyn    = .true.  !  use 0 as special value for dynamics 
    107    rn_sponge_tra = 480.   !  coefficient for tracer   sponge layer [m2/s] 
    108    rn_sponge_dyn = 480.   !  coefficient for dynamics sponge layer [m2/s] 
    109    ln_chk_bathy  = .FALSE. ! 
     150   rn_sponge_tra =  480.   !  coefficient for tracer   sponge layer [m2/s] 
     151   rn_sponge_dyn =  480.   !  coefficient for dynamics sponge layer [m2/s] 
     152   ln_chk_bathy  = .false. !  =T  check the parent bathymetry 
     153/ 
     154!----------------------------------------------------------------------- 
     155&namdrg        !   top/bottom drag coefficient                          (default: NO selection) 
     156!----------------------------------------------------------------------- 
     157   ln_non_lin = .false.    !  non-linear  drag: Cd = Cd0 |U| 
     158/ 
     159!----------------------------------------------------------------------- 
     160&namdrg_bot    !   BOTTOM friction                                   
     161!----------------------------------------------------------------------- 
    110162/ 
    111163!----------------------------------------------------------------------- 
     
    113165!----------------------------------------------------------------------- 
    114166   ln_trabbc   = .true.    !  Apply a geothermal heating at the ocean bottom 
     167      nn_geoflx   =    1      !  geothermal heat flux: = 2 read variable flux [mW/m2] 
    115168/ 
    116169!----------------------------------------------------------------------- 
     
    118171!----------------------------------------------------------------------- 
    119172   ln_trabbl   = .true.    !  Bottom Boundary Layer parameterisation flag 
    120 / 
    121 !----------------------------------------------------------------------- 
    122 &nameos        !   ocean physical parameters 
    123 !----------------------------------------------------------------------- 
    124    ln_teos10   = .true.         !  = Use TEOS-10 equation of state 
    125 / 
    126 !----------------------------------------------------------------------- 
    127 &namtra_adv    !   advection scheme for tracer                          (default: NO advection) 
     173      nn_bbl_ldf  =  1        !  diffusive bbl (=1)   or not (=0) 
     174      nn_bbl_adv  =  0        !  advective bbl (=1/2) or not (=0) 
     175      rn_ahtbbl   =  1000.    !  lateral mixing coefficient in the bbl  [m2/s] 
     176      rn_gambbl   =  10.      !  advective bbl coefficient                 [s] 
     177/ 
     178 
     179!!====================================================================== 
     180!!                        Tracer (T & S) namelists                    !! 
     181!!                                                                    !! 
     182!!   nameos           equation of state                                 (default: NO selection) 
     183!!   namtra_adv       advection scheme                                  (default: NO selection) 
     184!!   namtra_adv_mle   mixed layer eddy param. (Fox-Kemper param.)       (default: NO) 
     185!!   namtra_ldf       lateral diffusion scheme                          (default: NO selection) 
     186!!   namtra_eiv       eddy induced velocity param.                      (default: NO) 
     187!!   namtra_dmp       T & S newtonian damping                           (default: NO) 
     188!!====================================================================== 
     189! 
     190!----------------------------------------------------------------------- 
     191&nameos        !   ocean Equation Of Seawater                           (default: NO selection) 
     192!----------------------------------------------------------------------- 
     193   ln_eos80    = .true.          !  = Use EOS80 
     194/ 
     195!----------------------------------------------------------------------- 
     196&namtra_adv    !   advection scheme for tracer                          (default: NO selection) 
    128197!----------------------------------------------------------------------- 
    129198   ln_traadv_ubs = .true. !  UBS scheme 
     
    131200/ 
    132201!----------------------------------------------------------------------- 
    133 &namtra_adv_mle !   mixed layer eddy parametrisation (Fox-Kemper param) 
    134 !----------------------------------------------------------------------- 
    135 / 
    136 !---------------------------------------------------------------------------------- 
    137 &namtra_ldf    !   lateral diffusion scheme for tracers 
    138 !---------------------------------------------------------------------------------- 
    139    !                       !  Operator type: 
     202&namtra_adv_mle !   mixed layer eddy parametrisation (Fox-Kemper)       (default: NO) 
     203!----------------------------------------------------------------------- 
     204   ln_mle      = .true.   ! (T) use the Mixed Layer Eddy (MLE) parameterisation 
     205/ 
     206!----------------------------------------------------------------------- 
     207&namtra_ldf    !   lateral diffusion scheme for tracers                 (default: NO selection) 
     208!----------------------------------------------------------------------- 
    140209   ln_traldf_NONE  =  .true.  !           No operator (no explicit advection) 
    141210/ 
    142 !---------------------------------------------------------------------------------- 
    143 &namtra_ldfeiv !   eddy induced velocity param. 
    144 !---------------------------------------------------------------------------------- 
    145    ln_ldfeiv     =.false.   ! use eddy induced velocity parameterization 
     211!----------------------------------------------------------------------- 
     212&namtra_eiv    !   eddy induced velocity param.                         (default: NO) 
     213!----------------------------------------------------------------------- 
     214   !  not used in this zoom 
    146215/ 
    147216!----------------------------------------------------------------------- 
    148217&namtra_dmp    !   tracer: T & S newtonian damping                      (default: NO) 
    149218!----------------------------------------------------------------------- 
    150    ln_tradmp   =  .false.   !  add a damping termn (T) or not (F) 
    151 / 
    152 !----------------------------------------------------------------------- 
    153 &namdyn_adv    !   formulation of the momentum advection                (default: No selection) 
    154 !----------------------------------------------------------------------- 
    155    ln_dynadv_ubs = .true. !  flux form - 3rd order UBS      scheme 
    156 / 
    157 !----------------------------------------------------------------------- 
    158 &namdyn_vor    !   option of physics/algorithm (not control by CPP keys) 
    159 !----------------------------------------------------------------------- 
    160    ln_dynvor_ens = .true. !  energy conserving scheme 
    161 / 
    162 !----------------------------------------------------------------------- 
    163 &namdyn_hpg    !   Hydrostatic pressure gradient option 
    164 !----------------------------------------------------------------------- 
    165    ln_hpg_sco  = .true.   !  s-coordinate (standard jacobian formulation) 
    166 / 
    167 !----------------------------------------------------------------------- 
    168 &namdyn_spg    !   surface pressure gradient 
     219   !  not used in this zoom 
     220/ 
     221 
     222!!====================================================================== 
     223!!                      ***  Dynamics namelists  ***                  !! 
     224!!                                                                    !! 
     225!!   nam_vvl       vertical coordinate options                          (default: z-star) 
     226!!   namdyn_adv    formulation of the momentum advection                (default: NO selection) 
     227!!   namdyn_vor    advection scheme                                     (default: NO selection) 
     228!!   namdyn_hpg    hydrostatic pressure gradient                        (default: NO selection) 
     229!!   namdyn_spg    surface pressure gradient                            (default: NO selection) 
     230!!   namdyn_ldf    lateral diffusion scheme                             (default: NO selection) 
     231!!   namdta_dyn    offline TOP: dynamics read in files                  (OFF_SRC only) 
     232!!====================================================================== 
     233! 
     234!----------------------------------------------------------------------- 
     235&nam_vvl       !   vertical coordinate options                          (default: z-star) 
     236!----------------------------------------------------------------------- 
     237/ 
     238!----------------------------------------------------------------------- 
     239&namdyn_adv    !   formulation of the momentum advection                (default: NO selection) 
     240!----------------------------------------------------------------------- 
     241   ln_dynadv_ubs = .true.  !  flux form - 3rd order UBS      scheme 
     242/ 
     243!----------------------------------------------------------------------- 
     244&namdyn_vor    !   Vorticity / Coriolis scheme                          (default: NO selection) 
     245!----------------------------------------------------------------------- 
     246   ln_dynvor_ene = .true.  !  energy conserving scheme 
     247/ 
     248!----------------------------------------------------------------------- 
     249&namdyn_hpg    !   Hydrostatic pressure gradient option                 (default: NO selection) 
     250!----------------------------------------------------------------------- 
     251   ln_hpg_sco  = .true.    !  s-coordinate (standard jacobian formulation) 
     252/ 
     253!----------------------------------------------------------------------- 
     254&namdyn_spg    !   surface pressure gradient                            (default: NO selection) 
    169255!----------------------------------------------------------------------- 
    170256   ln_dynspg_ts  = .true.  !  split-explicit free surface 
    171257/ 
    172258!----------------------------------------------------------------------- 
    173 &namdyn_ldf    !   lateral diffusion on momentum 
     259&namdyn_ldf    !   lateral diffusion on momentum                        (default: NO selection) 
    174260!----------------------------------------------------------------------- 
    175261   ln_dynldf_NONE=  .true.    !  No operator (i.e. no explicit diffusion) 
    176262/ 
     263 
    177264!!====================================================================== 
    178265!!                     vertical physics namelists                     !! 
    179 !!====================================================================== 
     266!!                                                                    !! 
     267!!    namzdf        vertical physics manager                            (default: NO selection) 
     268!!    namzdf_ric    richardson number vertical mixing                   (ln_zdfric=T) 
     269!!    namzdf_tke    TKE vertical mixing                                 (ln_zdftke=T) 
     270!!    namzdf_gls    GLS vertical mixing                                 (ln_zdfgls=T) 
     271!!    namzdf_osm    OSM vertical diffusion                              (ln_zdfosm=T) 
     272!!    namzdf_iwm    tidal mixing parameterization                       (ln_zdfiwm=T) 
     273!!====================================================================== 
     274! 
    180275!----------------------------------------------------------------------- 
    181276&namzdf        !   vertical physics                                     (default: NO selection) 
    182277!----------------------------------------------------------------------- 
     278   !                       ! type of vertical closure 
    183279   ln_zdftke   = .true.       !  Turbulent Kinetic Energy closure       (T =>   fill namzdf_tke) 
     280   ! 
     281   !                       ! convection 
    184282   ln_zdfevd   = .true.       !  Enhanced Vertical Diffusion scheme 
     283      nn_evdm  =    0            !  evd apply on tracer (=0) or on tracer and momentum (=1) 
     284      rn_evd   =  100.           !  evd mixing coefficient [m2/s] 
     285   ! 
    185286   ln_zdfddm   = .true.    ! double diffusive mixing 
     287      rn_avts  =    1.e-4     !  maximum avs (vertical mixing on salinity) 
     288      rn_hsbfr =    1.6       !  heat/salt buoyancy flux ratio 
     289   ! 
     290   !                       !  Coefficients 
     291   rn_avm0     =   1.2e-4     !  vertical eddy viscosity   [m2/s]       (background Kz if ln_zdfcst=F) 
     292   rn_avt0     =   1.2e-5     !  vertical eddy diffusivity [m2/s]       (background Kz if ln_zdfcst=F) 
     293   nn_avb      =    0         !  profile for background avt & avm (=1) or not (=0) 
    186294   nn_havtb    =    1         !  horizontal shape for avtb (=1) or not (=0) 
    187295/ 
    188296!----------------------------------------------------------------------- 
    189 &namzdf_tke    !   turbulent eddy kinetic dependent vertical diffusion  
    190 !----------------------------------------------------------------------- 
    191 / 
    192 !----------------------------------------------------------------------- 
    193 &namzdf_iwm    !   tidal mixing parameterization                        (ln_zdfiwm =T) 
    194 !----------------------------------------------------------------------- 
    195 / 
    196 !----------------------------------------------------------------------- 
    197 &nammpp        !   Massively Parallel Processing                        ("key_mpp_mpi) 
    198 !----------------------------------------------------------------------- 
    199 / 
    200 !----------------------------------------------------------------------- 
    201 &namctl        !   Control prints & Benchmark 
    202 !----------------------------------------------------------------------- 
    203 / 
    204 !----------------------------------------------------------------------- 
    205 &namptr       !   Poleward Transport Diagnostic 
    206 !----------------------------------------------------------------------- 
    207 / 
    208 !----------------------------------------------------------------------- 
    209 &namhsb       !  Heat and salt budgets                                  (default F) 
    210 !----------------------------------------------------------------------- 
    211 / 
    212 !----------------------------------------------------------------------- 
    213 &namobs       !  observation usage                                      ('key_diaobs') 
    214 !----------------------------------------------------------------------- 
    215 / 
    216 !----------------------------------------------------------------------- 
    217 &nam_asminc   !   assimilation increments                               ('key_asminc') 
    218 !----------------------------------------------------------------------- 
    219 / 
     297&namzdf_tke    !   turbulent eddy kinetic dependent vertical diffusion  (ln_zdftke =T) 
     298!----------------------------------------------------------------------- 
     299/ 
     300 
     301!!====================================================================== 
     302!!                  ***  Diagnostics namelists  ***                   !! 
     303!!                                                                    !! 
     304!!   namtrd       dynamics and/or tracer trends                         (default NO) 
     305!!   namptr       Poleward Transport Diagnostics                        (default NO) 
     306!!   namhsb       Heat and salt budgets                                 (default NO) 
     307!!   namdiu       Cool skin and warm layer models                       (default NO) 
     308!!   namdiu       Cool skin and warm layer models                       (default NO) 
     309!!   namflo       float parameters                                      ("key_float") 
     310!!   nam_diaharm  Harmonic analysis of tidal constituents               ("key_diaharm") 
     311!!   namdct       transports through some sections                      ("key_diadct") 
     312!!   nam_diatmb   Top Middle Bottom Output                              (default NO) 
     313!!   nam_dia25h   25h Mean Output                                       (default NO) 
     314!!   namnc4       netcdf4 chunking and compression settings             ("key_netcdf4") 
     315!!====================================================================== 
     316! 
     317 
     318!!====================================================================== 
     319!!               ***  Observation & Assimilation  ***                 !! 
     320!!                                                                    !! 
     321!!   namobs       observation and model comparison                      (default: NO) 
     322!!   nam_asminc   assimilation increments                               ('key_asminc') 
     323!!====================================================================== 
     324! 
  • branches/2017/dev_merge_2017/NEMOGCM/CONFIG/AGRIF_NORDIC/EXP00/namelist_cfg

    r9484 r9490  
    11!!>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
    2 !! NEMO/OPA  Configuration namelist : used to overwrite defaults values defined in SHARED/namelist_ref 
     2!! NEMO/OPA  Configuration namelist : overwrite some defaults values defined in SHARED/namelist_ref 
    33!!>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
     4!                       ORCA2 - IC3 configuration                      ! 
     5 
     6!!====================================================================== 
     7!!              ***  Domain & Run management namelists  ***           !! 
     8!!                                                                    !! 
     9!!   namrun       parameters of the run 
     10!!   namdom       space and time domain 
     11!!   namcfg       parameters of the configuration                       (default: user defined GYRE) 
     12!!   namwad       Wetting and drying                                    (default NO) 
     13!!   namtsd       data: temperature & salinity                          (default NO) 
     14!!   namcrs       coarsened grid (for outputs and/or TOP)               (ln_crs =T) 
     15!!====================================================================== 
     16! 
    417!----------------------------------------------------------------------- 
    518&namrun        !   parameters of the run 
    619!----------------------------------------------------------------------- 
    7    nn_no       =       0    !  job number (no more used...) 
    8    cn_exp      =  "Nordic"  !  experience name 
    9    nn_it000    =     1      !  first time step 
    10    nn_itend    =    20      !  last  time step (std 5475) 
    11 / 
    12 !----------------------------------------------------------------------- 
    13 &namcfg     !   parameters of the configuration 
     20   cn_exp      =  "ORCA2"  !  experience name 
     21   nn_it000    =       1   !  first time step 
     22   nn_itend    =    10   !  last  time step (std 5475) 
     23   nn_istate   =       1   !  output the initial state (1) or not (0) 
     24/ 
     25!----------------------------------------------------------------------- 
     26&namdom        !   time and space domain 
     27!----------------------------------------------------------------------- 
     28   ln_linssh   = .false.   !  =T  linear free surface  ==>>  model level are fixed in time 
     29   ! 
     30   rn_rdt      = 5760.     !  time step for the dynamics and tracer 
     31/ 
     32!----------------------------------------------------------------------- 
     33&namcfg        !   parameters of the configuration                      (default: user defined GYRE) 
    1434!----------------------------------------------------------------------- 
    1535   ln_read_cfg = .true.    !  (=T) read the domain configuration file 
    16       !                    !  (=F) user defined configuration  ==>>>  see usrdef(_...) modules 
    1736      cn_domcfg = "ORCA_R2_zps_domcfg"    ! domain configuration filename 
    18       !                    !  (=F) user defined configuration  ==>>>  see usrdef(_...) modules 
    19 / 
    20 !----------------------------------------------------------------------- 
    21 &namdom        !   space and time domain (bathymetry, mesh, timestep) 
    22 !----------------------------------------------------------------------- 
    23    ln_linssh   = .false.   !  =T  linear free surface  ==>>  model level are fixed in time 
    24 / 
    25 !----------------------------------------------------------------------- 
    26 &namcrs        !   coarsened grid (for outputs and/or TOP)              (ln_crs =T) 
    27 !----------------------------------------------------------------------- 
    28 / 
    29 !----------------------------------------------------------------------- 
    30 &namtsd        !   data : Temperature  & Salinity 
    31 !----------------------------------------------------------------------- 
    32 / 
     37      ! 
     38      ln_closea    = .false.    !  F => suppress closed seas (defined by closea_mask field)  
     39      !                         !       from the bathymetry at runtime. 
     40/ 
     41!----------------------------------------------------------------------- 
     42&namtsd        !    Temperature & Salinity Data                         (default: NO) 
     43!----------------------------------------------------------------------- 
     44   !                       ! =T  read T-S fields for: 
     45   ln_tsd_init = .true.          !  ocean initialisation 
     46   ln_tsd_dmp  = .true.          !  T-S restoring   (see namtra_dmp) 
     47 
     48   cn_dir = './'     !  root directory for the T-S data location 
     49   !___________!_________________________!___________________!___________!_____________!________!___________!__________________!__________!_______________! 
     50   !           !  file name              ! frequency (hours) ! variable  ! time interp.!  clim  ! 'yearly'/ ! weights filename ! rotation ! land/sea mask ! 
     51   !           !                         !  (if <0  months)  !   name    !   (logical) !  (T/F) ! 'monthly' !                  ! pairing  !    filename   ! 
     52   sn_tem = 'data_1m_potential_temperature_nomask',     -1      ,'votemper',   .true.    , .true. , 'yearly'  ,    ''    ,    ''    ,    '' 
     53   sn_sal = 'data_1m_salinity_nomask'             ,     -1      ,'vosaline',   .true.    , .true. , 'yearly'  ,    ''    ,    ''    ,    '' 
     54/ 
     55 
     56!!====================================================================== 
     57!!            ***  Surface Boundary Condition namelists  ***          !! 
     58!!                                                                    !! 
     59!!   namsbc          surface boundary condition manager                 (default: NO selection) 
     60!!   namsbc_flx      flux               formulation                     (ln_flx     =T) 
     61!!   namsbc_blk      Bulk formulae formulation                          (ln_blk     =T) 
     62!!   namsbc_cpl      CouPLed            formulation                     ("key_oasis3" ) 
     63!!   namsbc_sas      Stand-Alone Surface module                         (SAS_SRC  only) 
     64!!   namtra_qsr      penetrative solar radiation                        (ln_traqsr  =T) 
     65!!   namsbc_rnf      river runoffs                                      (ln_rnf     =T) 
     66!!   namsbc_isf      ice shelf melting/freezing                         (ln_isfcav  =T : read (ln_read_cfg=T) or set or usr_def_zgr ) 
     67!!   namsbc_iscpl    coupling option between land ice model and ocean   (ln_isfcav  =T) 
     68!!   namsbc_apr      Atmospheric Pressure                               (ln_apr_dyn =T) 
     69!!   namsbc_ssr      sea surface restoring term (for T and/or S)        (ln_ssr     =T) 
     70!!   namsbc_wave     external fields from wave model                    (ln_wave    =T) 
     71!!   namberg         iceberg floats                                     (ln_icebergs=T) 
     72!!====================================================================== 
     73! 
    3374!----------------------------------------------------------------------- 
    3475&namsbc        !   Surface Boundary Condition (surface module) 
    3576!----------------------------------------------------------------------- 
    36    nn_fsbc     = 1         !  frequency of surface boundary condition computation 
     77   nn_fsbc     = 1         !  frequency of SBC module call 
     78                           !     (also = the frequency of sea-ice & iceberg model call) 
     79                     ! Type of air-sea fluxes  
    3780   ln_blk      = .true.    !  Bulk formulation                          (T => fill namsbc_blk ) 
     81                     ! Sea-ice : 
     82   nn_ice      = 2         !  =2 or 3 automatically for LIM3 or CICE    ("key_lim3" or "key_cice") 
     83                           !          except in AGRIF zoom where it has to be specified 
     84                     ! Misc. options of sbc :  
     85   ln_traqsr   = .true.    !  Light penetration in the ocean            (T => fill namtra_qsr) 
     86   ln_rnf      = .true.    !  runoffs                                   (T => fill namsbc_rnf) 
     87   ln_ssr      = .true.    !  Sea Surface Restoring on T and/or S       (T => fill namsbc_ssr) 
    3888   nn_fwb      = 0         !  FreshWater Budget: =0 unchecked 
    3989/ 
    4090!----------------------------------------------------------------------- 
    41 &namsbc_blk    !   namsbc_blk  Bulk formulae 
    42 !----------------------------------------------------------------------- 
    43    ln_NCAR     = .true.   ! "NCAR"      algorithm   (Large and Yeager 2008) 
    44 / 
    45 !----------------------------------------------------------------------- 
    46 &namtra_qsr    !   penetrative solar radiation 
    47 !----------------------------------------------------------------------- 
    48    nn_chldta   =      0    !  RGB : Chl data (=1) or cst value (=0) 
    49 / 
    50 !----------------------------------------------------------------------- 
    51 &namsbc_cpl    ! 
    52 !----------------------------------------------------------------------- 
    53 / 
    54 !----------------------------------------------------------------------- 
    55 &namsbc_rnf    !   runoffs namelist surface boundary condition 
    56 !----------------------------------------------------------------------- 
    57 / 
    58 !----------------------------------------------------------------------- 
    59 &namsbc_ssr    !   surface boundary condition : sea surface restoring 
    60 !----------------------------------------------------------------------- 
    61 / 
    62 !----------------------------------------------------------------------- 
    63 &namsbc_alb    !   albedo parameters 
    64 !----------------------------------------------------------------------- 
    65 / 
    66 !----------------------------------------------------------------------- 
    67 &namberg       !   iceberg parameters 
    68 !----------------------------------------------------------------------- 
    69       ln_icebergs              = .false.               ! iceberg floats or not 
    70 / 
     91&namsbc_blk   !   namsbc_blk  generic Bulk formula                      (ln_blk =T) 
     92!----------------------------------------------------------------------- 
     93   !                    !  bulk algorithm : 
     94   ln_NCAR    = .true.     ! "NCAR"      algorithm   (Large and Yeager 2008) 
     95 
     96   cn_dir = './'  !  root directory for the bulk data location 
     97   !___________!_________________________!___________________!___________!_____________!________!___________!______________________________________!__________!_______________! 
     98   !           !  file name              ! frequency (hours) ! variable  ! time interp.!  clim  ! 'yearly'/ !          weights filename            ! rotation ! land/sea mask ! 
     99   !           !                         !  (if <0  months)  !   name    !   (logical) !  (T/F) ! 'monthly' !                                      ! pairing  !    filename   ! 
     100   sn_wndi     = 'u_10.15JUNE2009_fill'       ,    6         , 'U_10_MOD',   .false.   , .true. , 'yearly'  , 'weights_core_orca2_bicubic_noc.nc'  , 'Uwnd'   , '' 
     101   sn_wndj     = 'v_10.15JUNE2009_fill'       ,    6         , 'V_10_MOD',   .false.   , .true. , 'yearly'  , 'weights_core_orca2_bicubic_noc.nc'  , 'Vwnd'   , '' 
     102   sn_qsr      = 'ncar_rad.15JUNE2009_fill'   ,   24         , 'SWDN_MOD',   .false.   , .true. , 'yearly'  , 'weights_core_orca2_bilinear_noc.nc' , ''       , '' 
     103   sn_qlw      = 'ncar_rad.15JUNE2009_fill'   ,   24         , 'LWDN_MOD',   .false.   , .true. , 'yearly'  , 'weights_core_orca2_bilinear_noc.nc' , ''       , '' 
     104   sn_tair     = 't_10.15JUNE2009_fill'       ,    6         , 'T_10_MOD',   .false.   , .true. , 'yearly'  , 'weights_core_orca2_bilinear_noc.nc' , ''       , '' 
     105   sn_humi     = 'q_10.15JUNE2009_fill'       ,    6         , 'Q_10_MOD',   .false.   , .true. , 'yearly'  , 'weights_core_orca2_bilinear_noc.nc' , ''       , '' 
     106   sn_prec     = 'ncar_precip.15JUNE2009_fill',   -1         , 'PRC_MOD1',   .false.   , .true. , 'yearly'  , 'weights_core_orca2_bilinear_noc.nc' , ''       , '' 
     107   sn_snow     = 'ncar_precip.15JUNE2009_fill',   -1         , 'SNOW'    ,   .false.   , .true. , 'yearly'  , 'weights_core_orca2_bilinear_noc.nc' , ''       , '' 
     108   sn_slp      = 'slp.15JUNE2009_fill'        ,    6         , 'SLP'     ,   .false.   , .true. , 'yearly'  , 'weights_core_orca2_bilinear_noc.nc' , ''       , '' 
     109   sn_tdif     = 'taudif_core'                ,   24         , 'taudif'  ,   .false.   , .true. , 'yearly'  , 'weights_core_orca2_bilinear_noc.nc' , ''       , '' 
     110/ 
     111!----------------------------------------------------------------------- 
     112&namtra_qsr    !   penetrative solar radiation                          (ln_traqsr =T) 
     113!----------------------------------------------------------------------- 
     114   !                       ! type of penetration                        (default: NO selection) 
     115   ln_qsr_rgb  = .true.       !  RGB light penetration (Red-Green-Blue) 
     116   ! 
     117   nn_chldta   =      0       !  RGB : Chl data (=1) or cst value (=0) 
     118 
     119   cn_dir = './'  !  root directory for the chlorophyl data location 
     120   !___________!_________________________!___________________!___________!_____________!________!___________!__________________!__________!_______________! 
     121   !           !  file name              ! frequency (hours) ! variable  ! time interp.!  clim  ! 'yearly'/ ! weights filename ! rotation ! land/sea mask ! 
     122   !           !                         !  (if <0  months)  !   name    !   (logical) !  (T/F) ! 'monthly' !                  ! pairing  !    filename   ! 
     123   sn_chl      ='chlorophyll'            ,        -1         , 'CHLA'    ,   .true.    , .true. , 'yearly'  , ''               , ''       , '' 
     124/ 
     125!----------------------------------------------------------------------- 
     126&namsbc_rnf    !   runoffs                                              (ln_rnf =T) 
     127!----------------------------------------------------------------------- 
     128   ln_rnf_mouth= .true.    !  specific treatment at rivers mouths 
     129      rn_hrnf     =  15.e0    !  depth over which enhanced vertical mixing is used    (ln_rnf_mouth=T) 
     130      rn_avt_rnf  =   1.e-3   !  value of the additional vertical mixing coef. [m2/s] (ln_rnf_mouth=T) 
     131 
     132   cn_dir = './'  !  root directory for the location of the runoff files 
     133   !___________!_____________!___________________!___________!_____________!_________!___________!__________!__________!_______________! 
     134   !           !  file name  ! frequency (hours) ! variable  ! time interp. !  clim  ! 'yearly'/ ! weights  ! rotation ! land/sea mask ! 
     135   !           !             !  (if <0  months)  !   name    !   (logical)  !  (T/F) ! 'monthly' ! filename ! pairing  ! filename      ! 
     136   sn_rnf      = 'runoff_core_monthly',    -1    , 'sorunoff',   .true.     , .true. , 'yearly'  , ''       , ''       , '' 
     137   sn_cnf      = 'runoff_core_monthly',     0    , 'socoefr0',   .false.    , .true. , 'yearly'  , ''       , ''       , '' 
     138   sn_s_rnf    = 'runoffs'            ,    24    , 'rosaline',   .true.     , .true. , 'yearly'  , ''       , ''       , '' 
     139   sn_t_rnf    = 'runoffs'            ,    24    , 'rotemper',   .true.     , .true. , 'yearly'  , ''       , ''       , '' 
     140   sn_dep_rnf  = 'runoffs'            ,     0    , 'rodepth' ,   .false.    , .true. , 'yearly'  , ''       , ''       , '' 
     141/ 
     142!----------------------------------------------------------------------- 
     143&namsbc_ssr    !   surface boundary condition : sea surface restoring   (ln_ssr =T) 
     144!----------------------------------------------------------------------- 
     145   nn_sssr     =     2     !  add a damping term to the surface freshwater flux 
     146      rn_deds     =  -166.67  !  magnitude of the damping on salinity   [mm/day] 
     147      ln_sssr_bnd =  .true.   !  flag to bound erp term (associated with nn_sssr=2) 
     148      rn_sssr_bnd =   4.e0    !  ABS(Max/Min) value of the damping erp term [mm/day] 
     149/ 
     150!----------------------------------------------------------------------- 
     151&namberg       !   iceberg parameters                                   (default: No iceberg) 
     152!----------------------------------------------------------------------- 
     153   ln_icebergs = .true.    ! activate iceberg floats (force =F with "key_agrif") 
     154 
     155   cn_dir = './'  !  root directory for the location of drag coefficient files 
     156   !______!___________!___________________!______________!______________!_________!___________!__________!__________!_______________! 
     157   !      ! file name ! frequency (hours) !   variable   ! time interp. !  clim   ! 'yearly'/ ! weights  ! rotation ! land/sea mask ! 
     158   !      !           !  (if <0  months)  !     name     !   (logical)  !  (T/F ) ! 'monthly' ! filename ! pairing  ! filename      ! 
     159   sn_icb =  'calving',       -1          , 'calving'    ,   .true.     , .true.  , 'yearly'  , ''       , ''       , '' 
     160/ 
     161 
     162!!====================================================================== 
     163!!               ***  Lateral boundary condition  ***                 !! 
     164!!                                                                    !! 
     165!!   namlbc        lateral momentum boundary condition                  (no slip) 
     166!!   namagrif      agrif nested grid ( read by child model only )       ("key_agrif") 
     167!!   nam_tide      Tidal forcing                                        (default: NO) 
     168!!   nambdy        Unstructured open boundaries                         (default: NO) 
     169!!   nambdy_dta    Unstructured open boundaries - external data         (see  nambdy) 
     170!!   nambdy_tide   tidal forcing at open boundaries                     (default: NO) 
     171!!====================================================================== 
     172! 
    71173!----------------------------------------------------------------------- 
    72174&namlbc        !   lateral momentum boundary condition 
    73175!----------------------------------------------------------------------- 
    74 / 
    75 !----------------------------------------------------------------------- 
    76 &namdrg        !   top/bottom friction 
    77 !----------------------------------------------------------------------- 
    78    ln_non_lin = .true. 
     176   rn_shlat    =    2.     !  no slip 
    79177/ 
    80178!----------------------------------------------------------------------- 
    81179&namagrif      !  AGRIF zoom                                            ("key_agrif") 
    82180!----------------------------------------------------------------------- 
     181   ln_spc_dyn    = .true.  !  use 0 as special value for dynamics 
     182   rn_sponge_tra = 2880.   !  coefficient for tracer   sponge layer [m2/s] 
     183   rn_sponge_dyn = 2880.   !  coefficient for dynamics sponge layer [m2/s] 
     184   ln_chk_bathy  = .false. !  =T  check the parent bathymetry 
     185/ 
     186!----------------------------------------------------------------------- 
     187&namdrg        !   top/bottom drag coefficient                          (default: NO selection) 
     188!----------------------------------------------------------------------- 
     189   ln_non_lin = .true.     !  non-linear  drag: Cd = Cd0 |U| 
     190/ 
     191!----------------------------------------------------------------------- 
     192&namdrg_bot    !   BOTTOM friction                                   
     193!----------------------------------------------------------------------- 
    83194/ 
    84195!----------------------------------------------------------------------- 
     
    86197!----------------------------------------------------------------------- 
    87198   ln_trabbc   = .true.    !  Apply a geothermal heating at the ocean bottom 
     199      nn_geoflx   =    2      !  geothermal heat flux: = 2 read variable flux [mW/m2] 
     200 
     201   cn_dir = './'  !  root directory for the geothermal data location 
     202   !___________!_________________________!___________________!___________!_____________!________!___________!__________________!__________!_______________! 
     203   !           !  file name              ! frequency (hours) ! variable  ! time interp.!  clim  ! 'yearly'/ ! weights filename ! rotation ! land/sea mask ! 
     204   !           !                         !  (if <0  months)  !   name    !   (logical) !  (T/F) ! 'monthly' !                  ! pairing  !    filename   ! 
     205   sn_qgh      ='geothermal_heating.nc'  ,       -12.        , 'heatflow',   .false.   , .true. , 'yearly'  ,   ''             ,   ''     ,   '' 
    88206/ 
    89207!----------------------------------------------------------------------- 
     
    91209!----------------------------------------------------------------------- 
    92210   ln_trabbl   = .true.    !  Bottom Boundary Layer parameterisation flag 
    93 / 
    94 !----------------------------------------------------------------------- 
    95 &nameos        !   ocean physical parameters 
    96 !----------------------------------------------------------------------- 
    97    ln_teos10   = .true.         !  = Use TEOS-10 equation of state 
    98 / 
    99 !----------------------------------------------------------------------- 
    100 &namtra_adv    !   advection scheme for tracer                          (default: NO advection) 
     211      nn_bbl_ldf  =  1        !  diffusive bbl (=1)   or not (=0) 
     212      nn_bbl_adv  =  0        !  advective bbl (=1/2) or not (=0) 
     213      rn_ahtbbl   =  1000.    !  lateral mixing coefficient in the bbl  [m2/s] 
     214      rn_gambbl   =  10.      !  advective bbl coefficient                 [s] 
     215/ 
     216 
     217!!====================================================================== 
     218!!                        Tracer (T & S) namelists                    !! 
     219!!                                                                    !! 
     220!!   nameos           equation of state                                 (default: NO selection) 
     221!!   namtra_adv       advection scheme                                  (default: NO selection) 
     222!!   namtra_adv_mle   mixed layer eddy param. (Fox-Kemper param.)       (default: NO) 
     223!!   namtra_ldf       lateral diffusion scheme                          (default: NO selection) 
     224!!   namtra_eiv       eddy induced velocity param.                      (default: NO) 
     225!!   namtra_dmp       T & S newtonian damping                           (default: NO) 
     226!!====================================================================== 
     227! 
     228!----------------------------------------------------------------------- 
     229&nameos        !   ocean Equation Of Seawater                           (default: NO selection) 
     230!----------------------------------------------------------------------- 
     231   ln_eos80    = .true.          !  = Use EOS80 
     232/ 
     233!----------------------------------------------------------------------- 
     234&namtra_adv    !   advection scheme for tracer                          (default: NO selection) 
    101235!----------------------------------------------------------------------- 
    102236   ln_traadv_fct = .true.     !  FCT scheme 
     
    105239/ 
    106240!----------------------------------------------------------------------- 
    107 &namtra_adv_mle !   mixed layer eddy parametrisation (Fox-Kemper param) 
     241&namtra_adv_mle !   mixed layer eddy parametrisation (Fox-Kemper)       (default: NO) 
    108242!----------------------------------------------------------------------- 
    109243   ln_mle      = .true.   ! (T) use the Mixed Layer Eddy (MLE) parameterisation 
    110244/ 
    111 !---------------------------------------------------------------------------------- 
    112 &namtra_ldf    !   lateral diffusion scheme for tracers 
    113 !---------------------------------------------------------------------------------- 
     245!----------------------------------------------------------------------- 
     246&namtra_ldf    !   lateral diffusion scheme for tracers                 (default: NO selection) 
     247!----------------------------------------------------------------------- 
     248   !                       !  Operator type: 
    114249   ln_traldf_lap   =  .true.   !    laplacian operator 
     250   !                       !  Direction of action: 
    115251   ln_traldf_iso   =  .true.   !  iso-neutral (Standard operator) 
    116    ln_traldf_msc   =  .true.   !  Method of Stabilizing Correction (both operators) 
     252   !                       !  Coefficients: 
    117253   nn_aht_ijk_t    = 20        !  space/time variation of eddy coef 
    118 / 
    119 !---------------------------------------------------------------------------------- 
    120 &namtra_ldfeiv !   eddy induced velocity param. 
    121 !---------------------------------------------------------------------------------- 
     254      !                             !   = 20     aht = 1/2  Ud. max(e1,e2) 
     255      rn_Ud        = 0.018          !  lateral diffusive velocity [m/s] (nn_aht_ijk_t= 0, 10, 20, 30) 
     256      rn_Ld        = 200.e+3        !  lateral diffusive length   [m]   (nn_aht_ijk_t= 0, 10) 
     257/ 
     258!----------------------------------------------------------------------- 
     259&namtra_eiv !   eddy induced velocity param.                            (default: NO) 
     260!----------------------------------------------------------------------- 
    122261   ln_ldfeiv     =.true.   ! use eddy induced velocity parameterization 
    123    ln_ldfeiv_dia =.true.   ! diagnose eiv stream function and velocities 
     262      !                        !  Coefficients: 
     263      nn_aei_ijk_t  = 21          ! space/time variation of the eiv coeficient 
     264      !                                !   = 21 F(i,j,t)  =Treguier et al. JPO 1997 formulation 
     265      !                           !  time invariant coefficients:  aei0 = 1/2  Ue*Le  
     266      rn_Ue        = 0.03              !  lateral diffusive velocity [m/s] (nn_aht_ijk_t= 0, 10, 20, 30) 
     267      rn_Le        = 200.e+3           !  lateral diffusive length   [m]   (nn_aht_ijk_t= 0, 10) 
     268      ! 
     269      ln_ldfeiv_dia =.true.   ! diagnose eiv stream function and velocities 
    124270/ 
    125271!----------------------------------------------------------------------- 
    126272&namtra_dmp    !   tracer: T & S newtonian damping                      (default: NO) 
    127273!----------------------------------------------------------------------- 
    128 / 
    129 !----------------------------------------------------------------------- 
    130 &namdyn_adv    !   formulation of the momentum advection                (default: No selection) 
     274   ln_tradmp   =  .true.   !  add a damping term (using resto.nc coef.) 
     275      nn_zdmp  =    0         !  vertical shape =0    damping throughout the water column 
     276/ 
     277 
     278!!====================================================================== 
     279!!                      ***  Dynamics namelists  ***                  !! 
     280!!                                                                    !! 
     281!!   nam_vvl       vertical coordinate options                          (default: z-star) 
     282!!   namdyn_adv    formulation of the momentum advection                (default: NO selection) 
     283!!   namdyn_vor    advection scheme                                     (default: NO selection) 
     284!!   namdyn_hpg    hydrostatic pressure gradient                        (default: NO selection) 
     285!!   namdyn_spg    surface pressure gradient                            (default: NO selection) 
     286!!   namdyn_ldf    lateral diffusion scheme                             (default: NO selection) 
     287!!   namdta_dyn    offline TOP: dynamics read in files                  (OFF_SRC only) 
     288!!====================================================================== 
     289! 
     290!----------------------------------------------------------------------- 
     291&nam_vvl       !   vertical coordinate options                          (default: z-star) 
     292!----------------------------------------------------------------------- 
     293/ 
     294!----------------------------------------------------------------------- 
     295&namdyn_adv    !   formulation of the momentum advection                (default: NO selection) 
    131296!----------------------------------------------------------------------- 
    132297   ln_dynadv_vec = .true.  !  vector form - 2nd centered scheme 
    133 / 
    134 !----------------------------------------------------------------------- 
    135 &namdyn_vor    !   option of physics/algorithm (not control by CPP keys) 
     298     nn_dynkeg     = 0        ! grad(KE) scheme: =0   C2  ;  =1   Hollingsworth correction 
     299/ 
     300!----------------------------------------------------------------------- 
     301&namdyn_vor    !   Vorticity / Coriolis scheme                          (default: NO selection) 
    136302!----------------------------------------------------------------------- 
    137303   ln_dynvor_een = .true.  !  energy & enstrophy scheme 
    138       nn_een_e3f = 0             !  e3f = masked averaging of e3t divided by 4 (=0) or by the sum of mask (=1) 
    139 / 
    140 !----------------------------------------------------------------------- 
    141 &namdyn_hpg    !   Hydrostatic pressure gradient option 
     304      nn_een_e3f = 0          ! =0   e3f = mean masked e3t divided by 4 
     305/ 
     306!----------------------------------------------------------------------- 
     307&namdyn_hpg    !   Hydrostatic pressure gradient option                 (default: NO selection) 
    142308!----------------------------------------------------------------------- 
    143309   ln_hpg_sco  = .true.   !  s-coordinate (standard jacobian formulation) 
    144310/ 
    145311!----------------------------------------------------------------------- 
    146 &namdyn_spg    !   surface pressure gradient 
     312&namdyn_spg    !   surface pressure gradient                            (default: NO selection) 
    147313!----------------------------------------------------------------------- 
    148314   ln_dynspg_ts  = .true.  !  split-explicit free surface 
    149315/ 
    150316!----------------------------------------------------------------------- 
    151 &namdyn_ldf    !   lateral diffusion on momentum 
    152 !----------------------------------------------------------------------- 
     317&namdyn_ldf    !   lateral diffusion on momentum                        (default: NO selection) 
     318!----------------------------------------------------------------------- 
     319   !                       !  Type of the operator : 
    153320   ln_dynldf_lap =  .true.     !    laplacian operator 
     321   !                       !  Direction of action  : 
    154322   ln_dynldf_lev =  .true.     !  iso-level 
     323   !                       !  Coefficient 
    155324   nn_ahm_ijk_t  = -30         !  space/time variation of eddy coef 
    156 / 
     325   !                                !  =-30  read in eddy_viscosity_3D.nc 
     326/ 
     327 
    157328!!====================================================================== 
    158329!!                     vertical physics namelists                     !! 
    159 !!====================================================================== 
     330!!                                                                    !! 
     331!!    namzdf        vertical physics manager                            (default: NO selection) 
     332!!    namzdf_ric    richardson number vertical mixing                   (ln_zdfric=T) 
     333!!    namzdf_tke    TKE vertical mixing                                 (ln_zdftke=T) 
     334!!    namzdf_gls    GLS vertical mixing                                 (ln_zdfgls=T) 
     335!!    namzdf_osm    OSM vertical diffusion                              (ln_zdfosm=T) 
     336!!    namzdf_iwm    tidal mixing parameterization                       (ln_zdfiwm=T) 
     337!!====================================================================== 
     338! 
    160339!----------------------------------------------------------------------- 
    161340&namzdf        !   vertical physics                                     (default: NO selection) 
    162341!----------------------------------------------------------------------- 
     342   !                       ! type of vertical closure 
    163343   ln_zdftke   = .true.       !  Turbulent Kinetic Energy closure       (T =>   fill namzdf_tke) 
     344   ! 
     345   !                       ! convection 
    164346   ln_zdfevd   = .true.       !  Enhanced Vertical Diffusion scheme 
    165    ln_zdfddm   = .true.    ! double diffusive mixing 
     347      nn_evdm  =    0            !  evd apply on tracer (=0) or on tracer and momentum (=1) 
     348      rn_evd   =  100.           !  evd mixing coefficient [m2/s] 
     349   ! 
     350   !                       !  Coefficients 
     351   rn_avm0     =   1.2e-4     !  vertical eddy viscosity   [m2/s]       (background Kz if ln_zdfcst=F) 
     352   rn_avt0     =   1.2e-5     !  vertical eddy diffusivity [m2/s]       (background Kz if ln_zdfcst=F) 
     353   nn_avb      =    0         !  profile for background avt & avm (=1) or not (=0) 
    166354   nn_havtb    =    1         !  horizontal shape for avtb (=1) or not (=0) 
    167355/ 
    168356!----------------------------------------------------------------------- 
    169 &namzdf_tke    !   turbulent eddy kinetic dependent vertical diffusion  
    170 !----------------------------------------------------------------------- 
    171 / 
    172 !----------------------------------------------------------------------- 
    173 &namzdf_iwm    !   tidal mixing parameterization                        (ln_zdfiwm =T) 
    174 !----------------------------------------------------------------------- 
    175 / 
    176 !----------------------------------------------------------------------- 
    177 &nammpp        !   Massively Parallel Processing                        ("key_mpp_mpi) 
    178 !----------------------------------------------------------------------- 
    179 / 
    180 !----------------------------------------------------------------------- 
    181 &namctl        !   Control prints & Benchmark 
    182 !----------------------------------------------------------------------- 
    183 / 
    184 !----------------------------------------------------------------------- 
    185 &namptr       !   Poleward Transport Diagnostic 
    186 !----------------------------------------------------------------------- 
    187 / 
    188 !----------------------------------------------------------------------- 
    189 &namhsb       !  Heat and salt budgets                                  (default F) 
    190 !----------------------------------------------------------------------- 
    191 / 
    192 !----------------------------------------------------------------------- 
    193 &namobs       !  observation usage                                      ('key_diaobs') 
    194 !----------------------------------------------------------------------- 
    195 / 
    196 !----------------------------------------------------------------------- 
    197 &nam_asminc   !   assimilation increments                               ('key_asminc') 
    198 !----------------------------------------------------------------------- 
    199 / 
     357&namzdf_tke    !   turbulent eddy kinetic dependent vertical diffusion  (ln_zdftke =T) 
     358!----------------------------------------------------------------------- 
     359/ 
     360 
     361!!====================================================================== 
     362!!                  ***  Diagnostics namelists  ***                   !! 
     363!!                                                                    !! 
     364!!   namtrd       dynamics and/or tracer trends                         (default NO) 
     365!!   namptr       Poleward Transport Diagnostics                        (default NO) 
     366!!   namhsb       Heat and salt budgets                                 (default NO) 
     367!!   namdiu       Cool skin and warm layer models                       (default NO) 
     368!!   namdiu       Cool skin and warm layer models                       (default NO) 
     369!!   namflo       float parameters                                      ("key_float") 
     370!!   nam_diaharm  Harmonic analysis of tidal constituents               ("key_diaharm") 
     371!!   namdct       transports through some sections                      ("key_diadct") 
     372!!   nam_diatmb   Top Middle Bottom Output                              (default NO) 
     373!!   nam_dia25h   25h Mean Output                                       (default NO) 
     374!!   namnc4       netcdf4 chunking and compression settings             ("key_netcdf4") 
     375!!====================================================================== 
     376! 
     377 
     378!!====================================================================== 
     379!!               ***  Observation & Assimilation  ***                 !! 
     380!!                                                                    !! 
     381!!   namobs       observation and model comparison                      (default: NO) 
     382!!   nam_asminc   assimilation increments                               ('key_asminc') 
     383!!====================================================================== 
     384! 
  • branches/2017/dev_merge_2017/NEMOGCM/CONFIG/AMM12/EXP00/namelist_cfg

    r9356 r9490  
    11!!>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
    2 !! NEMO/OPA  : AMM12 configuration namelist used to overwrite defaults values defined in SHARED/namelist_ref 
     2!! NEMO/OPA  : AMM12 namelist - overwrite some defaults values defined in SHARED/namelist_ref 
    33!!>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
     4!                          AMM12 configuration                         ! 
     5 
     6!!====================================================================== 
     7!!              ***  Domain & Run management namelists  ***           !! 
     8!!                                                                    !! 
     9!!   namrun       parameters of the run 
     10!!   namdom       space and time domain 
     11!!   namcfg       parameters of the configuration                       (default: user defined GYRE) 
     12!!   namwad       Wetting and drying                                    (default NO) 
     13!!   namtsd       data: temperature & salinity                          (default NO) 
     14!!   namcrs       coarsened grid (for outputs and/or TOP)               (ln_crs =T) 
     15!!====================================================================== 
     16! 
    417!----------------------------------------------------------------------- 
    518&namrun        !   parameters of the run 
     
    1831/ 
    1932!----------------------------------------------------------------------- 
     33&namdom        !   time and space domain 
     34!----------------------------------------------------------------------- 
     35   rn_rdt      =   600.    !  time step for the dynamics (and tracer if nn_acc=0) 
     36/ 
     37!----------------------------------------------------------------------- 
    2038&namcfg        !   parameters of the configuration                      (default: user defined GYRE) 
    2139!----------------------------------------------------------------------- 
    2240   ln_read_cfg = .true.   !  (=T) read the domain configuration file 
    23       !                   !  (=F) user defined configuration  ==>>>  see usrdef(_...) modules 
    24    cn_domcfg   = "AMM_R12_sco_domcfg"     ! domain configuration filename 
    25 / 
    26 !----------------------------------------------------------------------- 
    27 &namdom        !   time and space domain 
    28 !----------------------------------------------------------------------- 
    29    rn_rdt      =   600.    !  time step for the dynamics (and tracer if nn_acc=0) 
    30 / 
    31 !----------------------------------------------------------------------- 
    32 &namtsd        !   data : Temperature  & Salinity 
    33 !----------------------------------------------------------------------- 
    34    ln_tsd_init   = .false.   !  Initialisation of ocean T & S with T &S input data (T) or not (F) 
    35    ln_tsd_tradmp = .false.   !  damping of ocean T & S toward T &S input data (T) or not (F) 
    36 / 
    37 !----------------------------------------------------------------------- 
    38 &namwad        !   Wetting and drying  default is no WAD 
    39 !----------------------------------------------------------------------- 
    40 / 
    41 !----------------------------------------------------------------------- 
    42 &namcrs        !   coarsened grid (for outputs and/or TOP)              (ln_crs =T) 
    43 !----------------------------------------------------------------------- 
    44 / 
    45 !----------------------------------------------------------------------- 
    46 &namc1d        !   1D configuration options                             ("key_c1d") 
    47 !----------------------------------------------------------------------- 
    48 / 
    49 !----------------------------------------------------------------------- 
    50 &namc1d_dyndmp !   U & V newtonian damping                              ("key_c1d") 
    51 !----------------------------------------------------------------------- 
    52 / 
    53 !----------------------------------------------------------------------- 
    54 &namc1d_uvd    !   data: U & V currents                                 ("key_c1d") 
    55 !----------------------------------------------------------------------- 
    56 / 
    57 !----------------------------------------------------------------------- 
    58 &namsbc        !   Surface Boundary Condition (surface module) 
    59 !----------------------------------------------------------------------- 
    60    nn_fsbc     = 1         !  frequency of surface boundary condition computation 
    61                            !     (also = the frequency of sea-ice model call) 
    62    ln_flx      = .true.    !  flux formulation                          (T => fill namsbc_flx ) 
    63    ln_blk      = .false.   !  Bulk formulation                          (T => fill namsbc_blk ) 
    64    nn_ice      = 0         !  =0 no ice boundary condition 
    65    ln_ssr      = .false.   !  Sea Surface Restoring on T and/or S       (T => fill namsbc_ssr) 
    66    nn_fwb      = 0         !  FreshWater Budget: =0 unchecked 
    67    ln_apr_dyn  = .false.   !  Patm gradient added in ocean & ice Eqs.   (T => fill namsbc_apr ) 
    68    ln_traqsr   = .false.   !  Light penetration (T) or not (F) 
     41      cn_domcfg = "AMM_R12_sco_domcfg" ! domain configuration filename 
     42/ 
     43 
     44!!====================================================================== 
     45!!            ***  Surface Boundary Condition namelists  ***          !! 
     46!!                                                                    !! 
     47!!   namsbc          surface boundary condition manager                 (default: NO selection) 
     48!!   namsbc_flx      flux               formulation                     (ln_flx     =T) 
     49!!   namsbc_blk      Bulk formulae formulation                          (ln_blk     =T) 
     50!!   namsbc_cpl      CouPLed            formulation                     ("key_oasis3" ) 
     51!!   namsbc_sas      Stand-Alone Surface module                         (SAS_SRC  only) 
     52!!   namsbc_iif      Ice-IF: use observed ice cover                     (nn_ice = 1   ) 
     53!!   namtra_qsr      penetrative solar radiation                        (ln_traqsr  =T) 
     54!!   namsbc_ssr      sea surface restoring term (for T and/or S)        (ln_ssr     =T) 
     55!!   namsbc_rnf      river runoffs                                      (ln_rnf     =T) 
     56!!   namsbc_apr      Atmospheric Pressure                               (ln_apr_dyn =T) 
     57!!   namsbc_isf      ice shelf melting/freezing                         (ln_isfcav  =T : read (ln_read_cfg=T) or set or usr_def_zgr ) 
     58!!   namsbc_iscpl    coupling option between land ice model and ocean   (ln_isfcav  =T) 
     59!!   namsbc_wave     external fields from wave model                    (ln_wave    =T) 
     60!!   namberg         iceberg floats                                     (ln_icebergs=T) 
     61!!====================================================================== 
     62! 
     63!----------------------------------------------------------------------- 
     64&namsbc        !   Surface Boundary Condition (surface module)          (default: NO selection) 
     65!----------------------------------------------------------------------- 
     66   nn_fsbc     = 1         !  frequency of SBC module call 
     67   ln_flx      = .true.    !  flux formulation                          (T => fill namsbc_flx) 
     68   ln_traqsr   = .true.    !  Light penetration in the ocean            (T => fill namtra_qsr) 
     69   ln_ssr      = .true.    !  Sea Surface Restoring on T and/or S       (T => fill namsbc_ssr) 
     70   ln_rnf      = .true.    !  runoffs                                   (T => fill namsbc_rnf) 
     71   ln_apr_dyn  = .true.    !  Patm gradient added in ocean & ice Eqs.   (T => fill namsbc_apr ) 
    6972/ 
    7073!----------------------------------------------------------------------- 
    7174&namsbc_flx    !   surface boundary condition : flux formulation 
    7275!----------------------------------------------------------------------- 
     76   cn_dir      = './fluxes/'  !  root directory for the fluxes data location 
     77   !___________!_________________________!___________________!___________!_____________!________!___________!__________________!__________!_______________! 
     78   !           !  file name              ! frequency (hours) ! variable  ! time interp.!  clim  ! 'yearly'/ ! weights filename ! rotation ! land/sea mask ! 
     79   !           !                         !  (if <0  months)  !   name    !   (logical) !  (T/F) ! 'monthly' !                  ! pairing  !    filename   ! 
     80   sn_utau     = 'amm12_utau'            ,          1        , 'utau'    ,  .false.    , .false., 'daily'   ,  ''              ,  ''      , '' 
     81   sn_vtau     = 'amm12_vtau'            ,          1        , 'vtau'    ,  .false.    , .false., 'daily'   ,  ''              ,  ''      , '' 
     82   sn_qtot     = 'amm12_flx'             ,          3        , 'sonsfldo',  .true.     , .false., 'daily'   ,  ''              ,  ''      , '' 
     83   sn_qsr      = 'amm12_flx'             ,          3        , 'soshfldo',  .true.     , .false., 'daily'   ,  ''              ,  ''      , '' 
     84   sn_emp      = 'amm12_flx'             ,          3        , 'sowafldo',  .true.     , .false., 'daily'   ,  ''              ,  ''      , '' 
     85/ 
     86!----------------------------------------------------------------------- 
     87&namtra_qsr    !   penetrative solar radiation                          (ln_traqsr =T) 
     88!----------------------------------------------------------------------- 
     89   ln_qsr_rgb  = .true.      !  RGB light penetration (Red-Green-Blue) 
     90   nn_chldta   =      0      !  RGB : Chl data (=1) or cst value (=0) 
     91/ 
     92!----------------------------------------------------------------------- 
     93&namsbc_ssr    !   surface boundary condition : sea surface restoring   (ln_ssr =T) 
     94!----------------------------------------------------------------------- 
     95   nn_sstr     =     1     !  add a retroaction term in the surface heat       flux (=1) or not (=0) 
     96   nn_sssr     =     0     !  add a damping     term in the surface freshwater flux (=2) 
     97                           !  or to SSS only (=1) or no damping term (=0) 
     98   rn_deds     =  -27.7    !  magnitude of the damping on salinity   [mm/day] 
     99 
     100   cn_dir      = 'fluxes/' !  root directory for the location of the runoff files 
    73101!          !  file name  ! frequency (hours) ! variable  ! time interp. !  clim  ! 'yearly'/ ! weights  ! rotation ! land/sea mask ! 
    74102!          !             !  (if <0  months)  !   name    !   (logical)  !  (T/F) ! 'monthly' ! filename ! pairing  ! filename      ! 
    75    sn_utau = 'amm12_utau',          1        , 'utau'    ,  .false.     , .false., 'daily'   ,  ''      ,  ''      , '' 
    76    sn_vtau = 'amm12_vtau',          1        , 'vtau'    ,  .false.     , .false., 'daily'   ,  ''      ,  ''      , '' 
    77    sn_qtot = 'amm12_flx' ,          3        , 'sonsfldo',  .true.      , .false., 'daily'   ,  ''      ,  ''      , '' 
    78    sn_qsr  = 'amm12_flx' ,          3        , 'soshfldo',  .true.      , .false., 'daily'   ,  ''      ,  ''      , '' 
    79    sn_emp  = 'amm12_flx' ,          3        , 'sowafldo',  .true.      , .false., 'daily'   ,  ''      ,  ''      , '' 
    80    cn_dir  = './fluxes/'        !  root directory for the location of the flux files 
    81 / 
    82 !----------------------------------------------------------------------- 
    83 &namsbc_blk   !   namsbc_blk  generic Bulk formula                      (ln_blk =T) 
    84 !----------------------------------------------------------------------- 
    85 / 
    86 !----------------------------------------------------------------------- 
    87 &namsbc_cpl    !   coupled ocean/atmosphere model                       ("key_oasis3") 
    88 !----------------------------------------------------------------------- 
    89 / 
    90 !----------------------------------------------------------------------- 
    91 &namsbc_sas    !   Stand-Alone Surface boundary condition 
    92 !----------------------------------------------------------------------- 
    93 / 
    94 !----------------------------------------------------------------------- 
    95 &namsbc_iif    !   Ice-IF : use observed ice cover                      (nn_ice = 1) 
    96 !----------------------------------------------------------------------- 
    97 / 
    98 !----------------------------------------------------------------------- 
    99 &namtra_qsr    !   penetrative solar radiation                          (ln_traqsr =T) 
    100 !----------------------------------------------------------------------- 
    101    nn_chldta   =      0    !  RGB : Chl data (=1) or cst value (=0) 
    102 / 
    103 !----------------------------------------------------------------------- 
    104 &namsbc_rnf    !   runoffs namelist surface boundary condition          (ln_rnf =T) 
    105 !----------------------------------------------------------------------- 
    106 !          !  file name  ! frequency (hours) ! variable  ! time interp. !  clim  ! 'yearly'/ ! weights  ! rotation ! land/sea mask ! 
    107 !          !             !  (if <0  months)  !   name    !   (logical)  !  (T/F) ! 'monthly' ! filename ! pairing  ! filename      ! 
    108    sn_rnf      = 'amm12_rivers'       ,        24         , 'rorunoff',   .false.    , .true. , 'yearly'  , ''       , ''  , '' 
    109    sn_cnf      = 'runoff_1m_nomask'   ,         0         , 'socoefr0',   .false.    , .true. , 'yearly'  , ''       , ''  , '' 
    110    sn_s_rnf    = 'amm12_rivers'       ,        24         , 'rosaline',   .false.    , .true. , 'yearly'  , ''       , ''  , '' 
    111    sn_t_rnf    = 'amm12_rivers'       ,        24         , 'rotemper',   .false.    , .true. , 'yearly'  , ''       , ''  , '' 
    112    sn_dep_rnf  = 'amm12_rivers'       ,        24         , 'rodepth' ,   .false.    , .true. , 'yearly'  , ''       , ''  , '' 
     103   sn_sst      = 'amm12_sstref'    ,        24         ,  'sst'     ,     .true.     , .false. , 'daily'   , .false. , ''       , '' , '' 
     104   sn_sss      = 'sss_data'        ,        -1         ,  'sss'     ,     .true.     , .true.  , 'yearly'  , .false. , ''       , '' , '' 
     105/ 
     106!----------------------------------------------------------------------- 
     107&namsbc_rnf    !   runoffs                                              (ln_rnf =T) 
     108!----------------------------------------------------------------------- 
    113109   ln_rnf_mouth = .false.   !  specific treatment at rivers mouths 
    114110   ln_rnf_depth = .true.    !  read in depth information for runoff 
    115111   ln_rnf_tem   = .true.    !  read in temperature information for runoff 
    116112   ln_rnf_sal   = .true.    !  read in salinity information for runoff 
    117 / 
    118 !----------------------------------------------------------------------- 
    119 &namsbc_isf    !  Top boundary layer (ISF)                              (nn_isf >0) 
    120 !----------------------------------------------------------------------- 
    121 / 
    122 !----------------------------------------------------------------------- 
    123 &namsbc_iscpl  !   land ice / ocean coupling option                      
    124 !----------------------------------------------------------------------- 
     113 
     114   cn_dir = './'  !  root directory for the flux data location 
     115   !___________!_________________________!___________________!___________!_____________!________!___________!______________________________________!__________!_______________! 
     116   !           !  file name              ! frequency (hours) ! variable  ! time interp.!  clim  ! 'yearly'/ !          weights filename            ! rotation ! land/sea mask ! 
     117   !           !                         !  (if <0  months)  !   name    !   (logical) !  (T/F) ! 'monthly' !                                      ! pairing  !    filename   ! 
     118   sn_rnf      = 'amm12_rivers'          ,        24         , 'rorunoff',   .false.   , .true. , 'yearly'  , ''                                   , ''       , '' 
     119   sn_cnf      = 'runoff_1m_nomask'      ,         0         , 'socoefr0',   .false.   , .true. , 'yearly'  , ''                                   , ''       , '' 
     120   sn_s_rnf    = 'amm12_rivers'          ,        24         , 'rosaline',   .false.   , .true. , 'yearly'  , ''                                   , ''       , '' 
     121   sn_t_rnf    = 'amm12_rivers'          ,        24         , 'rotemper',   .false.   , .true. , 'yearly'  , ''                                   , ''       , '' 
     122   sn_dep_rnf  = 'amm12_rivers'          ,        24         , 'rodepth' ,   .false.   , .true. , 'yearly'  , ''                                   , ''       , '' 
    125123/ 
    126124!----------------------------------------------------------------------- 
    127125&namsbc_apr    !   Atmospheric pressure used as ocean forcing           (ln_apr_dyn =T) 
    128126!----------------------------------------------------------------------- 
    129 !          !  file name  ! frequency (hours) ! variable  ! time interp. !  clim  ! 'yearly'/ ! weights  ! rotation ! land/sea mask ! 
    130 !          !             !  (if <0  months)  !   name    !   (logical)  !  (T/F) ! 'monthly' ! filename ! pairing  ! filename      ! 
    131    sn_apr     = 'amm12_mslp'     ,          1        ,  'p_msl'      , .false.      , .false. , 'daily'   ,  ''      ,  ''  , '' 
    132  
    133    cn_dir      = './fluxes/' !  root directory for the location of the bulk files 
    134    rn_pref     = 101000.     !  reference atmospheric pressure   [N/m2]/ 
    135    ln_ref_apr  = .false.    !  ref. pressure: global mean Patm (T) or a constant (F) 
     127   rn_pref     = 101000.   !  reference atmospheric pressure   [N/m2] 
     128   ln_ref_apr  = .false.   !  ref. pressure: global mean Patm (T) or a constant (F) 
    136129   ln_apr_obc  = .true.    !  inverse barometer added to OBC ssh data 
    137 / 
    138 !----------------------------------------------------------------------- 
    139 &namsbc_ssr    !   surface boundary condition : sea surface restoring   (ln_ssr =T) 
    140 !----------------------------------------------------------------------- 
    141 !          !  file name  ! frequency (hours) ! variable  ! time interp. !  clim  ! 'yearly'/ ! weights  ! rotation ! land/sea mask ! 
    142 !          !             !  (if <0  months)  !   name    !   (logical)  !  (T/F) ! 'monthly' ! filename ! pairing  ! filename      ! 
    143    sn_sst      = 'amm12_sstref'    ,        24         ,  'sst'     ,     .true.     , .false. , 'daily'   , .false. , ''       , '' , '' 
    144    sn_sss      = 'sss_data'        ,        -1         ,  'sss'     ,     .true.     , .true.  , 'yearly'  , .false. , ''       , '' , '' 
    145  
    146    cn_dir      = 'fluxes/' !  root directory for the location of the runoff files 
    147    nn_sstr     =     1     !  add a retroaction term in the surface heat       flux (=1) or not (=0) 
    148    nn_sssr     =     0     !  add a damping     term in the surface freshwater flux (=2) 
    149                            !  or to SSS only (=1) or no damping term (=0) 
    150    rn_deds     =  -27.7    !  magnitude of the damping on salinity   [mm/day] 
    151 / 
    152 !----------------------------------------------------------------------- 
    153 &namsbc_wave   ! External fields from wave model                        (ln_wave=T) 
    154 !----------------------------------------------------------------------- 
    155 / 
    156 !----------------------------------------------------------------------- 
    157 &namberg       !   iceberg parameters                                   (default: No iceberg) 
    158 !----------------------------------------------------------------------- 
    159 / 
    160 !----------------------------------------------------------------------- 
    161 &namlbc        !   lateral momentum boundary condition 
    162 !----------------------------------------------------------------------- 
    163    rn_shlat    =     0     !  shlat = 0  !  0 < shlat < 2  !  shlat = 2  !  2 < shlat 
    164                            !  free slip  !   partial slip  !   no slip   ! strong slip 
    165 / 
    166 !----------------------------------------------------------------------- 
    167 &namagrif      !  AGRIF zoom                                            ("key_agrif") 
    168 !----------------------------------------------------------------------- 
    169 / 
    170 !----------------------------------------------------------------------- 
    171 &nam_tide      !   tide parameters 
    172 !----------------------------------------------------------------------- 
    173    ln_tide     = .true. 
     130 
     131   cn_dir = './fluxes/'    !  root directory for the Patm data location 
     132   !___________!_________________________!___________________!___________!_____________!________!___________!__________________!__________!_______________! 
     133   !           !  file name              ! frequency (hours) ! variable  ! time interp.!  clim  ! 'yearly'/ ! weights filename ! rotation ! land/sea mask ! 
     134   !           !                         !  (if <0  months)  !   name    !   (logical) !  (T/F) ! 'monthly' !                  ! pairing  !    filename   ! 
     135   sn_apr      = 'amm12_mslp'            ,          1        ,'p_msl'    ,   .false.   , .false., 'daily'  ,    ''            ,    ''    ,      '' 
     136/ 
     137 
     138!!====================================================================== 
     139!!               ***  Lateral boundary condition  ***                 !! 
     140!!                                                                    !! 
     141!!   namlbc        lateral momentum boundary condition                  (no slip) 
     142!!   namagrif      agrif nested grid ( read by child model only )       ("key_agrif") 
     143!!   nam_tide      Tidal forcing                                        (default: NO) 
     144!!   nambdy        Unstructured open boundaries                         (default: NO) 
     145!!   nambdy_dta    Unstructured open boundaries - external data         (see  nambdy) 
     146!!   nambdy_tide   tidal forcing at open boundaries                     (default: NO) 
     147!!====================================================================== 
     148! 
     149!----------------------------------------------------------------------- 
     150&namlbc        !   lateral momentum boundary condition                  (default: no slip) 
     151!----------------------------------------------------------------------- 
     152   rn_shlat    =     0     !  free slip 
     153/ 
     154!----------------------------------------------------------------------- 
     155&nam_tide      !   tide parameters                                      (default: NO) 
     156!----------------------------------------------------------------------- 
     157   ln_tide     = .true.    ! Activate tides 
     158      ln_tide_pot   = .true.  !  use tidal potential forcing 
     159 
    174160   clname(1)     =   'Q1'   !  name of constituent 
    175161   clname(2)     =   'O1' 
     
    189175/ 
    190176!----------------------------------------------------------------------- 
    191 &nambdy        !  unstructured open boundaries                           
    192 !----------------------------------------------------------------------- 
    193     ln_bdy         = .true. 
    194     nb_bdy         =  1 
    195     cn_dyn2d       = 'flather' 
    196     nn_dyn2d_dta   =  3 
    197     cn_tra         =  'frs' 
    198     nn_tra_dta    =   1  
     177&nambdy        !  unstructured open boundaries                          (default: NO) 
     178!----------------------------------------------------------------------- 
     179    ln_bdy     = .true.   !  Use unstructured open boundaries 
     180    nb_bdy     =  1       !  number of open boundary sets 
     181    ! 
     182    cn_dyn2d     = 'flather' 
     183    nn_dyn2d_dta =  3 
     184    cn_tra       =  'frs' 
     185    nn_tra_dta   =   1  
    199186/ 
    200187!----------------------------------------------------------------------- 
    201188&nambdy_dta    !  open boundaries - external data                        
    202189!----------------------------------------------------------------------- 
    203 !          !  file name  ! frequency (hours) ! variable  ! time interp. !  clim  ! 'yearly'/ ! weights  ! rotation ! land/sea mask ! 
    204 !          !             !  (if <0  months)  !   name    !   (logical)  !  (T/F) ! 'monthly' ! filename ! pairing  ! filename      ! 
    205    bn_ssh =     'amm12_bdyT_dyn2d' ,         24        , 'sossheig' ,     .true.     , .false. ,  'daily'  ,    ''    ,   ''  , '' 
    206    bn_u2d =     'amm12_bdyU_dyn2d' ,         24        , 'vobtcrtx' ,     .true.     , .false. ,  'daily'  ,    ''    ,   ''  , '' 
    207    bn_v2d =     'amm12_bdyV_dyn2d' ,         24        , 'vobtcrty' ,     .true.     , .false. ,  'daily'  ,    ''    ,   ''  , '' 
    208    bn_u3d  =    'amm12_bdyU_dyn3d' ,         24        , 'vozocrtx' ,     .true.     , .false. ,  'daily'  ,    ''    ,   ''  , '' 
    209    bn_v3d  =    'amm12_bdyV_dyn3d' ,         24        , 'vomecrty' ,     .true.     , .false. ,  'daily'  ,    ''    ,   ''  , '' 
    210    bn_tem  =    'amm12_bdyT_tra'   ,         24        , 'votemper' ,     .true.     , .false. ,  'daily'  ,    ''    ,   ''  , '' 
    211    bn_sal  =    'amm12_bdyT_tra'   ,         24        , 'vosaline' ,     .true.     , .false. ,  'daily'  ,    ''    ,   ''  , '' 
     190   ln_full_vel = .false. 
     191 
    212192   cn_dir  =    './bdydta/' 
    213    ln_full_vel = .false. 
     193   !___________!_________________________!___________________!___________!_____________!________!___________!__________________!__________!_______________! 
     194   !           !  file name              ! frequency (hours) ! variable  ! time interp.!  clim  ! 'yearly'/ ! weights filename ! rotation ! land/sea mask ! 
     195   !           !                         !  (if <0  months)  !   name    !   (logical) !  (T/F) ! 'monthly' !                  ! pairing  !    filename   ! 
     196   bn_ssh      = 'amm12_bdyT_dyn2d'      ,         24        , 'sossheig',    .true.   , .false.,  'daily'  ,    ''            ,   ''     , '' 
     197   bn_u2d      = 'amm12_bdyU_dyn2d'      ,         24        , 'vobtcrtx',    .true.   , .false.,  'daily'  ,    ''            ,   ''     , '' 
     198   bn_v2d      = 'amm12_bdyV_dyn2d'      ,         24        , 'vobtcrty',    .true.   , .false.,  'daily'  ,    ''            ,   ''     , '' 
     199   bn_u3d      = 'amm12_bdyU_dyn3d'      ,         24        , 'vozocrtx',    .true.   , .false.,  'daily'  ,    ''            ,   ''     , '' 
     200   bn_v3d      = 'amm12_bdyV_dyn3d'      ,         24        , 'vomecrty',    .true.   , .false.,  'daily'  ,    ''            ,   ''     , '' 
     201   bn_tem      = 'amm12_bdyT_tra'        ,         24        , 'votemper',    .true.   , .false.,  'daily'  ,    ''            ,   ''     , '' 
     202   bn_sal      = 'amm12_bdyT_tra'        ,         24        , 'vosaline',    .true.   , .false.,  'daily'  ,    ''            ,   ''     , '' 
    214203/ 
    215204!----------------------------------------------------------------------- 
     
    218207   filtide      = 'bdydta/amm12_bdytide_'         !  file name root of tidal forcing files 
    219208/ 
     209 
     210!!====================================================================== 
     211!!                ***  Top/Bottom boundary condition  ***             !! 
     212!!                                                                    !! 
     213!!   namdrg        top/bottom drag coefficient                          (default: NO selection) 
     214!!   namdrg_top    top    friction                                      (ln_NONE=F & ln_isfcav=T) 
     215!!   namdrg_bot    bottom friction                                      (ln_NONE=F) 
     216!!   nambbc        bottom temperature boundary condition                (default: NO) 
     217!!   nambbl        bottom boundary layer scheme                         (default: NO) 
     218!!====================================================================== 
     219! 
    220220!----------------------------------------------------------------------- 
    221221&namdrg        !   top/bottom drag coefficient                          (default: NO selection) 
    222222!----------------------------------------------------------------------- 
    223    ln_NONE    = .false.    !  free-slip       : Cd = 0                  (F => fill namdrg_bot 
    224    ln_lin     = .false.    !      linear  drag: Cd = Cd0 Uc0                   &   namdrg_top) 
    225    ln_non_lin = .false.    !  non-linear  drag: Cd = Cd0 |U| 
    226223   ln_loglayer= .true.     !  logarithmic drag: Cd = vkarmn/log(z/z0) |U| 
    227    ! 
    228    ln_drgimp  = .true.     !  implicit top/bottom friction flag 
    229 / 
    230 !----------------------------------------------------------------------- 
    231 &namdrg_top    !   TOP friction                                         (ln_isfcav=T) 
    232 !----------------------------------------------------------------------- 
    233224/ 
    234225!----------------------------------------------------------------------- 
     
    240231   rn_ke0     =  0.0e0    !  background kinetic energy  [m2/s2] (non-linear cases) 
    241232   rn_z0      =  0.003    !  roughness [m]  (ln_loglayer=T) 
    242    ln_boost   = .false.   !  =T regional boost of Cd0 ; =F constant 
    243    rn_boost   =  50.      !  local boost factor  [-] 
    244 / 
    245 !----------------------------------------------------------------------- 
    246 &nambbc        !   bottom temperature boundary condition                (default: NO) 
    247 !----------------------------------------------------------------------- 
    248 / 
    249 !----------------------------------------------------------------------- 
    250 &nambbl        !   bottom boundary layer scheme                         (default: NO) 
    251 !----------------------------------------------------------------------- 
    252 / 
    253 !----------------------------------------------------------------------- 
    254 &nameos        !   ocean Equation Of Seawater                           (default: NO) 
     233/ 
     234 
     235!!====================================================================== 
     236!!                        Tracer (T & S) namelists                    !! 
     237!!                                                                    !! 
     238!!   nameos           equation of state                                 (default: NO selection) 
     239!!   namtra_adv       advection scheme                                  (default: NO selection) 
     240!!   namtra_ldf       lateral diffusion scheme                          (default: NO selection) 
     241!!   namtra_adv_mle   mixed layer eddy param. (Fox-Kemper param.)       (default: NO) 
     242!!   namtra_eiv       eddy induced velocity param.                      (default: NO) 
     243!!   namtra_dmp       T & S newtonian damping                           (default: NO) 
     244!!====================================================================== 
     245! 
     246!----------------------------------------------------------------------- 
     247&nameos        !   ocean Equation Of Seawater                           (default: NO selection) 
    255248!----------------------------------------------------------------------- 
    256249   ln_teos10   = .true.         !  = Use TEOS-10 equation of state 
     
    259252&namtra_adv    !   advection scheme for tracer                          (default: NO selection) 
    260253!----------------------------------------------------------------------- 
    261    ln_traadv_fct =  .true.   !  FCT scheme 
     254   ln_traadv_fct = .true.     !  FCT scheme 
    262255      nn_fct_h   =  2               !  =2/4, horizontal 2nd / 4th order  
    263256      nn_fct_v   =  2               !  =2/4, vertical   2nd / COMPACT 4th order  
    264257/ 
    265258!----------------------------------------------------------------------- 
    266 &namtra_adv_mle !   mixed layer eddy parametrisation (Fox-Kemper param) (default: NO) 
    267 !----------------------------------------------------------------------- 
    268 / 
    269 !----------------------------------------------------------------------- 
    270259&namtra_ldf    !   lateral diffusion scheme for tracers                 (default: NO selection) 
    271260!----------------------------------------------------------------------- 
    272    !                       !  Operator type: 
    273    ln_traldf_NONE  = .false.   !           No operator (no explicit diffusion) 
    274261   ln_traldf_lap   =  .true.   !    laplacian operator 
    275    ln_traldf_blp   =  .false.  !  bilaplacian operator 
    276    !                       !  Direction of action: 
    277    ln_traldf_lev   =  .false.  !  iso-level 
    278262   ln_traldf_hor   =  .true.   !  horizontal (geopotential) 
    279    ln_traldf_iso   =  .false.  !  iso-neutral 
    280    ln_traldf_triad =  .false.  !  iso-neutral using Griffies triads 
    281    ! 
    282    !                       !  iso-neutral options:         
    283    ln_traldf_msc   =  .true.   !  Method of Stabilizing Correction (both operators) 
    284    rn_slpmax       =   0.01    !  slope limit                      (both operators) 
    285    ln_triad_iso    =  .false.  !  pure horizontal mixing in ML     (triad only) 
    286    rn_sw_triad     =  1        !  =1 switching triad ; =0 all 4 triads used (triad only) 
    287    ln_botmix_triad =  .false.  !  lateral mixing on bottom         (triad only) 
    288    ! 
    289263   !                       !  Coefficients: 
    290    nn_aht_ijk_t    = 0         !  space/time variation of eddy coef 
    291    !                                !   =-20 (=-30)    read in eddy_diffusivity_2D.nc (..._3D.nc) file 
    292    !                                !   =  0           constant  
    293    !                                !   = 10 F(k)      =ldf_c1d  
    294    !                                !   = 20 F(i,j)    =ldf_c2d  
    295    !                                !   = 21 F(i,j,t)  =Treguier et al. JPO 1997 formulation 
    296    !                                !   = 30 F(i,j,k)  =ldf_c2d + ldf_c1d 
    297    !                                !   = 31 F(i,j,k,t)=F(local velocity) 
    298    rn_aht_0        =   50.     !  lateral eddy diffusivity   (lap. operator) [m2/s] 
    299    rn_bht_0        = 1.e+12    !  lateral eddy diffusivity (bilap. operator) [m4/s] 
    300 / 
    301 !----------------------------------------------------------------------- 
    302 &namtra_ldfeiv !   eddy induced velocity param.                         (default: NO) 
    303 !----------------------------------------------------------------------- 
    304    ln_ldfeiv     =.false.   ! use eddy induced velocity parameterization 
    305 / 
    306 !----------------------------------------------------------------------- 
    307 &namtra_dmp    !   tracer: T & S newtonian damping                      (default: NO) 
    308 !----------------------------------------------------------------------- 
    309    ln_tradmp   =  .false.  !  add a damping termn (T) or not (F) 
    310 / 
     264   nn_aht_ijk_t    = 0         !  =  0   constant = 1/2  Ud*Ld   (lap case)  
     265      rn_Ud        = 0.01           !  lateral diffusive velocity [m/s] (nn_aht_ijk_t= 0, 10, 20, 30) 
     266      rn_Ld        = 10.e+3         !  lateral diffusive length   [m]   (nn_aht_ijk_t= 0, 10) 
     267/ 
     268 
     269!!====================================================================== 
     270!!                      ***  Dynamics namelists  ***                  !! 
     271!!                                                                    !! 
     272!!   nam_vvl       vertical coordinate options                          (default: z-star) 
     273!!   namdyn_adv    formulation of the momentum advection                (default: NO selection) 
     274!!   namdyn_vor    advection scheme                                     (default: NO selection) 
     275!!   namdyn_hpg    hydrostatic pressure gradient                        (default: NO selection) 
     276!!   namdyn_spg    surface pressure gradient                            (default: NO selection) 
     277!!   namdyn_ldf    lateral diffusion scheme                             (default: NO selection) 
     278!!   namdta_dyn    offline TOP: dynamics read in files                  (OFF_SRC only) 
     279!!====================================================================== 
     280! 
    311281!----------------------------------------------------------------------- 
    312282&nam_vvl       !   vertical coordinate options                          (default: z-star) 
     
    320290/ 
    321291!----------------------------------------------------------------------- 
    322 &namdyn_vor    !   Vorticity / Coriolis scheme                          (default: NO) 
    323 !----------------------------------------------------------------------- 
    324    ln_dynvor_ene = .false. !  enstrophy conserving scheme 
    325    ln_dynvor_ens = .false. !  energy conserving scheme 
    326    ln_dynvor_mix = .false. !  mixed scheme 
     292&namdyn_vor    !   Vorticity / Coriolis scheme                          (default: NO selection) 
     293!----------------------------------------------------------------------- 
    327294   ln_dynvor_een = .true.  !  energy & enstrophy scheme 
    328295      nn_een_e3f = 1             !  e3f = masked averaging of e3t divided by 4 (=0) or by the sum of mask (=1) 
     
    331298&namdyn_hpg    !   Hydrostatic pressure gradient option                 (default: NO selection) 
    332299!----------------------------------------------------------------------- 
    333    ln_hpg_zps  = .false.   !  z-coordinate - partial steps (interpolation) 
    334300   ln_hpg_prj  = .true.    !  s-coordinate (Pressure Jacobian scheme) 
    335301/ 
    336302!----------------------------------------------------------------------- 
    337 &namdyn_spg    !   surface pressure gradient                            (default: NO) 
     303&namdyn_spg    !   surface pressure gradient                            (default: NO selection) 
    338304!----------------------------------------------------------------------- 
    339305   ln_dynspg_ts = .true.   ! split-explicit free surface 
     
    344310&namdyn_ldf    !   lateral diffusion on momentum                        (default: NO selection) 
    345311!----------------------------------------------------------------------- 
    346    !                       !  Type of the operator : 
    347    ln_dynldf_NONE=  .false.    !           No operator (no explicit diffusion) 
    348    ln_dynldf_lap =  .false.    !    laplacian operator 
    349312   ln_dynldf_blp =  .true.     !  bilaplacian operator 
    350    !                       !  Direction of action  : 
    351313   ln_dynldf_lev =  .true.     !  iso-level 
    352    ln_dynldf_hor =  .false.    !  horizontal (geopotential) 
    353    ln_dynldf_iso =  .false.    !  iso-neutral 
    354    !                       !  Coefficient 
    355    nn_ahm_ijk_t  = 0           !  space/time variation of eddy coef 
    356    !                                !  =-30  read in eddy_viscosity_3D.nc file 
    357    !                                !  =-20  read in eddy_viscosity_2D.nc file 
    358    !                                !  =  0  constant  
    359    !                                !  = 10  F(k)=c1d 
    360    !                                !  = 20  F(i,j)=F(grid spacing)=c2d 
    361    !                                !  = 30  F(i,j,k)=c2d*c1d 
    362    !                                !  = 31  F(i,j,k)=F(grid spacing and local velocity) 
    363    rn_ahm_0      =     60.     !  horizontal laplacian eddy viscosity   [m2/s] 
    364    rn_ahm_b      =      0.     !  background eddy viscosity for ldf_iso [m2/s] 
    365    rn_bhm_0      = 1.0e+10     !  horizontal bilaplacian eddy viscosity [m4/s] 
    366    ! 
    367    ! Caution in 20 and 30 cases the coefficient have to be given for a 1 degree grid (~111km) 
    368 / 
     314   nn_ahm_ijk_t  = 0           !  =0   constant = 1/12 Uv*Lv^3 (blp case) 
     315      rn_Uv      =  0.12            !  lateral viscous velocity [m/s] 
     316      rn_Lv      = 10.e+3           !  lateral viscous length   [m]   
     317/ 
     318 
     319!!====================================================================== 
     320!!                     vertical physics namelists                     !! 
     321!!                                                                    !! 
     322!!    namzdf        vertical physics manager                            (default: NO selection) 
     323!!    namzdf_ric    richardson number vertical mixing                   (ln_zdfric=T) 
     324!!    namzdf_tke    TKE vertical mixing                                 (ln_zdftke=T) 
     325!!    namzdf_gls    GLS vertical mixing                                 (ln_zdfgls=T) 
     326!!    namzdf_osm    OSM vertical diffusion                              (ln_zdfosm=T) 
     327!!    namzdf_iwm    tidal mixing parameterization                       (ln_zdfiwm=T) 
     328!!====================================================================== 
     329! 
    369330!----------------------------------------------------------------------- 
    370331&namzdf        !   vertical physics                                     (default: NO selection) 
    371332!----------------------------------------------------------------------- 
    372    !                       ! type of vertical closure 
    373    ln_zdfcst   = .false.      !  constant mixing 
    374    ln_zdfric   = .false.      !  local Richardson dependent formulation (T =>   fill namzdf_ric) 
    375    ln_zdftke   = .false.      !  Turbulent Kinetic Energy closure       (T =>   fill namzdf_tke) 
    376    ln_zdfgls   = .true.       !  Generic Length Scale closure           (T =>   fill namzdf_gls) 
    377    ln_zdfosm   = .false.      !  OSMOSIS BL closure                     (T =>   fill namzdf_osm) 
    378    ! 
    379    !                       ! convection 
    380    ln_zdfevd   = .false.      !  enhanced vertical diffusion 
    381       nn_evdm     =    0         ! apply on tracer (=0) or on tracer and momentum (=1) 
    382       rn_evd      =  100.        ! mixing coefficient [m2/s] 
    383    ln_zdfnpc   = .false.      !  Non-Penetrative Convective algorithm 
    384       nn_npc      =    1         ! frequency of application of npc 
    385       nn_npcp     =  365         ! npc control print frequency 
    386    ! 
    387    ln_zdfddm   = .false.   ! double diffusive mixing 
    388       rn_avts  =    1.e-4     !  maximum avs (vertical mixing on salinity) 
    389       rn_hsbfr =    1.6       !  heat/salt buoyancy flux ratio 
    390    ! 
    391    !                       ! gravity wave-driven vertical mixing 
    392    ln_zdfiwm   = .false.      ! internal wave-induced mixing            (T =>   fill namzdf_iwm) 
    393    ln_zdfswm   = .false.      ! surface  wave-induced mixing            (T => ln_wave=ln_sdw=T ) 
    394    ! 
     333   ln_zdfgls   = .true.    !  Generic Length Scale closure              (T =>   fill namzdf_gls) 
    395334   !                       ! coefficients 
    396335   rn_avm0     =   0.1e-6     !  vertical eddy viscosity   [m2/s]       (background Kz if ln_zdfcst=F) 
     
    400339/ 
    401340!----------------------------------------------------------------------- 
    402 &namzdf_ric    !   richardson number dependent vertical diffusion       (ln_zdfric =T) 
    403 !----------------------------------------------------------------------- 
    404 / 
    405 !----------------------------------------------------------------------- 
    406 &namzdf_tke    !   turbulent eddy kinetic dependent vertical diffusion  (ln_zdftke =T) 
    407 !----------------------------------------------------------------------- 
    408 / 
    409 !----------------------------------------------------------------------- 
    410341&namzdf_gls    !   GLS vertical diffusion                               (ln_zdfgls =T) 
    411342!----------------------------------------------------------------------- 
    412    rn_charn =  100000.     !  Charnock constant for wb induced roughness length 
    413    nn_z0_met = 1           !  Method for surface roughness computation (0/1/2) 
    414 / 
    415 !----------------------------------------------------------------------- 
    416 &namzdf_osm    !   OSM vertical diffusion                               (ln_zdfosm =T) 
    417 !----------------------------------------------------------------------- 
    418 / 
    419 !----------------------------------------------------------------------- 
    420 &namzdf_iwm    !    internal wave-driven mixing parameterization        (ln_zdfiwm =T) 
    421 !----------------------------------------------------------------------- 
    422 / 
    423 !----------------------------------------------------------------------- 
    424 &nammpp        !   Massively Parallel Processing                        ("key_mpp_mpi") 
    425 !----------------------------------------------------------------------- 
    426 / 
    427 !----------------------------------------------------------------------- 
    428 &namctl        !   Control prints  
    429 !----------------------------------------------------------------------- 
    430 / 
    431 !----------------------------------------------------------------------- 
    432 &namsto        ! Stochastic parametrization of EOS                      (default: NO) 
    433 !----------------------------------------------------------------------- 
    434 / 
    435 !----------------------------------------------------------------------- 
    436 &namtrd        !   trend diagnostics                                    (default F) 
    437 !----------------------------------------------------------------------- 
    438 / 
    439 !----------------------------------------------------------------------- 
    440 &namptr        !   Poleward Transport Diagnostic                        (default F) 
    441 !----------------------------------------------------------------------- 
    442 / 
    443 !----------------------------------------------------------------------- 
    444 &namhsb        !  Heat and salt budgets                                 (default F) 
    445 !----------------------------------------------------------------------- 
    446 / 
    447 !----------------------------------------------------------------------- 
    448 &namdiu        !   Cool skin and warm layer models                      (default F) 
    449 !----------------------------------------------------------------------- 
    450 / 
    451 !----------------------------------------------------------------------- 
    452 &namflo        !   float parameters                                     ("key_float") 
    453 !----------------------------------------------------------------------- 
    454 / 
    455 !----------------------------------------------------------------------- 
    456 &nam_diaharm   !   Harmonic analysis of tidal constituents              ("key_diaharm") 
    457 !----------------------------------------------------------------------- 
    458 / 
    459 !----------------------------------------------------------------------- 
    460 &namdct        ! transports through some sections                       ("key_diadct") 
    461 !----------------------------------------------------------------------- 
    462 / 
     343   rn_charn    =  100000.  !  Charnock constant for wb induced roughness length 
     344   nn_z0_met   = 1         !  Method for surface roughness computation (0/1/2) 
     345/ 
     346 
     347!!====================================================================== 
     348!!                  ***  Diagnostics namelists  ***                   !! 
     349!!                                                                    !! 
     350!!   namtrd       dynamics and/or tracer trends                         (default NO) 
     351!!   namptr       Poleward Transport Diagnostics                        (default NO) 
     352!!   namhsb       Heat and salt budgets                                 (default NO) 
     353!!   namdiu       Cool skin and warm layer models                       (default NO) 
     354!!   namdiu       Cool skin and warm layer models                       (default NO) 
     355!!   namflo       float parameters                                      ("key_float") 
     356!!   nam_diaharm  Harmonic analysis of tidal constituents               ("key_diaharm") 
     357!!   namdct       transports through some sections                      ("key_diadct") 
     358!!   nam_diatmb   Top Middle Bottom Output                              (default NO) 
     359!!   nam_dia25h   25h Mean Output                                       (default NO) 
     360!!   namnc4       netcdf4 chunking and compression settings             ("key_netcdf4") 
     361!!====================================================================== 
     362! 
    463363!----------------------------------------------------------------------- 
    464364&nam_diatmb    !  Top Middle Bottom Output                              (default F) 
     
    471371   ln_dia25h  = .true.    ! Choose 25h mean output or not 
    472372/ 
    473 !----------------------------------------------------------------------- 
    474 &namnc4        !   netcdf4 chunking and compression settings            ("key_netcdf4") 
    475 !----------------------------------------------------------------------- 
    476 / 
    477 !----------------------------------------------------------------------- 
    478 &namobs        !  observation usage switch 
    479 !----------------------------------------------------------------------- 
    480 / 
    481 !----------------------------------------------------------------------- 
    482 &nam_asminc    !   assimilation increments                              ('key_asminc') 
    483 !----------------------------------------------------------------------- 
    484 / 
    485 !----------------------------------------------------------------------- 
    486 &namdta_dyn    !   offline dynamics read in files                       ("key_offline") 
    487 !----------------------------------------------------------------------- 
    488 / 
     373 
     374!!====================================================================== 
     375!!               ***  Observation & Assimilation  ***                 !! 
     376!!                                                                    !! 
     377!!   namobs       observation and model comparison                      (default: NO) 
     378!!   nam_asminc   assimilation increments                               ('key_asminc') 
     379!!====================================================================== 
     380! 
  • branches/2017/dev_merge_2017/NEMOGCM/CONFIG/C1D_PAPA/EXP00/iodef.xml

    r5363 r9490  
    5353          <field field_ref="woce"         name="vovecrtz" /> 
    5454          <field field_ref="avt"          name="votkeavt" /> 
    55           <field field_ref="aht2d"        name="soleahtw" /> 
    5655    </file> 
    5756      </file_group> 
     
    9190          <field field_ref="woce"         name="vovecrtz" /> 
    9291          <field field_ref="avt"          name="votkeavt" /> 
    93           <field field_ref="aht2d"        name="soleahtw" /> 
    9492    </file> 
    9593      </file_group> 
  • branches/2017/dev_merge_2017/NEMOGCM/CONFIG/C1D_PAPA/EXP00/namelist_cfg

    r9169 r9490  
    22!! NEMO/OPA  : 1D configuration based on Kato-Philipps () exp. 
    33!!>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
     4 
     5!!====================================================================== 
     6!!              ***  Domain & Run management namelists  ***           !! 
     7!!                                                                    !! 
     8!!   namrun       parameters of the run 
     9!!   namdom       space and time domain 
     10!!   namcfg       parameters of the configuration                       (default: user defined GYRE) 
     11!!   namwad       Wetting and drying                                    (default NO) 
     12!!   namtsd       data: temperature & salinity                          (default NO) 
     13!!   namcrs       coarsened grid (for outputs and/or TOP)               (ln_crs =T) 
     14!!   namc1d       1D configuration options                              ("key_c1d") 
     15!!   namc1d_dyndmp 1D newtonian damping applied on currents             ("key_c1d") 
     16!!   namc1d_uvd   1D data (currents)                                    ("key_c1d") 
     17!!====================================================================== 
     18! 
    419!----------------------------------------------------------------------- 
    520&namrun        !   parameters of the run 
     
    1227   nn_stock    =   87600   !  frequency of creation of a restart file (modulo referenced to 1) 
    1328   nn_write    =     240   !  frequency of write in the output file   (modulo referenced to nn_it000) 
    14 / 
    15 !----------------------------------------------------------------------- 
    16 &namcfg     !   parameters of the configuration    
    17 !----------------------------------------------------------------------- 
    18    cp_cfg      =  "papa"                 !  name of the configuration 
    19    jp_cfg      =       1                 !  resolution of the configuration 
    20 !   jpidta      =       3                 !  1st lateral dimension ( >= jpi ) = 30*jp_cfg+2 
    21 !   jpjdta      =       3                 !  2nd    "         "    ( >= jpj ) = 20*jp_cfg+2  
    22 !   jpkdta      =      75                 !  number of levels      ( >= jpk ) 
    23 !   jpiglo      =       3                 !  1st dimension of global domain --> i  = jpidta 
    24 !   jpjglo      =       3                 !  2nd    -                  -    --> j  = jpjdta 
    25    jperio      =       0                 !  lateral cond. type (between 0 and 6) 
    26 / 
    27 !----------------------------------------------------------------------- 
    28 &namzgr        !   vertical coordinate 
    29 !----------------------------------------------------------------------- 
    30    ln_zps      = .true.    !  z-coordinate - partial steps 
    31 / 
    32 !----------------------------------------------------------------------- 
    33 &namzgr_sco    !   s-coordinate or hybrid z-s-coordinate 
    34 !----------------------------------------------------------------------- 
    3529/ 
    3630!----------------------------------------------------------------------- 
     
    6054/ 
    6155!----------------------------------------------------------------------- 
    62 &namc1d        !   1D configuration options                             ("key_c1d") 
    63 !----------------------------------------------------------------------- 
    64    ln_c1d_locpt= .false.   ! Localization of 1D config in a grid (T) or independant point (F) 
    65 / 
    66 !----------------------------------------------------------------------- 
    67 &namtsd    !   data : Temperature  & Salinity 
    68 !----------------------------------------------------------------------- 
    69 !          !  file name  ! frequency (hours) ! variable  ! time interp. !  clim  ! 'yearly'/ ! weights  ! rotation ! land/sea mask ! 
    70 !          !             !  (if <0  months)  !   name    !   (logical)  !  (T/F) ! 'monthly' ! filename ! pairing  ! filename      ! 
    71    sn_tem  = 'init_PAPASTATION',   24        ,'votemper' ,  .false.     , .true.,  'daily'  , ''       , ' '        , '' 
    72    sn_sal  = 'init_PAPASTATION',   24        ,'vosaline' ,  .false.     , .true.,  'daily'  , ''       , ' '        , '' 
    73    ! 
    74    cn_dir        = './'     !  root directory for the location of the runoff files 
    75    ln_tsd_init   = .true.   !  Initialisation of ocean T & S with T &S input data (T) or not (F) 
    76    ln_tsd_tradmp = .false.   !  damping of ocean T & S toward T &S input data (T) or not (F) 
    77 / 
    78 !----------------------------------------------------------------------- 
    79 &namsbc        !   Surface Boundary Condition (surface module) 
    80 !----------------------------------------------------------------------- 
    81    nn_fsbc     = 1         !  frequency of surface boundary condition computation 
    82                            !     (also = the frequency of sea-ice model call) 
    83    nn_ice      = 0         !  =0 no ice boundary condition   , 
    84    ln_rnf      = .false.   !  runoffs                                   (T => fill namsbc_rnf) 
    85    ln_ssr      = .false.   !  Sea Surface Restoring on T and/or S       (T => fill namsbc_ssr) 
    86    nn_fwb      = 0         !  FreshWater Budget: =0 unchecked 
     56&namcfg     !   parameters of the configuration    
     57!----------------------------------------------------------------------- 
     58   cp_cfg      =  "papa"                 !  name of the configuration 
     59   jp_cfg      =       1                 !  resolution of the configuration 
     60!   jpidta      =       3                 !  1st lateral dimension ( >= jpi ) = 30*jp_cfg+2 
     61!   jpjdta      =       3                 !  2nd    "         "    ( >= jpj ) = 20*jp_cfg+2  
     62!   jpkdta      =      75                 !  number of levels      ( >= jpk ) 
     63!   jpiglo      =       3                 !  1st dimension of global domain --> i  = jpidta 
     64!   jpjglo      =       3                 !  2nd    -                  -    --> j  = jpjdta 
     65   jperio      =       0                 !  lateral cond. type (between 0 and 6) 
     66/ 
     67!----------------------------------------------------------------------- 
     68&namzgr        !   vertical coordinate 
     69!----------------------------------------------------------------------- 
     70   ln_zps      = .true.    !  z-coordinate - partial steps 
     71/ 
     72!----------------------------------------------------------------------- 
     73&namzgr_sco    !   s-coordinate or hybrid z-s-coordinate 
     74!----------------------------------------------------------------------- 
     75/ 
     76!----------------------------------------------------------------------- 
     77&namc1d        !   1D configuration options                             ("key_c1d" default: PAPA station) 
     78!----------------------------------------------------------------------- 
     79   rn_lat1d    =      50.  !  Column latitude (default at PAPA station) 
     80   rn_lon1d    =    -145.  !  Column longitude (default at PAPA station) 
     81   ln_c1d_locpt=  .true.   ! Localization of 1D config in a grid (T) or independant point (F) 
     82/ 
     83!----------------------------------------------------------------------- 
     84&namc1d_uvd    !   data: U & V currents                                 ("key_c1d" default: NO) 
     85!----------------------------------------------------------------------- 
     86/ 
     87!----------------------------------------------------------------------- 
     88&namc1d_dyndmp !   U & V newtonian damping                              ("key_c1d" default: NO) 
     89!----------------------------------------------------------------------- 
     90/ 
     91!----------------------------------------------------------------------- 
     92&namtsd        !    Temperature & Salinity Data                         (default: NO) 
     93!----------------------------------------------------------------------- 
     94   !           !  file name                 ! frequency (hours) ! variable ! time interp.!  clim  ! 'yearly'/ ! weights  ! rotation ! land/sea mask ! 
     95   !           !                            !  (if <0  months)  !   name   !  (logical)  !  (T/F) ! 'monthly' ! filename ! pairing  ! filename      ! 
     96   sn_tem      = 'init_PAPASTATION'         ,         24        ,'votemper',  .false.     , .true.,  'daily'  , ''       , ' '      , '' 
     97   sn_sal      = 'init_PAPASTATION'         ,         24        ,'vosaline',  .false.     , .true.,  'daily'  , ''       , ' '      , '' 
     98   ! 
     99   ln_tsd_init = .true.   !  Initialisation of ocean T & S with T &S input data (T) or not (F) 
     100   ln_tsd_dmp  = .false.  !  damping of ocean T & S toward T &S input data (T) or not (F) 
     101      cn_dir   = './'        !  root directory for the location of the runoff files 
     102/ 
     103 
     104!!====================================================================== 
     105!!            ***  Surface Boundary Condition namelists  ***          !! 
     106!!====================================================================== 
     107! 
     108!----------------------------------------------------------------------- 
     109&namsbc        !   Surface Boundary Condition manager 
     110!----------------------------------------------------------------------- 
     111   nn_fsbc     = 1   !  frequency of the calling of SBC module 
     112                     ! Type of air-sea fluxes  
     113   ln_blk      = .false.   !  Bulk formulation                          (T => fill namsbc_blk ) 
     114                     ! Misc. options of sbc :  
     115   ln_traqsr   = .false.   !  Light penetration in the ocean            (T => fill namtra_qsr) 
    87116/ 
    88117!----------------------------------------------------------------------- 
     
    111140   ln_ECMWF    = .false.   ! "ECMWF"     algorithm   (IFS cycle 31) 
    112141 
    113    rn_zqt      =  2.       !  Air temperature and humidity reference height (m) 
    114 / 
    115 !----------------------------------------------------------------------- 
    116 &namsbc_cpl    !   coupled ocean/atmosphere model                       ("key_oasis3") 
    117 !----------------------------------------------------------------------- 
     142   rn_zqt      =  2.       !  Air temperature & humidity reference height (m) 
    118143/ 
    119144!----------------------------------------------------------------------- 
     
    123148!              !             !  (if <0  months)  !   name    !   (logical)  !  (T/F) ! 'monthly' ! filename ! pairing  ! filename      ! 
    124149   sn_chl      ='chlorophyll_PAPASTATION', -1    , 'CHLA'    ,   .true.     , .true. , 'yearly'  , ''       , ''       , '' 
    125 / 
    126 !----------------------------------------------------------------------- 
    127 &namsbc_apr    !   Atmospheric pressure used as ocean forcing or in bulk 
    128 !----------------------------------------------------------------------- 
    129 / 
    130 !----------------------------------------------------------------------- 
    131 &namsbc_ssr    !   surface boundary condition : sea surface restoring 
    132 !----------------------------------------------------------------------- 
    133    nn_sssr     =     0     !  add a damping     term in the surface freshwater flux (=2) 
    134    rn_deds     =   -27.7   !  magnitude of the damping on salinity   [mm/day] 
    135    ln_sssr_bnd =   .false. !  flag to bound erp term (associated with nn_sssr=2) 
    136 / 
    137 !----------------------------------------------------------------------- 
    138 &namsbc_alb    !   albedo parameters 
    139 !----------------------------------------------------------------------- 
     150 
     151   ln_qsr_rgb  = .true.    !  RGB (Red-Green-Blue) light penetration 
     152 
     153   nn_chldta   =      1    !  RGB : Chl data (=1) or cst value (=0) 
     154      cn_dir   = './'         !  root directory for the location of the runoff files 
    140155/ 
    141156!----------------------------------------------------------------------- 
     
    144159   ln_non_lin = .true.     !  non-linear  drag: Cd = Cd0 |U| 
    145160/ 
    146 !----------------------------------------------------------------------- 
    147 &nambbc        !   bottom temperature boundary condition                (default: NO) 
    148 !----------------------------------------------------------------------- 
    149 / 
    150 !----------------------------------------------------------------------- 
    151 &nameos        !   ocean physical parameters 
     161 
     162!!====================================================================== 
     163!!                        Tracer (T & S) namelists 
     164!!====================================================================== 
     165! 
     166!----------------------------------------------------------------------- 
     167&nameos        !   ocean physical parameters                            (default: NO selection) 
    152168!----------------------------------------------------------------------- 
    153169   ln_eos80    = .true.         !  = Use EOS80 equation of state 
    154170/ 
    155171!----------------------------------------------------------------------- 
    156 &namtra_adv    !   advection scheme for tracer 
     172&namtra_adv    !   advection scheme for tracer                          (default: NO selection) 
    157173!----------------------------------------------------------------------- 
    158174   ln_traadv_NONE= .true.  !  No tracer advection 
    159175/ 
    160176!----------------------------------------------------------------------- 
    161 &namtra_adv_mle !  mixed layer eddy parametrisation (Fox-Kemper param)  (default: NO) 
    162 !----------------------------------------------------------------------- 
    163 / 
    164 !----------------------------------------------------------------------- 
    165177&namtra_ldf    !   lateral diffusion scheme for tracers 
    166178!----------------------------------------------------------------------- 
    167179   ln_traldf_NONE= .true.  ! No operator (no explicit diffusion) 
    168180/ 
    169 !----------------------------------------------------------------------- 
    170 &namtra_ldfeiv !   eddy induced velocity param.                         (default: NO) 
    171 !----------------------------------------------------------------------- 
    172 / 
    173 !----------------------------------------------------------------------- 
    174 &namtra_dmp    !   tracer: T & S newtonian damping 
    175 !----------------------------------------------------------------------- 
    176    ln_tradmp   =  .false.  !  add a damping termn (T) or not (F) 
    177 / 
    178 !----------------------------------------------------------------------- 
    179 &namdyn_adv    !   formulation of the momentum advection                (default: None) 
     181 
     182!!====================================================================== 
     183!!                      ***  Dynamics namelists  ***                  !! 
     184!!====================================================================== 
     185! 
     186!----------------------------------------------------------------------- 
     187&nam_vvl       !   vertical coordinate options                          (default: z-star) 
     188!----------------------------------------------------------------------- 
     189/ 
     190!----------------------------------------------------------------------- 
     191&namdyn_adv    !   formulation of the momentum advection                (default: selection) 
    180192!----------------------------------------------------------------------- 
    181193   ln_dynadv_NONE= .true.  !  linear dynamics (no momentum advection) 
    182194/ 
    183195!----------------------------------------------------------------------- 
    184 &namdyn_vor    !   option of physics/algorithm (not control by CPP keys) 
    185 !----------------------------------------------------------------------- 
    186 / 
    187 !----------------------------------------------------------------------- 
    188 &namc1d_uvd    !   data: U & V currents                                 ("key_c1d") 
    189 !----------------------------------------------------------------------- 
    190 / 
    191 !----------------------------------------------------------------------- 
    192 &namc1d_dyndmp !   U & V newtonian damping                              ("key_c1d") 
    193 !----------------------------------------------------------------------- 
     196&namdyn_vor    !   Vorticity / Coriolis scheme                          (default: NO selection) 
     197!----------------------------------------------------------------------- 
     198   ln_dynvor_ene = .true.  !  energy    conserving scheme 
    194199/ 
    195200!----------------------------------------------------------------------- 
     
    198203/ 
    199204!----------------------------------------------------------------------- 
    200 &namdyn_spg    !   surface pressure gradient                            (default: NO spg) 
     205&namdyn_spg    !   surface pressure gradient                            (default: NO) 
    201206!----------------------------------------------------------------------- 
    202207/ 
     
    206211   ln_dynldf_NONE= .true.     ! No operator (no explicit diffusion) 
    207212/ 
     213 
     214!!====================================================================== 
     215!!                     vertical physics namelists                     !! 
     216!!====================================================================== 
     217! 
    208218!----------------------------------------------------------------------- 
    209219&namzdf        !   vertical physics                                     (default: NO selection) 
     
    258268!----------------------------------------------------------------------- 
    259269/ 
    260 !----------------------------------------------------------------------- 
    261 &namctl        !   Control prints & Benchmark 
    262 !----------------------------------------------------------------------- 
    263 / 
    264 !----------------------------------------------------------------------- 
    265 &namtrd        !   diagnostics on dynamics and/or tracer trends         ("key_trddyn" and/or "key_trdtra") 
    266 !              !       or mixed-layer trends or barotropic vorticity    ("key_trdmld" or     "key_trdvor") 
    267 !----------------------------------------------------------------------- 
    268 / 
    269 !----------------------------------------------------------------------- 
    270 &namhsb       !  Heat and salt budgets 
    271 !----------------------------------------------------------------------- 
    272 / 
    273 !----------------------------------------------------------------------- 
    274 &namobs       !  observation usage switch                               ('key_diaobs') 
    275 !----------------------------------------------------------------------- 
    276 / 
  • branches/2017/dev_merge_2017/NEMOGCM/CONFIG/GYRE_BFM/EXP00/namelist_cfg

    r9356 r9490  
    11!!>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
    2 !! NEMO/OPA  : GYRE_PISCES Configuration namelist to overwrite reference dynamical namelist 
     2!! NEMO/OPA  : GYRE Configuration namelist : overwrite reference namelist 
    33!!>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
    4 !----------------------------------------------------------------------- 
    5 &namusr_def    !   GYRE user defined namelist   
    6 !----------------------------------------------------------------------- 
    7    nn_GYRE     =     1     !  GYRE resolution [1/degrees] 
    8    ln_bench    = .false.   !  ! =T benchmark with gyre: the gridsize is kept constant 
    9    jpkglo      =    31     !  number of model levels 
    10 / 
     4 
     5!!====================================================================== 
     6!!              ***  Domain & Run management namelists  ***           !! 
     7!!                                                                    !! 
     8!!   namrun       parameters of the run 
     9!!   namdom       space and time domain 
     10!!   namcfg       parameters of the configuration                       (default: user defined GYRE) 
     11!!   namwad       Wetting and drying                                    (default NO) 
     12!!   namtsd       data: temperature & salinity                          (default NO) 
     13!!   namcrs       coarsened grid (for outputs and/or TOP)               (ln_crs =T) 
     14!!   namc1d       1D configuration options                              ("key_c1d") 
     15!!   namc1d_dyndmp 1D newtonian damping applied on currents             ("key_c1d") 
     16!!   namc1d_uvd   1D data (currents)                                    ("key_c1d") 
     17!!====================================================================== 
     18! 
    1119!----------------------------------------------------------------------- 
    1220&namrun        !   parameters of the run 
     
    1826   nn_stock    =    4320   !  frequency of creation of a restart file (modulo referenced to 1) 
    1927   nn_write    =      60   !  frequency of write in the output file   (modulo referenced to nn_it000) 
     28   nn_istate   =       0   !  output the initial state (1) or not (0) 
    2029/ 
    2130!----------------------------------------------------------------------- 
    2231&namcfg        !   parameters of the configuration                      (default: user defined GYRE) 
    2332!----------------------------------------------------------------------- 
    24    ln_read_cfg = .false.   !  (=T) read the domain configuration file 
    25       !                    !  (=F) user defined configuration  ==>>>  see usrdef(_...) modules 
    26    ln_write_cfg= .false.   !  (=T) create the domain configuration file 
    27 ! 
     33   ln_read_cfg = .false.   !  (=F) user defined configuration           (F => create/check namusr_def) 
     34/ 
     35!----------------------------------------------------------------------- 
     36&namusr_def    !   GYRE user defined namelist   
     37!----------------------------------------------------------------------- 
     38   nn_GYRE     =     1     !  GYRE resolution [1/degrees] 
     39   ln_bench    = .false.   !  ! =T benchmark with gyre: the gridsize is kept constant 
     40   jpkglo      =    31     !  number of model levels 
    2841/ 
    2942!----------------------------------------------------------------------- 
    3043&namdom        !   time and space domain 
    3144!----------------------------------------------------------------------- 
    32      ln_linssh   = .true.    !  =T  linear free surface  ==>>  model level are fixed in time        |  ------------------------------------------------------------------------------------------------- 
    33      !                                                                                              |  ------------------------------------------------------------------------------------------------- 
    34      rn_rdt      = 7200.     !  time step for the dynamics (and tracer if nn_acc=0) 
    35 / 
    36 !----------------------------------------------------------------------- 
    37 &namtsd        !   data : Temperature  & Salinity 
    38 !----------------------------------------------------------------------- 
    39 !              !  file name                 ! frequency (hours) ! variable ! time interp.!  clim  ! 'yearly'/ ! weights  ! rotation ! land/sea mask ! 
    40 !              !                            !  (if <0  months)  !   name   !  (logical)  !  (T/F) ! 'monthly' ! filename ! pairing  ! filename      ! 
    41    cn_dir        = './'      !  root directory for the location of the runoff files 
    42    ln_tsd_init   = .false.   !  Initialisation of ocean T & S with T &S input data (T) or not (F) 
    43    ln_tsd_tradmp = .false.   !  damping of ocean T & S toward T &S input data (T) or not (F) 
    44 / 
    45 !----------------------------------------------------------------------- 
    46 &namwad        !   Wetting and drying  default is no WAD 
    47 !----------------------------------------------------------------------- 
    48 / 
    49 !----------------------------------------------------------------------- 
    50 &namcrs        !   coarsened grid (for outputs and/or TOP)              (ln_crs =T) 
    51 !----------------------------------------------------------------------- 
    52 / 
    53 !----------------------------------------------------------------------- 
    54 &namc1d        !   1D configuration options                             ("key_c1d") 
    55 !----------------------------------------------------------------------- 
    56 / 
    57 !----------------------------------------------------------------------- 
    58 &namc1d_dyndmp !   U & V newtonian damping                              ("key_c1d") 
    59 !----------------------------------------------------------------------- 
    60 / 
    61 !----------------------------------------------------------------------- 
    62 &namc1d_uvd    !   data: U & V currents                                 ("key_c1d") 
    63 !----------------------------------------------------------------------- 
    64 / 
    65 !----------------------------------------------------------------------- 
    66 &namsbc        !   Surface Boundary Condition (surface module) 
    67 !----------------------------------------------------------------------- 
    68    nn_fsbc     = 1         !  frequency of surface boundary condition computation 
    69                            !     (also = the frequency of sea-ice model call) 
     45   ln_linssh   = .true.    !  =T  linear free surface  ==>>  model level are fixed in time 
     46   ! 
     47   rn_rdt      = 7200.     !  time step for the dynamics 
     48/ 
     49 
     50!!====================================================================== 
     51!!            ***  Surface Boundary Condition namelists  ***          !! 
     52!!                                                                    !! 
     53!!   namsbc          surface boundary condition manager                 (default: NO selection) 
     54!!   namsbc_flx      flux               formulation                     (ln_flx     =T) 
     55!!   namsbc_blk      Bulk formulae formulation                          (ln_blk     =T) 
     56!!   namsbc_cpl      CouPLed            formulation                     ("key_oasis3" ) 
     57!!   namsbc_sas      Stand-Alone Surface module                         (SAS_SRC  only) 
     58!!   namsbc_iif      Ice-IF: use observed ice cover                     (nn_ice = 1   ) 
     59!!   namtra_qsr      penetrative solar radiation                        (ln_traqsr  =T) 
     60!!   namsbc_ssr      sea surface restoring term (for T and/or S)        (ln_ssr     =T) 
     61!!   namsbc_rnf      river runoffs                                      (ln_rnf     =T) 
     62!!   namsbc_apr      Atmospheric Pressure                               (ln_apr_dyn =T) 
     63!!   namsbc_isf      ice shelf melting/freezing                         (ln_isfcav  =T : read (ln_read_cfg=T) or set or usr_def_zgr ) 
     64!!   namsbc_iscpl    coupling option between land ice model and ocean   (ln_isfcav  =T) 
     65!!   namsbc_wave     external fields from wave model                    (ln_wave    =T) 
     66!!   namberg         iceberg floats                                     (ln_icebergs=T) 
     67!!====================================================================== 
     68! 
     69!----------------------------------------------------------------------- 
     70&namsbc        !   Surface Boundary Condition (surface module)          (default: NO selection) 
     71!----------------------------------------------------------------------- 
     72   nn_fsbc     = 1         !  frequency of SBC module call 
    7073   ln_usr      = .true.    !  user defined formulation                  (T => check usrdef_sbc) 
    71    ln_blk      = .false.   !  Bulk formulation                          (T => fill namsbc_blk ) 
    72    nn_ice      = 0         !  =0 no ice boundary condition   , 
    73    ln_rnf      = .false.   !  runoffs                                   (T => fill namsbc_rnf) 
    74    ln_ssr      = .false.   !  Sea Surface Restoring on T and/or S       (T => fill namsbc_ssr) 
    75    nn_fwb      = 0         !  FreshWater Budget: =0 unchecked 
    76 / 
    77 !----------------------------------------------------------------------- 
    78 &namsbc_flx    !   surface boundary condition : flux formulation 
    79 !----------------------------------------------------------------------- 
    80 / 
    81 !----------------------------------------------------------------------- 
    82 &namsbc_blk   !   namsbc_blk  generic Bulk formula                      (ln_blk =T) 
    83 !----------------------------------------------------------------------- 
    84 / 
    85 !----------------------------------------------------------------------- 
    86 &namsbc_cpl    !   coupled ocean/atmosphere model                       ("key_oasis3") 
    87 !----------------------------------------------------------------------- 
    88 / 
    89 !----------------------------------------------------------------------- 
    90 &namsbc_sas    !   Stand-Alone Surface boundary condition 
    91 !----------------------------------------------------------------------- 
    92 / 
    93 !----------------------------------------------------------------------- 
    94 &namsbc_iif    !   Ice-IF : use observed ice cover                      (nn_ice = 1) 
    95 !----------------------------------------------------------------------- 
     74   ln_traqsr   = .true.    !  Light penetration in the ocean            (T => fill namtra_qsr) 
    9675/ 
    9776!----------------------------------------------------------------------- 
    9877&namtra_qsr    !   penetrative solar radiation                          (ln_traqsr =T) 
    9978!----------------------------------------------------------------------- 
    100    ln_qsr_rgb  = .false.   !  RGB (Red-Green-Blue) light penetration 
    10179   ln_qsr_2bd  = .true.    !  2 bands              light penetration 
    10280   nn_chldta   =      0    !  RGB : Chl data (=1) or cst value (=0) 
    10381/ 
    104 !----------------------------------------------------------------------- 
    105 &namsbc_rnf    !   runoffs namelist surface boundary condition          (ln_rnf =T) 
    106 !----------------------------------------------------------------------- 
    107    ln_rnf_mouth = .false.   !  specific treatment at rivers mouths 
    108 / 
    109 !----------------------------------------------------------------------- 
    110 &namsbc_isf    !  Top boundary layer (ISF)                              (nn_isf >0) 
    111 !----------------------------------------------------------------------- 
    112 / 
    113 !----------------------------------------------------------------------- 
    114 &namsbc_iscpl  !   land ice / ocean coupling option                      
    115 !----------------------------------------------------------------------- 
    116 / 
    117 !----------------------------------------------------------------------- 
    118 &namsbc_apr    !   Atmospheric pressure used as ocean forcing           (ln_apr_dyn =T) 
    119 !----------------------------------------------------------------------- 
    120 / 
    121 !----------------------------------------------------------------------- 
    122 &namsbc_ssr    !   surface boundary condition : sea surface restoring   (ln_ssr =T) 
    123 !----------------------------------------------------------------------- 
    124 / 
    125 !----------------------------------------------------------------------- 
    126 &namsbc_wave   ! External fields from wave model                        (ln_wave=T) 
    127 !----------------------------------------------------------------------- 
    128 / 
    129 !----------------------------------------------------------------------- 
    130 &namberg       !   iceberg parameters                                   (default: No iceberg) 
    131 !----------------------------------------------------------------------- 
    132 / 
    133 !----------------------------------------------------------------------- 
    134 &namlbc        !   lateral momentum boundary condition 
    135 !----------------------------------------------------------------------- 
    136    !                       !  free slip  !   partial slip  !   no slip   ! strong slip 
    137    rn_shlat    =    0.     !  shlat = 0  !  0 < shlat < 2  !  shlat = 2  !  2 < shlat 
    138 / 
    139 !----------------------------------------------------------------------- 
    140 &namagrif      !  AGRIF zoom                                            ("key_agrif") 
    141 !----------------------------------------------------------------------- 
    142 / 
    143 !----------------------------------------------------------------------- 
    144 &nam_tide      !   tide parameters 
    145 !----------------------------------------------------------------------- 
    146 / 
    147 !----------------------------------------------------------------------- 
    148 &nambdy        !  unstructured open boundaries                           
    149 !----------------------------------------------------------------------- 
    150 / 
    151 !----------------------------------------------------------------------- 
    152 &nambdy_dta    !  open boundaries - external data                        
    153 !----------------------------------------------------------------------- 
    154 / 
    155 !----------------------------------------------------------------------- 
    156 &nambdy_tide   !  tidal forcing at open boundaries 
    157 !----------------------------------------------------------------------- 
    158 / 
     82 
     83!!====================================================================== 
     84!!               ***  Lateral boundary condition  ***                 !! 
     85!!                                                                    !! 
     86!!   namlbc        lateral momentum boundary condition                  (default: no slip) 
     87!!   namagrif      agrif nested grid ( read by child model only )       ("key_agrif") 
     88!!   nam_tide      Tidal forcing                                        (default: NO) 
     89!!   nambdy        Unstructured open boundaries                         (default: NO) 
     90!!   nambdy_dta    Unstructured open boundaries - external data         (see  nambdy) 
     91!!   nambdy_tide   tidal forcing at open boundaries                     (default: NO) 
     92!!====================================================================== 
     93! 
     94!!====================================================================== 
     95!!                ***  Top/Bottom boundary condition  ***             !! 
     96!!                                                                    !! 
     97!!   namdrg        top/bottom drag coefficient                          (default: NO selection) 
     98!!   namdrg_top    top    friction                                      (ln_NONE=F & ln_isfcav=T) 
     99!!   namdrg_bot    bottom friction                                      (ln_NONE=F) 
     100!!   nambbc        bottom temperature boundary condition                (default: NO) 
     101!!   nambbl        bottom boundary layer scheme                         (default: NO) 
     102!!====================================================================== 
     103! 
    159104!----------------------------------------------------------------------- 
    160105&namdrg        !   top/bottom drag coefficient                          (default: NO selection) 
     
    162107   ln_non_lin = .true.     !  non-linear  drag: Cd = Cd0 |U| 
    163108/ 
    164 !----------------------------------------------------------------------- 
    165 &namdrg_top    !   TOP friction                                         (ln_isfcav=T) 
    166 !----------------------------------------------------------------------- 
    167 / 
    168 !----------------------------------------------------------------------- 
    169 &namdrg_bot    !   BOTTOM friction                                   
    170 !----------------------------------------------------------------------- 
    171 / 
    172 !----------------------------------------------------------------------- 
    173 &nambbc        !   bottom temperature boundary condition                (default: NO) 
    174 !----------------------------------------------------------------------- 
    175 / 
    176 !----------------------------------------------------------------------- 
    177 &nambbl        !   bottom boundary layer scheme                         (default: NO) 
    178 !----------------------------------------------------------------------- 
    179 / 
    180 !----------------------------------------------------------------------- 
    181 &nameos        !   ocean Equation Of Seawater                           (default: NO) 
    182 !----------------------------------------------------------------------- 
    183    ln_eos80    = .true.         !  = Use EOS80 equation of state 
     109 
     110!!====================================================================== 
     111!!                        Tracer (T & S) namelists                    !! 
     112!!                                                                    !! 
     113!!   nameos           equation of state                                 (default: NO selection) 
     114!!   namtra_adv       advection scheme                                  (default: NO selection) 
     115!!   namtra_ldf       lateral diffusion scheme                          (default: NO selection) 
     116!!   namtra_adv_mle   mixed layer eddy param. (Fox-Kemper param.)       (default: NO) 
     117!!   namtra_eiv       eddy induced velocity param.                      (default: NO) 
     118!!   namtra_dmp       T & S newtonian damping                           (default: NO) 
     119!!====================================================================== 
     120! 
     121!----------------------------------------------------------------------- 
     122&nameos        !   ocean Equation Of Seawater                           (default: NO selection) 
     123!----------------------------------------------------------------------- 
     124   ln_eos80    = .true.      !  = Use EOS80 equation of state 
    184125/ 
    185126!----------------------------------------------------------------------- 
     
    191132/ 
    192133!----------------------------------------------------------------------- 
    193 &namtra_adv_mle !   mixed layer eddy parametrisation (Fox-Kemper param) (default: NO) 
    194 !----------------------------------------------------------------------- 
    195 / 
    196 !----------------------------------------------------------------------- 
    197134&namtra_ldf    !   lateral diffusion scheme for tracers                 (default: NO selection) 
    198135!----------------------------------------------------------------------- 
    199    !                       !  Operator type: 
    200    ln_traldf_NONE  =  .false.  !  No explicit diffusion 
    201136   ln_traldf_lap   =  .true.   !    laplacian operator 
    202    ln_traldf_blp   =  .false.  !  bilaplacian operator 
    203    !                       !  Direction of action: 
    204    ln_traldf_lev   =  .false.  !  iso-level 
    205    ln_traldf_hor   =  .false.  !  horizontal (geopotential) 
    206137   ln_traldf_iso   =  .true.   !  iso-neutral (standard operator) 
    207    ln_traldf_triad =  .false.  !  iso-neutral (triad    operator) 
    208    ! 
    209    !                       !  iso-neutral options:         
    210    ln_traldf_msc   =  .true.   !  Method of Stabilizing Correction (both operators) 
    211    rn_slpmax       =   0.01    !  slope limit                      (both operators) 
    212    ln_triad_iso    =  .false.  !  pure horizontal mixing in ML              (triad only) 
    213    rn_sw_triad     =  1        !  =1 switching triad ; =0 all 4 triads used (triad only) 
    214    ln_botmix_triad =  .false.  !  lateral mixing on bottom                  (triad only) 
    215    ! 
    216    !                       !  Coefficients: 
    217    nn_aht_ijk_t    = 0         !  space/time variation of eddy coef 
    218    !                                !   =-20 (=-30)    read in eddy_diffusivity_2D.nc (..._3D.nc) file 
    219    !                                !   =  0           constant  
    220    !                                !   = 10 F(k)      =ldf_c1d  
    221    !                                !   = 20 F(i,j)    =ldf_c2d  
    222    !                                !   = 21 F(i,j,t)  =Treguier et al. JPO 1997 formulation 
    223    !                                !   = 30 F(i,j,k)  =ldf_c2d + ldf_c1d 
    224    !                                !   = 31 F(i,j,k,t)=F(local velocity) 
    225    rn_aht_0        = 1000.     !  lateral eddy diffusivity   (lap. operator) [m2/s] 
    226    rn_bht_0        = 1.e+12    !  lateral eddy diffusivity (bilap. operator) [m4/s] 
    227 / 
    228 !----------------------------------------------------------------------- 
    229 &namtra_ldfeiv !   eddy induced velocity param.                         (default: NO) 
    230 !----------------------------------------------------------------------- 
    231    ln_ldfeiv     =.false.   ! use eddy induced velocity parameterization 
    232 / 
    233 !----------------------------------------------------------------------- 
    234 &namtra_dmp    !   tracer: T & S newtonian damping                      (default: NO) 
    235 !----------------------------------------------------------------------- 
    236    ln_tradmp   =  .false.  !  add a damping termn (T) or not (F) 
    237 / 
    238 !----------------------------------------------------------------------- 
    239 &nam_vvl       !   vertical coordinate options                          (default: z-star) 
    240 !----------------------------------------------------------------------- 
    241 / 
     138   nn_aht_ijk_t    = 0         !  = 0   constant = 1/2  Ud*Ld   (lap case)  
     139      rn_Ud        = 0.02           !  lateral diffusive velocity [m/s] 
     140      rn_Ld        = 100.e+3        !  lateral diffusive length   [m] 
     141/ 
     142 
     143!!====================================================================== 
     144!!                      ***  Dynamics namelists  ***                  !! 
     145!!                                                                    !! 
     146!!   nam_vvl       vertical coordinate options                          (default: z-star) 
     147!!   namdyn_adv    formulation of the momentum advection                (default: NO selection) 
     148!!   namdyn_vor    advection scheme                                     (default: NO selection) 
     149!!   namdyn_hpg    hydrostatic pressure gradient                        (default: NO selection) 
     150!!   namdyn_spg    surface pressure gradient                            (default: NO selection) 
     151!!   namdyn_ldf    lateral diffusion scheme                             (default: NO selection) 
     152!!   namdta_dyn    offline TOP: dynamics read in files                  (OFF_SRC only) 
     153!!====================================================================== 
     154! 
    242155!----------------------------------------------------------------------- 
    243156&namdyn_adv    !   formulation of the momentum advection                (default: NO selection) 
     
    247160/ 
    248161!----------------------------------------------------------------------- 
    249 &namdyn_vor    !   Vorticity / Coriolis scheme                          (default: NO) 
     162&namdyn_vor    !   Vorticity / Coriolis scheme                          (default: NO selection) 
    250163!----------------------------------------------------------------------- 
    251164   ln_dynvor_ene = .true.  !  enstrophy conserving scheme 
    252    ln_dynvor_ens = .false. !  energy conserving scheme 
    253    ln_dynvor_mix = .false. !  mixed scheme 
    254    ln_dynvor_een = .false. !  energy & enstrophy scheme 
    255       nn_een_e3f = 1             !  e3f = masked averaging of e3t divided by 4 (=0) or by the sum of mask (=1) 
    256165/ 
    257166!----------------------------------------------------------------------- 
     
    259168!----------------------------------------------------------------------- 
    260169   ln_hpg_zco  = .true.    !  z-coordinate - full steps 
    261    ln_hpg_zps  = .false.   !  z-coordinate - partial steps (interpolation) 
    262 / 
    263 !----------------------------------------------------------------------- 
    264 &namdyn_spg    !   surface pressure gradient                            (default: NO) 
     170/ 
     171!----------------------------------------------------------------------- 
     172&namdyn_spg    !   surface pressure gradient                            (default: NO selection) 
    265173!----------------------------------------------------------------------- 
    266174   ln_dynspg_ts  = .true.  !  split-explicit free surface 
     
    269177&namdyn_ldf    !   lateral diffusion on momentum                        (default: NO selection) 
    270178!----------------------------------------------------------------------- 
    271    !                       !  Type of the operator : 
    272    ln_dynldf_NONE=  .false.    !  No operator (i.e. no explicit diffusion) 
    273179   ln_dynldf_lap =  .true.     !    laplacian operator 
    274    ln_dynldf_blp =  .false.    !  bilaplacian operator 
    275    !                       !  Direction of action  : 
    276180   ln_dynldf_lev =  .true.     !  iso-level 
    277    ln_dynldf_hor =  .false.    !  horizontal (geopotential) 
    278    ln_dynldf_iso =  .false.    !  iso-neutral 
    279    !                       !  Coefficient 
    280    nn_ahm_ijk_t  = 0           !  space/time variation of eddy coef 
    281    !                                !  =-30  read in eddy_viscosity_3D.nc file 
    282    !                                !  =-20  read in eddy_viscosity_2D.nc file 
    283    !                                !  =  0  constant  
    284    !                                !  = 10  F(k)=c1d 
    285    !                                !  = 20  F(i,j)=F(grid spacing)=c2d 
    286    !                                !  = 30  F(i,j,k)=c2d*c1d 
    287    !                                !  = 31  F(i,j,k)=F(grid spacing and local velocity) 
    288    rn_ahm_0      = 100000.     !  horizontal laplacian eddy viscosity   [m2/s] 
    289    rn_ahm_b      =      0.     !  background eddy viscosity for ldf_iso [m2/s] 
    290    rn_bhm_0      =      0.     !  horizontal bilaplacian eddy viscosity [m4/s] 
    291 / 
     181   nn_ahm_ijk_t  = 0           !  = 0  constant = 1/2  Uv*Lv   (lap case)  
     182      rn_Uv      = 2.0              !  lateral viscous velocity [m/s]  
     183      rn_Lv      = 100.e+3          !  lateral viscous length   [m] 
     184/ 
     185 
     186!!====================================================================== 
     187!!                     vertical physics namelists                     !! 
     188!!                                                                    !! 
     189!!    namzdf        vertical physics manager                            (default: NO selection) 
     190!!    namzdf_ric    richardson number vertical mixing                   (ln_zdfric=T) 
     191!!    namzdf_tke    TKE vertical mixing                                 (ln_zdftke=T) 
     192!!    namzdf_gls    GLS vertical mixing                                 (ln_zdfgls=T) 
     193!!    namzdf_osm    OSM vertical diffusion                              (ln_zdfosm=T) 
     194!!    namzdf_iwm    tidal mixing parameterization                       (ln_zdfiwm=T) 
     195!!====================================================================== 
     196! 
    292197!----------------------------------------------------------------------- 
    293198&namzdf        !   vertical physics                                     (default: NO selection) 
    294199!----------------------------------------------------------------------- 
    295    !                       ! type of vertical closure 
    296    ln_zdfcst   = .false.      !  constant mixing 
    297    ln_zdfric   = .false.      !  local Richardson dependent formulation (T =>   fill namzdf_ric) 
    298200   ln_zdftke   = .true.       !  Turbulent Kinetic Energy closure       (T =>   fill namzdf_tke) 
    299    ln_zdfgls   = .false.      !  Generic Length Scale closure           (T =>   fill namzdf_gls) 
    300    ln_zdfosm   = .false.      !  OSMOSIS BL closure                     (T =>   fill namzdf_osm) 
    301    ! 
    302    !                       ! convection 
    303201   ln_zdfevd   = .true.       !  enhanced vertical diffusion 
    304202      nn_evdm     =    1         ! apply on tracer (=0) or on tracer and momentum (=1) 
    305203      rn_evd      =  100.        ! mixing coefficient [m2/s] 
    306    ln_zdfnpc   = .false.      !  Non-Penetrative Convective algorithm 
    307       nn_npc      =    1         ! frequency of application of npc 
    308       nn_npcp     =  365         ! npc control print frequency 
    309    ! 
    310    ln_zdfddm   = .false.   ! double diffusive mixing 
    311       rn_avts  =    1.e-4     !  maximum avs (vertical mixing on salinity) 
    312       rn_hsbfr =    1.6       !  heat/salt buoyancy flux ratio 
    313    ! 
    314    !                       ! gravity wave-driven vertical mixing 
    315    ln_zdfiwm   = .false.      ! internal wave-induced mixing            (T =>   fill namzdf_iwm) 
    316    ln_zdfswm   = .false.      ! surface  wave-induced mixing            (T => ln_wave=ln_sdw=T ) 
    317    ! 
    318204   !                       ! coefficients 
    319205   rn_avm0     =   1.2e-4     !  vertical eddy viscosity   [m2/s]       (background Kz if ln_zdfcst=F) 
     
    323209/ 
    324210!----------------------------------------------------------------------- 
    325 &namzdf_ric    !   richardson number dependent vertical diffusion       (ln_zdfric =T) 
    326 !----------------------------------------------------------------------- 
    327 / 
    328 !----------------------------------------------------------------------- 
    329211&namzdf_tke    !   turbulent eddy kinetic dependent vertical diffusion  (ln_zdftke =T) 
    330212!----------------------------------------------------------------------- 
    331213   nn_etau     =   0       !  penetration of tke below the mixed layer (ML) due to internal & intertial waves 
    332214/ 
    333 !----------------------------------------------------------------------- 
    334 &namzdf_gls    !   GLS vertical diffusion                               (ln_zdfgls =T) 
    335 !----------------------------------------------------------------------- 
    336 / 
    337 !----------------------------------------------------------------------- 
    338 &namzdf_osm    !   OSM vertical diffusion                               (ln_zdfosm =T) 
    339 !----------------------------------------------------------------------- 
    340 / 
    341 !----------------------------------------------------------------------- 
    342 &namzdf_iwm    !    internal wave-driven mixing parameterization        (ln_zdfiwm =T) 
    343 !----------------------------------------------------------------------- 
    344 / 
    345 !----------------------------------------------------------------------- 
    346 &nammpp        !   Massively Parallel Processing                        ("key_mpp_mpi") 
    347 !----------------------------------------------------------------------- 
    348 / 
    349 !----------------------------------------------------------------------- 
    350 &namctl        !   Control prints  
    351 !----------------------------------------------------------------------- 
    352 / 
    353 !----------------------------------------------------------------------- 
    354 &namsto        ! Stochastic parametrization of EOS                      (default: NO) 
    355 !----------------------------------------------------------------------- 
    356 / 
    357 !----------------------------------------------------------------------- 
    358 &namtrd        !   trend diagnostics                                    (default F) 
    359 !----------------------------------------------------------------------- 
    360 / 
    361 !----------------------------------------------------------------------- 
    362 &namptr        !   Poleward Transport Diagnostic                        (default F) 
    363 !----------------------------------------------------------------------- 
    364 / 
    365 !----------------------------------------------------------------------- 
    366 &namhsb        !  Heat and salt budgets                                 (default F) 
    367 !----------------------------------------------------------------------- 
    368 / 
    369 !----------------------------------------------------------------------- 
    370 &namdiu        !   Cool skin and warm layer models                      (default F) 
    371 !----------------------------------------------------------------------- 
    372 / 
    373 !----------------------------------------------------------------------- 
    374 &namflo        !   float parameters                                     ("key_float") 
    375 !----------------------------------------------------------------------- 
    376 / 
    377 !----------------------------------------------------------------------- 
    378 &nam_diaharm   !   Harmonic analysis of tidal constituents              ("key_diaharm") 
    379 !----------------------------------------------------------------------- 
    380 / 
    381 !----------------------------------------------------------------------- 
    382 &namdct        ! transports through some sections                       ("key_diadct") 
    383 !----------------------------------------------------------------------- 
    384     nn_dct      = 60       !  time step frequency for transports computing 
    385     nn_dctwri   = 60       !  time step frequency for transports writing 
    386     nn_secdebug = 0        !      0 : no section to debug 
    387 / 
    388 !----------------------------------------------------------------------- 
    389 &nam_diatmb    !  Top Middle Bottom Output                              (default F) 
    390 !----------------------------------------------------------------------- 
    391 / 
    392 !----------------------------------------------------------------------- 
    393 &nam_dia25h    !  25h Mean Output                                       (default F) 
    394 !----------------------------------------------------------------------- 
    395 / 
    396 !----------------------------------------------------------------------- 
    397 &namnc4        !   netcdf4 chunking and compression settings            ("key_netcdf4") 
    398 !----------------------------------------------------------------------- 
    399 / 
    400 !----------------------------------------------------------------------- 
    401 &namobs        !  observation usage switch 
    402 !----------------------------------------------------------------------- 
    403 / 
    404 !----------------------------------------------------------------------- 
    405 &nam_asminc    !   assimilation increments                              ('key_asminc') 
    406 !----------------------------------------------------------------------- 
    407 / 
    408 !----------------------------------------------------------------------- 
    409 &namdta_dyn    !   offline dynamics read in files                       ("key_offline") 
    410 !----------------------------------------------------------------------- 
    411 / 
     215 
     216!!====================================================================== 
     217!!                  ***  Diagnostics namelists  ***                   !! 
     218!!                                                                    !! 
     219!!   namtrd       dynamics and/or tracer trends                         (default NO) 
     220!!   namptr       Poleward Transport Diagnostics                        (default NO) 
     221!!   namhsb       Heat and salt budgets                                 (default NO) 
     222!!   namdiu       Cool skin and warm layer models                       (default NO) 
     223!!   namdiu       Cool skin and warm layer models                       (default NO) 
     224!!   namflo       float parameters                                      ("key_float") 
     225!!   nam_diaharm  Harmonic analysis of tidal constituents               ("key_diaharm") 
     226!!   namdct       transports through some sections                      ("key_diadct") 
     227!!   nam_diatmb   Top Middle Bottom Output                              (default NO) 
     228!!   nam_dia25h   25h Mean Output                                       (default NO) 
     229!!   namnc4       netcdf4 chunking and compression settings             ("key_netcdf4") 
     230!!====================================================================== 
     231 
     232!!====================================================================== 
     233!!               ***  Observation & Assimilation  ***                 !! 
     234!!                                                                    !! 
     235!!   namobs       observation and model comparison                      (default: NO) 
     236!!   nam_asminc   assimilation increments                               ('key_asminc') 
     237!!====================================================================== 
  • branches/2017/dev_merge_2017/NEMOGCM/CONFIG/GYRE_BFM/EXP00/namelist_top_cfg

    r9356 r9490  
    3232&namtrc_ldf      !   lateral diffusion scheme for passive tracer  
    3333!----------------------------------------------------------------------- 
     34!                            !  Type of the operator: 
     35   ln_trcldf_NONE  =  .false.    !  No explicit diffusion 
     36   ln_trcldf_tra   =  .true.     !  use active tracer setting 
     37   !                         !  Coefficient (defined with namtra_ldf coefficient) 
     38   rn_ldf_multi    = 1.          !  multiplier of aht for TRC mixing coefficient 
     39   rn_fact_lap     = 1.          !  Equatorial enhanced zonal eddy diffusivity (lap only) 
    3440/ 
    3541!----------------------------------------------------------------------- 
  • branches/2017/dev_merge_2017/NEMOGCM/CONFIG/GYRE_PISCES/EXP00/file_def_nemo.xml

    r7828 r9490  
    4848          <field field_ref="woce"         name="vovecrtz" /> 
    4949          <field field_ref="avt"          name="votkeavt" /> 
    50           <field field_ref="aht2d"        name="soleahtw" /> 
    5150        </file> 
    5251 
  • branches/2017/dev_merge_2017/NEMOGCM/CONFIG/GYRE_PISCES/EXP00/namelist_cfg

    r9356 r9490  
    11!!>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
    2 !! NEMO/OPA  : GYRE_PISCES Configuration namelist to overwrite reference dynamical namelist 
     2!! NEMO/OPA  : GYRE Configuration namelist : overwrite reference namelist 
    33!!>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
    4 !----------------------------------------------------------------------- 
    5 &namusr_def    !   GYRE user defined namelist   
    6 !----------------------------------------------------------------------- 
    7    nn_GYRE     =     1     !  GYRE resolution [1/degrees] 
    8    ln_bench    = .false.   !  ! =T benchmark with gyre: the gridsize is kept constant 
    9    jpkglo      =    31     !  number of model levels 
    10 / 
    11 !!====================================================================== 
    12 !!                   ***  Run management namelists  *** 
    13 !!====================================================================== 
     4 
     5!!====================================================================== 
     6!!              ***  Domain & Run management namelists  ***           !! 
     7!!                                                                    !! 
     8!!   namrun       parameters of the run 
     9!!   namdom       space and time domain 
     10!!   namcfg       parameters of the configuration                       (default: user defined GYRE) 
     11!!   namwad       Wetting and drying                                    (default NO) 
     12!!   namtsd       data: temperature & salinity                          (default NO) 
     13!!   namcrs       coarsened grid (for outputs and/or TOP)               (ln_crs =T) 
     14!!   namc1d       1D configuration options                              ("key_c1d") 
     15!!   namc1d_dyndmp 1D newtonian damping applied on currents             ("key_c1d") 
     16!!   namc1d_uvd   1D data (currents)                                    ("key_c1d") 
     17!!====================================================================== 
     18! 
    1419!----------------------------------------------------------------------- 
    1520&namrun        !   parameters of the run 
     
    2126   nn_stock    =    4320   !  frequency of creation of a restart file (modulo referenced to 1) 
    2227   nn_write    =      60   !  frequency of write in the output file   (modulo referenced to nn_it000) 
    23 / 
    24 !!====================================================================== 
    25 !!                      ***  Domain namelists  *** 
    26 !!====================================================================== 
     28   nn_istate   =       0   !  output the initial state (1) or not (0) 
     29/ 
    2730!----------------------------------------------------------------------- 
    2831&namcfg        !   parameters of the configuration                      (default: user defined GYRE) 
    2932!----------------------------------------------------------------------- 
    30    ln_read_cfg = .false.   !  (=T) read the domain configuration file 
    31       !                    !  (=F) user defined configuration  ==>>>  see usrdef(_...) modules 
    32    ln_write_cfg= .false.   !  (=T) create the domain configuration file 
    33       ! 
     33   ln_read_cfg = .false.   !  (=F) user defined configuration           (F => create/check namusr_def) 
     34/ 
     35!----------------------------------------------------------------------- 
     36&namusr_def    !   GYRE user defined namelist   
     37!----------------------------------------------------------------------- 
     38   nn_GYRE     =     1     !  GYRE resolution [1/degrees] 
     39   ln_bench    = .false.   !  ! =T benchmark with gyre: the gridsize is kept constant 
     40   jpkglo      =    31     !  number of model levels 
    3441/ 
    3542!----------------------------------------------------------------------- 
     
    3845   ln_linssh   = .true.    !  =T  linear free surface  ==>>  model level are fixed in time 
    3946   ! 
    40    rn_rdt      = 7200.     !  time step for the dynamics (and tracer if nn_acc=0) 
    41 / 
    42 !----------------------------------------------------------------------- 
    43 &namtsd        !   data : Temperature  & Salinity 
    44 !----------------------------------------------------------------------- 
    45 !              !  file name                 ! frequency (hours) ! variable ! time interp.!  clim  ! 'yearly'/ ! weights  ! rotation ! land/sea mask ! 
    46 !              !                            !  (if <0  months)  !   name   !  (logical)  !  (T/F) ! 'monthly' ! filename ! pairing  ! filename      ! 
    47    cn_dir        = './'      !  root directory for the location of the runoff files 
    48    ln_tsd_init   = .false.   !  Initialisation of ocean T & S with T &S input data (T) or not (F) 
    49    ln_tsd_tradmp = .false.   !  damping of ocean T & S toward T &S input data (T) or not (F) 
    50 / 
    51 !----------------------------------------------------------------------- 
    52 &namwad        !   Wetting and drying  default is no WAD 
    53 !----------------------------------------------------------------------- 
    54 / 
    55 !----------------------------------------------------------------------- 
    56 &namcrs        !   coarsened grid (for outputs and/or TOP)              (ln_crs =T) 
    57 !----------------------------------------------------------------------- 
    58 / 
    59 !----------------------------------------------------------------------- 
    60 &namc1d        !   1D configuration options                             ("key_c1d") 
    61 !----------------------------------------------------------------------- 
    62 / 
    63 !----------------------------------------------------------------------- 
    64 &namc1d_dyndmp !   U & V newtonian damping                              ("key_c1d") 
    65 !----------------------------------------------------------------------- 
    66 / 
    67 !----------------------------------------------------------------------- 
    68 &namc1d_uvd    !   data: U & V currents                                 ("key_c1d") 
    69 !----------------------------------------------------------------------- 
    70 / 
    71  
    72 !!====================================================================== 
    73 !!            ***  Surface Boundary Condition namelists  *** 
    74 !!====================================================================== 
    75 !----------------------------------------------------------------------- 
    76 &namsbc        !   Surface Boundary Condition (surface module) 
    77 !----------------------------------------------------------------------- 
    78    nn_fsbc     = 1         !  frequency of surface boundary condition computation 
    79                            !     (also = the frequency of sea-ice model call) 
     47   rn_rdt      = 7200.     !  time step for the dynamics 
     48/ 
     49 
     50!!====================================================================== 
     51!!            ***  Surface Boundary Condition namelists  ***          !! 
     52!!                                                                    !! 
     53!!   namsbc          surface boundary condition manager                 (default: NO selection) 
     54!!   namsbc_flx      flux               formulation                     (ln_flx     =T) 
     55!!   namsbc_blk      Bulk formulae formulation                          (ln_blk     =T) 
     56!!   namsbc_cpl      CouPLed            formulation                     ("key_oasis3" ) 
     57!!   namsbc_sas      Stand-Alone Surface module                         (SAS_SRC  only) 
     58!!   namsbc_iif      Ice-IF: use observed ice cover                     (nn_ice = 1   ) 
     59!!   namtra_qsr      penetrative solar radiation                        (ln_traqsr  =T) 
     60!!   namsbc_ssr      sea surface restoring term (for T and/or S)        (ln_ssr     =T) 
     61!!   namsbc_rnf      river runoffs                                      (ln_rnf     =T) 
     62!!   namsbc_apr      Atmospheric Pressure                               (ln_apr_dyn =T) 
     63!!   namsbc_isf      ice shelf melting/freezing                         (ln_isfcav  =T : read (ln_read_cfg=T) or set or usr_def_zgr ) 
     64!!   namsbc_iscpl    coupling option between land ice model and ocean   (ln_isfcav  =T) 
     65!!   namsbc_wave     external fields from wave model                    (ln_wave    =T) 
     66!!   namberg         iceberg floats                                     (ln_icebergs=T) 
     67!!====================================================================== 
     68! 
     69!----------------------------------------------------------------------- 
     70&namsbc        !   Surface Boundary Condition (surface module)          (default: NO selection) 
     71!----------------------------------------------------------------------- 
     72   nn_fsbc     = 1         !  frequency of SBC module call 
    8073   ln_usr      = .true.    !  user defined formulation                  (T => check usrdef_sbc) 
    81    ln_blk      = .false.   !  Bulk formulation                          (T => fill namsbc_blk ) 
    82    nn_ice      = 0         !  =0 no ice boundary condition   , 
    83    ln_rnf      = .false.   !  runoffs                                   (T => fill namsbc_rnf) 
    84    ln_ssr      = .false.   !  Sea Surface Restoring on T and/or S       (T => fill namsbc_ssr) 
    85    nn_fwb      = 0         !  FreshWater Budget: =0 unchecked 
    86 / 
    87 !----------------------------------------------------------------------- 
    88 &namsbc_flx    !   surface boundary condition : flux formulation 
    89 !----------------------------------------------------------------------- 
    90 / 
    91 !----------------------------------------------------------------------- 
    92 &namsbc_blk   !   namsbc_blk  generic Bulk formula                      (ln_blk =T) 
    93 !----------------------------------------------------------------------- 
    94 / 
    95 !----------------------------------------------------------------------- 
    96 &namsbc_cpl    !   coupled ocean/atmosphere model                       ("key_oasis3") 
    97 !----------------------------------------------------------------------- 
    98 / 
    99 !----------------------------------------------------------------------- 
    100 &namsbc_sas    !   Stand-Alone Surface boundary condition 
    101 !----------------------------------------------------------------------- 
    102 / 
    103 !----------------------------------------------------------------------- 
    104 &namsbc_iif    !   Ice-IF : use observed ice cover                      (nn_ice = 1) 
    105 !----------------------------------------------------------------------- 
     74   ln_traqsr   = .true.    !  Light penetration in the ocean            (T => fill namtra_qsr) 
    10675/ 
    10776!----------------------------------------------------------------------- 
    10877&namtra_qsr    !   penetrative solar radiation                          (ln_traqsr =T) 
    10978!----------------------------------------------------------------------- 
    110    ln_qsr_rgb  = .false.   !  RGB (Red-Green-Blue) light penetration 
    11179   ln_qsr_2bd  = .true.    !  2 bands              light penetration 
    11280   nn_chldta   =      0    !  RGB : Chl data (=1) or cst value (=0) 
    11381/ 
    114 !----------------------------------------------------------------------- 
    115 &namsbc_rnf    !   runoffs namelist surface boundary condition          (ln_rnf =T) 
    116 !----------------------------------------------------------------------- 
    117 / 
    118 !----------------------------------------------------------------------- 
    119 &namsbc_isf    !  Top boundary layer (ISF)                              (nn_isf >0) 
    120 !----------------------------------------------------------------------- 
    121 / 
    122 !----------------------------------------------------------------------- 
    123 &namsbc_iscpl  !   land ice / ocean coupling option                      
    124 !----------------------------------------------------------------------- 
    125 / 
    126 !----------------------------------------------------------------------- 
    127 &namsbc_apr    !   Atmospheric pressure used as ocean forcing           (ln_apr_dyn =T) 
    128 !----------------------------------------------------------------------- 
    129 / 
    130 !----------------------------------------------------------------------- 
    131 &namsbc_ssr    !   surface boundary condition : sea surface restoring   (ln_ssr =T) 
    132 !----------------------------------------------------------------------- 
    133 / 
    134 !----------------------------------------------------------------------- 
    135 &namsbc_wave   ! External fields from wave model                        (ln_wave=T) 
    136 !----------------------------------------------------------------------- 
    137 / 
    138 !----------------------------------------------------------------------- 
    139 &namberg       !   iceberg parameters                                   (default: No iceberg) 
    140 !----------------------------------------------------------------------- 
    141 / 
    142 !----------------------------------------------------------------------- 
    143 &namlbc        !   lateral momentum boundary condition 
    144 !----------------------------------------------------------------------- 
    145    rn_shlat    =    0.     !  shlat = 0  !  0 < shlat < 2  !  shlat = 2  !  2 < shlat 
    146 / 
    147 !----------------------------------------------------------------------- 
    148 &namagrif      !  AGRIF zoom                                            ("key_agrif") 
    149 !----------------------------------------------------------------------- 
    150 / 
    151 !----------------------------------------------------------------------- 
    152 &nam_tide      !   tide parameters 
    153 !----------------------------------------------------------------------- 
    154 / 
    155 !----------------------------------------------------------------------- 
    156 &nambdy        !  unstructured open boundaries                           
    157 !----------------------------------------------------------------------- 
    158 / 
    159 !----------------------------------------------------------------------- 
    160 &nambdy_dta    !  open boundaries - external data                        
    161 !----------------------------------------------------------------------- 
    162 / 
    163 !----------------------------------------------------------------------- 
    164 &nambdy_tide   !  tidal forcing at open boundaries 
    165 !----------------------------------------------------------------------- 
    166 / 
     82 
     83!!====================================================================== 
     84!!               ***  Lateral boundary condition  ***                 !! 
     85!!                                                                    !! 
     86!!   namlbc        lateral momentum boundary condition                  (default: no slip) 
     87!!   namagrif      agrif nested grid ( read by child model only )       ("key_agrif") 
     88!!   nam_tide      Tidal forcing                                        (default: NO) 
     89!!   nambdy        Unstructured open boundaries                         (default: NO) 
     90!!   nambdy_dta    Unstructured open boundaries - external data         (see  nambdy) 
     91!!   nambdy_tide   tidal forcing at open boundaries                     (default: NO) 
     92!!====================================================================== 
     93! 
     94!!====================================================================== 
     95!!                ***  Top/Bottom boundary condition  ***             !! 
     96!!                                                                    !! 
     97!!   namdrg        top/bottom drag coefficient                          (default: NO selection) 
     98!!   namdrg_top    top    friction                                      (ln_NONE=F & ln_isfcav=T) 
     99!!   namdrg_bot    bottom friction                                      (ln_NONE=F) 
     100!!   nambbc        bottom temperature boundary condition                (default: NO) 
     101!!   nambbl        bottom boundary layer scheme                         (default: NO) 
     102!!====================================================================== 
     103! 
    167104!----------------------------------------------------------------------- 
    168105&namdrg        !   top/bottom drag coefficient                          (default: NO selection) 
     
    170107   ln_non_lin = .true.     !  non-linear  drag: Cd = Cd0 |U| 
    171108/ 
    172 !----------------------------------------------------------------------- 
    173 &namdrg_top    !   TOP friction                                         (ln_isfcav=T) 
    174 !----------------------------------------------------------------------- 
    175 / 
    176 !----------------------------------------------------------------------- 
    177 &namdrg_bot    !   BOTTOM friction                                   
    178 !----------------------------------------------------------------------- 
    179 / 
    180 !----------------------------------------------------------------------- 
    181 &nambbc        !   bottom temperature boundary condition                (default: NO) 
    182 !----------------------------------------------------------------------- 
    183 / 
    184 !----------------------------------------------------------------------- 
    185 &nambbl        !   bottom boundary layer scheme                         (default: NO) 
    186 !----------------------------------------------------------------------- 
    187 / 
    188 !----------------------------------------------------------------------- 
    189 &nameos        !   ocean Equation Of Seawater                           (default: NO) 
    190 !----------------------------------------------------------------------- 
    191    ln_eos80    = .true.         !  = Use EOS80 equation of state 
     109 
     110!!====================================================================== 
     111!!                        Tracer (T & S) namelists                    !! 
     112!!                                                                    !! 
     113!!   nameos           equation of state                                 (default: NO selection) 
     114!!   namtra_adv       advection scheme                                  (default: NO selection) 
     115!!   namtra_ldf       lateral diffusion scheme                          (default: NO selection) 
     116!!   namtra_adv_mle   mixed layer eddy param. (Fox-Kemper param.)       (default: NO) 
     117!!   namtra_eiv       eddy induced velocity param.                      (default: NO) 
     118!!   namtra_dmp       T & S newtonian damping                           (default: NO) 
     119!!====================================================================== 
     120! 
     121!----------------------------------------------------------------------- 
     122&nameos        !   ocean Equation Of Seawater                           (default: NO selection) 
     123!----------------------------------------------------------------------- 
     124   ln_eos80    = .true.      !  = Use EOS80 equation of state 
    192125/ 
    193126!----------------------------------------------------------------------- 
     
    199132/ 
    200133!----------------------------------------------------------------------- 
    201 &namtra_adv_mle !   mixed layer eddy parametrisation (Fox-Kemper param) (default: NO) 
    202 !----------------------------------------------------------------------- 
    203 / 
    204 !----------------------------------------------------------------------- 
    205134&namtra_ldf    !   lateral diffusion scheme for tracers                 (default: NO selection) 
    206135!----------------------------------------------------------------------- 
    207    !                       !  Operator type: 
    208    ln_traldf_NONE  =  .false.  !           No operator (no explicit advection) 
    209136   ln_traldf_lap   =  .true.   !    laplacian operator 
    210    ln_traldf_blp   =  .false.  !  bilaplacian operator 
    211    ! 
    212    !                       !  Direction of action: 
    213    ln_traldf_lev   =  .false.  !  iso-level 
    214    ln_traldf_hor   =  .false.  !  horizontal (geopotential) 
    215137   ln_traldf_iso   =  .true.   !  iso-neutral (standard operator) 
    216    ln_traldf_triad =  .false.  !  iso-neutral (triad    operator) 
    217    ! 
    218    !                       !  iso-neutral options:         
    219    ln_traldf_msc   =  .true.   !  Method of Stabilizing Correction (both operators) 
    220    rn_slpmax       =   0.01    !  slope limit                      (both operators) 
    221    ln_triad_iso    =  .false.  !  pure horizontal mixing in ML              (triad only) 
    222    rn_sw_triad     =  1        !  =1 switching triad ; =0 all 4 triads used (triad only) 
    223    ln_botmix_triad =  .false.  !  lateral mixing on bottom                  (triad only) 
    224    ! 
    225    !                       !  Coefficients: 
    226    nn_aht_ijk_t    = 0         !  space/time variation of eddy coef 
    227    !                                !   =-20 (=-30)    read in eddy_diffusivity_2D.nc (..._3D.nc) file 
    228    !                                !   =  0           constant  
    229    !                                !   = 10 F(k)      =ldf_c1d  
    230    !                                !   = 20 F(i,j)    =ldf_c2d  
    231    !                                !   = 21 F(i,j,t)  =Treguier et al. JPO 1997 formulation 
    232    !                                !   = 30 F(i,j,k)  =ldf_c2d * ldf_c1d 
    233    !                                !   = 31 F(i,j,k,t)=F(local velocity and grid-spacing) 
    234    rn_aht_0        = 1000.     !  lateral eddy diffusivity   (lap. operator) [m2/s] 
    235    rn_bht_0        = 1.e+12    !  lateral eddy diffusivity (bilap. operator) [m4/s] 
    236 / 
    237 !----------------------------------------------------------------------- 
    238 &namtra_ldfeiv !   eddy induced velocity param.                         (default: NO) 
    239 !----------------------------------------------------------------------- 
    240    ln_ldfeiv     =.false.   ! use eddy induced velocity parameterization 
    241 / 
    242 !----------------------------------------------------------------------- 
    243 &namtra_dmp    !   tracer: T & S newtonian damping                      (default: NO) 
    244 !----------------------------------------------------------------------- 
    245    ln_tradmp   =  .false.  !  add a damping termn (T) or not (F) 
    246 / 
    247 !----------------------------------------------------------------------- 
    248 &nam_vvl       !   vertical coordinate options                          (default: z-star) 
    249 !----------------------------------------------------------------------- 
    250 / 
     138   nn_aht_ijk_t    = 0         !  = 0   constant = 1/2  Ud*Ld   (lap case)  
     139      rn_Ud        = 0.02           !  lateral diffusive velocity [m/s] 
     140      rn_Ld        = 100.e+3        !  lateral diffusive length   [m] 
     141/ 
     142 
     143!!====================================================================== 
     144!!                      ***  Dynamics namelists  ***                  !! 
     145!!                                                                    !! 
     146!!   nam_vvl       vertical coordinate options                          (default: z-star) 
     147!!   namdyn_adv    formulation of the momentum advection                (default: NO selection) 
     148!!   namdyn_vor    advection scheme                                     (default: NO selection) 
     149!!   namdyn_hpg    hydrostatic pressure gradient                        (default: NO selection) 
     150!!   namdyn_spg    surface pressure gradient                            (default: NO selection) 
     151!!   namdyn_ldf    lateral diffusion scheme                             (default: NO selection) 
     152!!   namdta_dyn    offline TOP: dynamics read in files                  (OFF_SRC only) 
     153!!====================================================================== 
     154! 
    251155!----------------------------------------------------------------------- 
    252156&namdyn_adv    !   formulation of the momentum advection                (default: NO selection) 
     
    256160/ 
    257161!----------------------------------------------------------------------- 
    258 &namdyn_vor    !   Vorticity / Coriolis scheme                          (default: NO) 
     162&namdyn_vor    !   Vorticity / Coriolis scheme                          (default: NO selection) 
    259163!----------------------------------------------------------------------- 
    260164   ln_dynvor_ene = .true.  !  enstrophy conserving scheme 
    261    ln_dynvor_ens = .false. !  energy conserving scheme 
    262    ln_dynvor_mix = .false. !  mixed scheme 
    263    ln_dynvor_een = .false. !  energy & enstrophy scheme 
    264       nn_een_e3f = 1             !  e3f = masked averaging of e3t divided by 4 (=0) or by the sum of mask (=1) 
    265165/ 
    266166!----------------------------------------------------------------------- 
     
    268168!----------------------------------------------------------------------- 
    269169   ln_hpg_zco  = .true.    !  z-coordinate - full steps 
    270    ln_hpg_zps  = .false.   !  z-coordinate - partial steps (interpolation) 
    271 / 
    272 !----------------------------------------------------------------------- 
    273 &namdyn_spg    !   surface pressure gradient                            (default: NO) 
     170/ 
     171!----------------------------------------------------------------------- 
     172&namdyn_spg    !   surface pressure gradient                            (default: NO selection) 
    274173!----------------------------------------------------------------------- 
    275174   ln_dynspg_ts  = .true.  !  split-explicit free surface 
     
    278177&namdyn_ldf    !   lateral diffusion on momentum                        (default: NO selection) 
    279178!----------------------------------------------------------------------- 
    280    !                       !  Type of the operator : 
    281    ln_dynldf_NONE=  .false.    !           No operator (no explicit diffusion) 
    282179   ln_dynldf_lap =  .true.     !    laplacian operator 
    283    ln_dynldf_blp =  .false.    !  bilaplacian operator 
    284    !                       !  Direction of action  : 
    285180   ln_dynldf_lev =  .true.     !  iso-level 
    286    ln_dynldf_hor =  .false.    !  horizontal (geopotential) 
    287    ln_dynldf_iso =  .false.    !  iso-neutral 
    288    !                       !  Coefficient 
    289    nn_ahm_ijk_t  = 0           !  space/time variation of eddy coef 
    290    !                                !  =-30  read in eddy_viscosity_3D.nc file 
    291    !                                !  =-20  read in eddy_viscosity_2D.nc file 
    292    !                                !  =  0  constant  
    293    !                                !  = 10  F(k)=c1d 
    294    !                                !  = 20  F(i,j)=F(grid spacing)=c2d 
    295    !                                !  = 30  F(i,j,k)=c2d*c1d 
    296    !                                !  = 31  F(i,j,k)=F(grid spacing and local velocity) 
    297    rn_ahm_0      = 100000.     !  horizontal laplacian eddy viscosity   [m2/s] 
    298    rn_ahm_b      =      0.     !  background eddy viscosity for ldf_iso [m2/s] 
    299    rn_bhm_0      =      0.     !  horizontal bilaplacian eddy viscosity [m4/s] 
     181   nn_ahm_ijk_t  = 0           !  = 0  constant = 1/2  Uv*Lv   (lap case)  
     182      rn_Uv      = 2.0              !  lateral viscous velocity [m/s]  
     183      rn_Lv      = 100.e+3          !  lateral viscous length   [m] 
    300184/ 
    301185 
    302186!!====================================================================== 
    303187!!                     vertical physics namelists                     !! 
    304 !!====================================================================== 
     188!!                                                                    !! 
     189!!    namzdf        vertical physics manager                            (default: NO selection) 
     190!!    namzdf_ric    richardson number vertical mixing                   (ln_zdfric=T) 
     191!!    namzdf_tke    TKE vertical mixing                                 (ln_zdftke=T) 
     192!!    namzdf_gls    GLS vertical mixing                                 (ln_zdfgls=T) 
     193!!    namzdf_osm    OSM vertical diffusion                              (ln_zdfosm=T) 
     194!!    namzdf_iwm    tidal mixing parameterization                       (ln_zdfiwm=T) 
     195!!====================================================================== 
     196! 
    305197!----------------------------------------------------------------------- 
    306198&namzdf        !   vertical physics                                     (default: NO selection) 
    307199!----------------------------------------------------------------------- 
    308    !                       ! type of vertical closure (required) 
    309    ln_zdfcst   = .false.      !  constant mixing 
    310    ln_zdfric   = .false.      !  local Richardson dependent formulation (T =>   fill namzdf_ric) 
    311200   ln_zdftke   = .true.       !  Turbulent Kinetic Energy closure       (T =>   fill namzdf_tke) 
    312    ln_zdfgls   = .false.      !  Generic Length Scale closure           (T =>   fill namzdf_gls) 
    313    ln_zdfosm   = .false.      !  OSMOSIS BL closure                     (T =>   fill namzdf_osm) 
    314    ! 
    315    !                       ! convection 
    316    ln_zdfevd   = .true.       !  Enhanced Vertical Diffusion scheme 
    317       nn_evdm  =    1            !  evd apply on tracer (=0) or on tracer and momentum (=1) 
    318       rn_evd   =  100.           !  evd mixing coefficient [m2/s] 
    319    ! 
    320    ln_zdfddm   = .false.   ! double diffusive mixing 
    321       rn_avts  =    1.e-4     !  maximum avs (vertical mixing on salinity) 
    322       rn_hsbfr =    1.6       !  heat/salt buoyancy flux ratio 
    323    ! 
    324    !                       ! gravity wave-driven vertical mixing 
    325    ln_zdfiwm   = .false.      ! internal wave-induced mixing            (T =>   fill namzdf_iwm) 
    326    ln_zdfswm   = .false.      ! surface  wave-induced mixing            (T => ln_wave=ln_sdw=T ) 
    327    ! 
    328    !                       !  Coefficients 
     201   ln_zdfevd   = .true.       !  enhanced vertical diffusion 
     202      nn_evdm     =    1         ! apply on tracer (=0) or on tracer and momentum (=1) 
     203      rn_evd      =  100.        ! mixing coefficient [m2/s] 
     204   !                       ! coefficients 
    329205   rn_avm0     =   1.2e-4     !  vertical eddy viscosity   [m2/s]       (background Kz if ln_zdfcst=F) 
    330206   rn_avt0     =   1.2e-5     !  vertical eddy diffusivity [m2/s]       (background Kz if ln_zdfcst=F) 
    331207   nn_avb      =    0         !  profile for background avt & avm (=1) or not (=0) 
    332208   nn_havtb    =    0         !  horizontal shape for avtb (=1) or not (=0) 
    333    ! 
    334 / 
    335 !----------------------------------------------------------------------- 
    336 &namzdf_ric    !   richardson number dependent vertical diffusion       (ln_zdfric =T) 
    337 !----------------------------------------------------------------------- 
    338209/ 
    339210!----------------------------------------------------------------------- 
     
    342213   nn_etau     =   0       !  penetration of tke below the mixed layer (ML) due to internal & intertial waves 
    343214/ 
    344 !----------------------------------------------------------------------- 
    345 &namzdf_gls    !   GLS vertical diffusion                               (ln_zdfgls =T) 
    346 !----------------------------------------------------------------------- 
    347 / 
    348 !----------------------------------------------------------------------- 
    349 &namzdf_osm    !   OSM vertical diffusion                               (ln_zdfosm =T) 
    350 !----------------------------------------------------------------------- 
    351 / 
    352 !----------------------------------------------------------------------- 
    353 &namzdf_iwm    !    internal wave-driven mixing parameterization        (ln_zdfiwm =T) 
    354 !----------------------------------------------------------------------- 
    355 / 
    356 !----------------------------------------------------------------------- 
    357 &nammpp        !   Massively Parallel Processing                        ("key_mpp_mpi") 
    358 !----------------------------------------------------------------------- 
    359 / 
    360 !----------------------------------------------------------------------- 
    361 &namctl        !   Control prints  
    362 !----------------------------------------------------------------------- 
    363 / 
    364 !----------------------------------------------------------------------- 
    365 &namsto        ! Stochastic parametrization of EOS                      (default: NO) 
    366 !----------------------------------------------------------------------- 
    367 / 
    368 !----------------------------------------------------------------------- 
    369 &namtrd        !   trend diagnostics                                    (default F) 
    370 !----------------------------------------------------------------------- 
    371 / 
    372 !----------------------------------------------------------------------- 
    373 &namptr        !   Poleward Transport Diagnostic                        (default F) 
    374 !----------------------------------------------------------------------- 
    375 / 
    376 !----------------------------------------------------------------------- 
    377 &namhsb        !  Heat and salt budgets                                 (default F) 
    378 !----------------------------------------------------------------------- 
    379 / 
    380 !----------------------------------------------------------------------- 
    381 &namdiu        !   Cool skin and warm layer models                      (default F) 
    382 !----------------------------------------------------------------------- 
    383 / 
    384 !----------------------------------------------------------------------- 
    385 &namflo        !   float parameters                                     ("key_float") 
    386 !----------------------------------------------------------------------- 
    387 / 
    388 !----------------------------------------------------------------------- 
    389 &nam_diaharm   !   Harmonic analysis of tidal constituents              ("key_diaharm") 
    390 !----------------------------------------------------------------------- 
    391 / 
    392 !----------------------------------------------------------------------- 
    393 &namdct        ! transports through some sections                       ("key_diadct") 
    394 !----------------------------------------------------------------------- 
    395     nn_dct      = 60       !  time step frequency for transports computing 
    396     nn_dctwri   = 60       !  time step frequency for transports writing 
    397     nn_secdebug = 0        !      0 : no section to debug 
    398 / 
    399 !----------------------------------------------------------------------- 
    400 &nam_diatmb    !  Top Middle Bottom Output                              (default F) 
    401 !----------------------------------------------------------------------- 
    402 / 
    403 !----------------------------------------------------------------------- 
    404 &nam_dia25h    !  25h Mean Output                                       (default F) 
    405 !----------------------------------------------------------------------- 
    406 / 
    407 !----------------------------------------------------------------------- 
    408 &namnc4        !   netcdf4 chunking and compression settings            ("key_netcdf4") 
    409 !----------------------------------------------------------------------- 
    410 / 
    411 !----------------------------------------------------------------------- 
    412 &namobs        !  observation usage switch 
    413 !----------------------------------------------------------------------- 
    414 / 
    415 !----------------------------------------------------------------------- 
    416 &nam_asminc    !   assimilation increments                              ('key_asminc') 
    417 !----------------------------------------------------------------------- 
    418 / 
    419 !----------------------------------------------------------------------- 
    420 &namdta_dyn    !   offline dynamics read in files                       ("key_offline") 
    421 !----------------------------------------------------------------------- 
    422 / 
     215 
     216!!====================================================================== 
     217!!                  ***  Diagnostics namelists  ***                   !! 
     218!!                                                                    !! 
     219!!   namtrd       dynamics and/or tracer trends                         (default NO) 
     220!!   namptr       Poleward Transport Diagnostics                        (default NO) 
     221!!   namhsb       Heat and salt budgets                                 (default NO) 
     222!!   namdiu       Cool skin and warm layer models                       (default NO) 
     223!!   namdiu       Cool skin and warm layer models                       (default NO) 
     224!!   namflo       float parameters                                      ("key_float") 
     225!!   nam_diaharm  Harmonic analysis of tidal constituents               ("key_diaharm") 
     226!!   namdct       transports through some sections                      ("key_diadct") 
     227!!   nam_diatmb   Top Middle Bottom Output                              (default NO) 
     228!!   nam_dia25h   25h Mean Output                                       (default NO) 
     229!!   namnc4       netcdf4 chunking and compression settings             ("key_netcdf4") 
     230!!====================================================================== 
     231 
     232!!====================================================================== 
     233!!               ***  Observation & Assimilation  ***                 !! 
     234!!                                                                    !! 
     235!!   namobs       observation and model comparison                      (default: NO) 
     236!!   nam_asminc   assimilation increments                               ('key_asminc') 
     237!!====================================================================== 
  • branches/2017/dev_merge_2017/NEMOGCM/CONFIG/GYRE_PISCES/EXP00/namelist_top_cfg

    r9356 r9490  
    11!!>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
    2 !! NEMO/TOP1 :  Configuration namelist : used to overwrite defaults values defined in SHARED/namelist_top_ref 
     2!! NEMO/TOP :   Configuration namelist : used to overwrite defaults values defined in SHARED/namelist_top_ref 
    33!>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
    44!----------------------------------------------------------------------- 
     
    1010!----------------------------------------------------------------------- 
    1111   jp_bgc        =  6 
    12 ! 
     12   ! 
    1313   ln_pisces     =  .true. 
    1414   ln_age        =  .false. 
     
    1717   ln_c14        =  .false. 
    1818   ln_my_trc     =  .false. 
    19 ! 
    20 !                 !           !                             !               ! 
    21 !                 !    name   !   title of the field        !   units       ! initial data from file or not ! 
    22 !                 !           !                                             !                               ! 
    23    sn_tracer(1)   = 'DET'     , 'Detritus                   ',  'mmole-N/m3' ,  .false.     
    24    sn_tracer(2)   = 'ZOO'     , 'Zooplankton concentration  ',  'mmole-N/m3' ,  .false.    
    25    sn_tracer(3)   = 'PHY'     , 'Phytoplankton concentration',  'mmole-N/m3' ,  .false.   
    26    sn_tracer(4)   = 'NO3'     , 'Nitrate concentration      ',  'mmole-N/m3' ,  .false.  
    27    sn_tracer(5)   = 'NH4'     , 'Ammonium concentration     ',  'mmole-N/m3' ,  .false.    
    28    sn_tracer(6)   = 'DOM'     , 'Dissolved organic matter   ',  'mmole-N/m3' ,  .false.   
     19   !_____________!__________!________________________________!______________!________________! 
     20   !             !   name   !           title of the field   !   units      ! init from file !  
     21   sn_tracer(1)   = 'DET'   , 'Detritus                   '  , 'mmole-N/m3' ,  .false.     
     22   sn_tracer(2)   = 'ZOO'   , 'Zooplankton concentration  '  , 'mmole-N/m3' ,  .false.    
     23   sn_tracer(3)   = 'PHY'   , 'Phytoplankton concentration'  , 'mmole-N/m3' ,  .false.   
     24   sn_tracer(4)   = 'NO3'   , 'Nitrate concentration      '  , 'mmole-N/m3' ,  .false.  
     25   sn_tracer(5)   = 'NH4'   , 'Ammonium concentration     '  , 'mmole-N/m3' ,  .false.    
     26   sn_tracer(6)   = 'DOM'   , 'Dissolved organic matter   '  , 'mmole-N/m3' ,  .false.   
    2927/ 
    3028!----------------------------------------------------------------------- 
     
    4442/ 
    4543!----------------------------------------------------------------------- 
    46 &namtrc_ldf      !   lateral diffusion scheme for passive tracer  
     44&namtrc_ldf      !   lateral diffusion scheme for passive tracer        (default: NO selection) 
    4745!----------------------------------------------------------------------- 
    48    rn_ahtrc_0       =  1000.    !  horizontal eddy diffusivity for tracers [m2/s] 
     46!                            !  Type of the operator: 
     47   ln_trcldf_NONE  =  .false.    !  No explicit diffusion 
     48   ln_trcldf_tra   =  .true.     !  use active tracer setting 
     49   !                         !  Coefficient (defined with namtra_ldf coefficient) 
     50   rn_ldf_multi    = 1.          !  multiplier of aht for TRC mixing coefficient 
     51   rn_fact_lap     = 1.          !  Equatorial enhanced zonal eddy diffusivity (lap only) 
    4952/ 
    5053!----------------------------------------------------------------------- 
     
    5457/ 
    5558!----------------------------------------------------------------------- 
    56 &namtrc_dmp      !   passive tracer newtonian damping    
     59&namtrc_dmp      !   passive tracer newtonian damping                   (ln_trcdmp=T) 
    5760!----------------------------------------------------------------------- 
    5861/ 
  • branches/2017/dev_merge_2017/NEMOGCM/CONFIG/ORCA2_LIM3_PISCES/EXP00/1_namelist_cfg

    r9356 r9490  
    11!!>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
    2 !! NEMO/OPA  :  Configuration namelist used to overwrite SHARED/1_namelist_ref 
     2!! NEMO/OPA  Configuration namelist : overwrite some defaults values defined in SHARED/1_namelist_ref 
    33!!>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
     4!                       ORCA2 - SI3 configuration                      ! 
     5 
     6!!====================================================================== 
     7!!              ***  Domain & Run management namelists  ***           !! 
     8!!                                                                    !! 
     9!!   namrun       parameters of the run 
     10!!   namdom       space and time domain 
     11!!   namcfg       parameters of the configuration                       (default: user defined GYRE) 
     12!!   namwad       Wetting and drying                                    (default NO) 
     13!!   namtsd       data: temperature & salinity                          (default NO) 
     14!!   namcrs       coarsened grid (for outputs and/or TOP)               (ln_crs =T) 
     15!!====================================================================== 
     16! 
    417!----------------------------------------------------------------------- 
    518&namrun        !   parameters of the run 
    619!----------------------------------------------------------------------- 
    7    cn_exp      = "Agulhas" !  experience name  
     20   cn_exp      = "Agulhas" !  experience name 
    821   nn_it000    =       1   !  first time step 
    922   nn_itend    =   10950   !  last  time step 
    1023   nn_stock    =   10950   !  frequency of creation of a restart file (modulo referenced to 1) 
    1124   nn_write    =   10950   !  frequency of write in the output file   (modulo referenced to nn_it000) 
     25   nn_istate   =       0   !  output the initial state (1) or not (0) 
    1226   ln_clobber  = .true.    !  clobber (overwrite) an existing file 
    1327/ 
    1428!----------------------------------------------------------------------- 
     29&namdom        !   time and space domain 
     30!----------------------------------------------------------------------- 
     31   rn_rdt      = 2880.     !  time step for the dynamics (and tracer if nn_acc=0) 
     32/ 
     33!----------------------------------------------------------------------- 
    1534&namcfg        !   parameters of the configuration                      (default: user defined GYRE) 
    1635!----------------------------------------------------------------------- 
    1736   ln_read_cfg = .true.    !  (=T) read the domain configuration file 
    18       !                    !  (=F) user defined configuration  ==>>>  see usrdef(_...) modules 
    1937      cn_domcfg = "AGRIF_AGULHAS_domain_cfg"    ! domain configuration filename 
    2038/ 
    2139!----------------------------------------------------------------------- 
    22 &namdom        !   time and space domain 
    23 !----------------------------------------------------------------------- 
    24    ln_linssh   = .false.   !  =T  linear free surface  ==>>  model level are fixed in time 
     40&namtsd        !    Temperature & Salinity Data                         (default: NO) 
     41!----------------------------------------------------------------------- 
     42   !  with AGRIF ("key_agrif") child are initialized with parent values 
     43/ 
     44 
     45!!====================================================================== 
     46!!            ***  Surface Boundary Condition namelists  ***          !! 
     47!!                                                                    !! 
     48!!   namsbc          surface boundary condition manager                 (default: NO selection) 
     49!!   namsbc_flx      flux               formulation                     (ln_flx     =T) 
     50!!   namsbc_blk      Bulk formulae formulation                          (ln_blk     =T) 
     51!!   namsbc_cpl      CouPLed            formulation                     ("key_oasis3" ) 
     52!!   namsbc_sas      Stand-Alone Surface module                         (SAS_SRC  only) 
     53!!   namsbc_iif      Ice-IF: use observed ice cover                     (nn_ice = 1   ) 
     54!!   namtra_qsr      penetrative solar radiation                        (ln_traqsr  =T) 
     55!!   namsbc_ssr      sea surface restoring term (for T and/or S)        (ln_ssr     =T) 
     56!!   namsbc_rnf      river runoffs                                      (ln_rnf     =T) 
     57!!   namsbc_apr      Atmospheric Pressure                               (ln_apr_dyn =T) 
     58!!   namsbc_isf      ice shelf melting/freezing                         (ln_isfcav  =T : read (ln_read_cfg=T) or set or usr_def_zgr ) 
     59!!   namsbc_iscpl    coupling option between land ice model and ocean   (ln_isfcav  =T) 
     60!!   namsbc_wave     external fields from wave model                    (ln_wave    =T) 
     61!!   namberg         iceberg floats                                     (ln_icebergs=T) 
     62!!====================================================================== 
     63! 
     64!----------------------------------------------------------------------- 
     65&namsbc        !   Surface Boundary Condition (surface module) 
     66!----------------------------------------------------------------------- 
     67   nn_fsbc     = 5         !  frequency of SBC module call 
     68   ln_blk      = .true.    !  Bulk formulation                          (T => fill namsbc_blk ) 
     69   nn_ice      = 0         !  =0 no ice boundary condition 
     70   ln_traqsr   = .true.    !  Light penetration in the ocean            (T => fill namtra_qsr) 
     71   ln_rnf      = .false.   !  runoffs                                   (T => fill namsbc_rnf) 
     72   ln_ssr      = .false.   !  Sea Surface Restoring on T and/or S       (T => fill namsbc_ssr) 
     73   nn_fwb      = 0         !  FreshWater Budget: =0 unchecked 
     74/ 
     75!----------------------------------------------------------------------- 
     76&namsbc_blk   !   namsbc_blk  generic Bulk formula                      (ln_blk =T) 
     77!----------------------------------------------------------------------- 
     78   !                    !  bulk algorithm : 
     79   ln_NCAR     = .true.    ! "NCAR"      algorithm   (Large and Yeager 2008) 
     80 
     81   cn_dir      = './'      !  root directory for the bulk data location 
     82   !___________!_________________________!___________________!___________!_____________!________!___________!______________________________________!__________!_______________! 
     83   !           !  file name              ! frequency (hours) ! variable  ! time interp.!  clim  ! 'yearly'/ !          weights filename            ! rotation ! land/sea mask ! 
     84   !           !                         !  (if <0  months)  !   name    !   (logical) !  (T/F) ! 'monthly' !                                      ! pairing  !    filename   ! 
     85   sn_wndi     = 'u_10.15JUNE2009_fill'       ,    6         , 'U_10_MOD',   .false.   , .true. , 'yearly'  , 'weights_core2_agrif_bicubic.nc'     , 'Uwnd'   , '' 
     86   sn_wndj     = 'v_10.15JUNE2009_fill'       ,    6         , 'V_10_MOD',   .false.   , .true. , 'yearly'  , 'weights_core2_agrif_bicubic.nc'     , 'Vwnd'   , '' 
     87   sn_qsr      = 'ncar_rad.15JUNE2009_fill'   ,   24         , 'SWDN_MOD',   .false.   , .true. , 'yearly'  , 'weights_core2_agrif_bilinear.nc'    , ''       , '' 
     88   sn_qlw      = 'ncar_rad.15JUNE2009_fill'   ,   24         , 'LWDN_MOD',   .false.   , .true. , 'yearly'  , 'weights_core2_agrif_bilinear.nc'    , ''       , '' 
     89   sn_tair     = 't_10.15JUNE2009_fill'       ,    6         , 'T_10_MOD',   .false.   , .true. , 'yearly'  , 'weights_core2_agrif_bilinear.nc'    , ''       , '' 
     90   sn_humi     = 'q_10.15JUNE2009_fill'       ,    6         , 'Q_10_MOD',   .false.   , .true. , 'yearly'  , 'weights_core2_agrif_bilinear.nc'    , ''       , '' 
     91   sn_prec     = 'ncar_precip.15JUNE2009_fill',   -1         , 'PRC_MOD1',   .false.   , .true. , 'yearly'  , 'weights_core2_agrif_bilinear.nc'    , ''       , '' 
     92   sn_snow     = 'ncar_precip.15JUNE2009_fill',   -1         , 'SNOW'    ,   .false.   , .true. , 'yearly'  , 'weights_core2_agrif_bilinear.nc'    , ''       , '' 
     93   sn_slp      = 'slp.15JUNE2009_fill'        ,    6         , 'SLP'     ,   .false.   , .true. , 'yearly'  , 'weights_core2_agrif_bilinear.nc'    , ''       , '' 
     94   sn_tdif     = 'taudif_core'                ,   24         , 'taudif'  ,   .false.   , .true. , 'yearly'  , 'weights_core2_agrif_bilinear.nc'    , ''       , '' 
     95 
     96/ 
     97!----------------------------------------------------------------------- 
     98&namtra_qsr    !   penetrative solar radiation                          (ln_traqsr =T) 
     99!----------------------------------------------------------------------- 
     100   !                       ! type of penetration                        (default: NO selection) 
     101   ln_qsr_rgb  = .true.       !  RGB light penetration (Red-Green-Blue) 
    25102   ! 
    26    rn_rdt      = 2880.     !  time step for the dynamics (and tracer if nn_acc=0) 
    27 !----------------------------------------------------------------------- 
    28 &namtsd        !   data : Temperature  & Salinity 
    29 !----------------------------------------------------------------------- 
    30 / 
    31 !----------------------------------------------------------------------- 
    32 &namwad        !   Wetting and drying  default is no WAD 
    33 !----------------------------------------------------------------------- 
    34 / 
    35 !----------------------------------------------------------------------- 
    36 &namcrs        !   coarsened grid (for outputs and/or TOP)              (ln_crs =T) 
    37 !----------------------------------------------------------------------- 
    38 / 
    39 !----------------------------------------------------------------------- 
    40 &namc1d        !   1D configuration options                             ("key_c1d") 
    41 !----------------------------------------------------------------------- 
    42 / 
    43 !----------------------------------------------------------------------- 
    44 &namc1d_dyndmp !   U & V newtonian damping                              ("key_c1d") 
    45 !----------------------------------------------------------------------- 
    46 / 
    47 !----------------------------------------------------------------------- 
    48 &namc1d_uvd    !   data: U & V currents                                 ("key_c1d") 
    49 !----------------------------------------------------------------------- 
    50 / 
    51 !----------------------------------------------------------------------- 
    52 &namsbc        !   Surface Boundary Condition (surface module) 
    53 !----------------------------------------------------------------------- 
    54    nn_fsbc     = 1         !  frequency of surface boundary condition computation 
    55    ln_blk      = .true.    !  Bulk formulation                          (T => fill namsbc_blk ) 
    56    nn_ice      = 0         !  =0 no ice boundary condition   , 
    57                            !  =1 use observed ice-cover      , 
    58                            !  =2 or 3 automatically for LIM3 or CICE    ("key_lim3" or "key_cice") 
    59    ln_rnf      = .false.    !  runoffs                                   (T => fill namsbc_rnf) 
    60    ln_ssr      = .false.    !  Sea Surface Restoring on T and/or S       (T => fill namsbc_ssr) 
    61    nn_fwb      = 0         !  FreshWater Budget: =0 unchecked 
    62                            !     =1 global mean of e-p-r set to zero at each time step 
    63                            !     =2 annual global mean of e-p-r set to zero 
    64 / 
    65 !----------------------------------------------------------------------- 
    66 &namsbc_flx    !   surface boundary condition : flux formulation 
    67 !----------------------------------------------------------------------- 
    68 / 
    69 !----------------------------------------------------------------------- 
    70 &namsbc_blk   !   namsbc_blk  generic Bulk formula                      (ln_blk =T) 
    71 !----------------------------------------------------------------------- 
    72 !              !  file name                   ! frequency (hours) ! variable  ! time interp. !  clim  ! 'yearly'/ ! weights                              ! rotation ! land/sea mask ! 
    73 !              !                              !  (if <0  months)  !   name    !   (logical)  !  (T/F) ! 'monthly' ! filename                             ! pairing  ! filename      ! 
    74    sn_wndi     = 'u_10.15JUNE2009_fill'       ,         6         , 'U_10_MOD',   .false.    , .true. , 'yearly'  , 'weights_core2_agrif_bicubic.nc'     , 'Uwnd'   , '' 
    75    sn_wndj     = 'v_10.15JUNE2009_fill'       ,         6         , 'V_10_MOD',   .false.    , .true. , 'yearly'  , 'weights_core2_agrif_bicubic.nc'     , 'Vwnd'   , '' 
    76    sn_qsr      = 'ncar_rad.15JUNE2009_fill'   ,        24         , 'SWDN_MOD',   .false.    , .true. , 'yearly'  , 'weights_core2_agrif_bilinear.nc'    , ''       , '' 
    77    sn_qlw      = 'ncar_rad.15JUNE2009_fill'   ,        24         , 'LWDN_MOD',   .false.    , .true. , 'yearly'  , 'weights_core2_agrif_bilinear.nc'    , ''       , '' 
    78    sn_tair     = 't_10.15JUNE2009_fill'       ,         6         , 'T_10_MOD',   .false.    , .true. , 'yearly'  , 'weights_core2_agrif_bilinear.nc'    , ''       , '' 
    79    sn_humi     = 'q_10.15JUNE2009_fill'       ,         6         , 'Q_10_MOD',   .false.    , .true. , 'yearly'  , 'weights_core2_agrif_bilinear.nc'    , ''       , '' 
    80    sn_prec     = 'ncar_precip.15JUNE2009_fill',        -1         , 'PRC_MOD1',   .false.    , .true. , 'yearly'  , 'weights_core2_agrif_bilinear.nc'    , ''       , '' 
    81    sn_snow     = 'ncar_precip.15JUNE2009_fill',        -1         , 'SNOW'    ,   .false.    , .true. , 'yearly'  , 'weights_core2_agrif_bilinear.nc'    , ''       , '' 
    82    sn_slp      = 'slp.15JUNE2009_fill'        ,         6         , 'SLP'     ,   .false.    , .true. , 'yearly'  , 'weights_core2_agrif_bilinear.nc'    , ''       , '' 
    83    sn_tdif     = 'taudif_core'                ,        24         , 'taudif'  ,   .false.    , .true. , 'yearly'  , 'weights_core2_agrif_bilinear.nc'    , ''       , '' 
    84    ! 
    85    !                    !  bulk algorithm : 
    86    ln_NCAR     = .true.   ! "NCAR"      algorithm   (Large and Yeager 2008) 
    87 / 
    88 !----------------------------------------------------------------------- 
    89 &namsbc_cpl    !   coupled ocean/atmosphere model                       ("key_oasis3") 
    90 !----------------------------------------------------------------------- 
    91 / 
    92 !----------------------------------------------------------------------- 
    93 &namsbc_sas    !   Stand-Alone Surface boundary condition 
    94 !----------------------------------------------------------------------- 
    95 / 
    96 !----------------------------------------------------------------------- 
    97 &namsbc_iif    !   Ice-IF : use observed ice cover                      (nn_ice = 1) 
    98 !----------------------------------------------------------------------- 
    99 / 
    100 !----------------------------------------------------------------------- 
    101 &namtra_qsr    !   penetrative solar radiation                          (ln_traqsr =T) 
    102 !----------------------------------------------------------------------- 
    103 !              !  file name  ! frequency (hours) ! variable  ! time interp. !  clim  ! 'yearly'/ ! weights  ! rotation ! 
    104 !              !             !  (if <0  months)  !   name    !   (logical)  !  (T/F) ! 'monthly' ! filename ! pairing  ! 
    105    sn_chl      ='chlorophyll',        -1         , 'CHLA'    ,   .true.     , .true. , 'yearly'  , 'weights_bilin.nc'       , '' 
    106 / 
    107 !----------------------------------------------------------------------- 
    108 &namsbc_rnf    !   runoffs namelist surface boundary condition          (ln_rnf =T) 
    109 !----------------------------------------------------------------------- 
    110 / 
    111 !----------------------------------------------------------------------- 
    112 &namsbc_isf    !  Top boundary layer (ISF)                              (nn_isf >0) 
    113 !----------------------------------------------------------------------- 
    114 / 
    115 !----------------------------------------------------------------------- 
    116 &namsbc_iscpl  !   land ice / ocean coupling option                      
    117 !----------------------------------------------------------------------- 
    118 / 
    119 !----------------------------------------------------------------------- 
    120 &namsbc_apr    !   Atmospheric pressure used as ocean forcing           (ln_apr_dyn =T) 
    121 !----------------------------------------------------------------------- 
     103   nn_chldta   =      1       !  RGB : Chl data (=1) or cst value (=0) 
     104 
     105   cn_dir      = './'      !  root directory for the chlorophyl data location 
     106   !___________!_________________________!___________________!___________!_____________!________!___________!__________________!__________!_______________! 
     107   !           !  file name              ! frequency (hours) ! variable  ! time interp.!  clim  ! 'yearly'/ ! weights filename ! rotation ! land/sea mask ! 
     108   !           !                         !  (if <0  months)  !   name    !   (logical) !  (T/F) ! 'monthly' !                  ! pairing  !    filename   ! 
     109   sn_chl      ='chlorophyll'            ,        -1         , 'CHLA'    ,   .true.    , .true. , 'yearly'  ,'weights_bilin.nc', ''      , '' 
    122110/ 
    123111!----------------------------------------------------------------------- 
    124112&namsbc_ssr    !   surface boundary condition : sea surface restoring   (ln_ssr =T) 
    125113!----------------------------------------------------------------------- 
    126 / 
    127 !----------------------------------------------------------------------- 
    128 &namsbc_wave   ! External fields from wave model                        (ln_wave=T) 
    129 !----------------------------------------------------------------------- 
     114   !  not used in this zoom 
     115/ 
     116!----------------------------------------------------------------------- 
     117&namsbc_rnf    !   runoffs                                              (ln_rnf =T) 
     118!----------------------------------------------------------------------- 
     119   !  not used in this zoom 
    130120/ 
    131121!----------------------------------------------------------------------- 
    132122&namberg       !   iceberg parameters                                   (default: No iceberg) 
    133123!----------------------------------------------------------------------- 
    134       ln_icebergs              = .false.               ! iceberg floats or not 
    135 / 
    136 !----------------------------------------------------------------------- 
    137 &namlbc        !   lateral momentum boundary condition 
    138 !----------------------------------------------------------------------- 
    139 / 
     124   !  iceberg floats are not currently available with AGRIF 
     125   !     ===>>  forced deactivation in icbini.F90  
     126/ 
     127 
     128!!====================================================================== 
     129!!               ***  Lateral boundary condition  ***                 !! 
     130!!                                                                    !! 
     131!!   namlbc        lateral momentum boundary condition                  (no slip) 
     132!!   namagrif      agrif nested grid ( read by child model only )       ("key_agrif") 
     133!!   nam_tide      Tidal forcing                                        (default: NO) 
     134!!   nambdy        Unstructured open boundaries                         (default: NO) 
     135!!   nambdy_dta    Unstructured open boundaries - external data         (see  nambdy) 
     136!!   nambdy_tide   tidal forcing at open boundaries                     (default: NO) 
     137!!====================================================================== 
     138! 
    140139!----------------------------------------------------------------------- 
    141140&namagrif      !  AGRIF zoom                                            ("key_agrif") 
    142141!----------------------------------------------------------------------- 
    143 / 
    144 !----------------------------------------------------------------------- 
    145 &nam_tide      !   tide parameters 
    146 !----------------------------------------------------------------------- 
    147 / 
    148 !----------------------------------------------------------------------- 
    149 &nambdy        !  unstructured open boundaries                           
    150 !----------------------------------------------------------------------- 
    151 / 
    152 !----------------------------------------------------------------------- 
    153 &nambdy_dta    !  open boundaries - external data                        
    154 !----------------------------------------------------------------------- 
    155 / 
    156 !----------------------------------------------------------------------- 
    157 &nambdy_tide   !  tidal forcing at open boundaries 
    158 !----------------------------------------------------------------------- 
     142   ln_spc_dyn    = .true.  !  use 0 as special value for dynamics 
     143   rn_sponge_tra = 2880.   !  coefficient for tracer   sponge layer [m2/s] 
     144   rn_sponge_dyn = 2880.   !  coefficient for dynamics sponge layer [m2/s] 
     145   ln_chk_bathy  = .false. !  =T  check the parent bathymetry 
    159146/ 
    160147!----------------------------------------------------------------------- 
     
    164151/ 
    165152!----------------------------------------------------------------------- 
    166 &namdrg_top    !   TOP friction                                         (ln_isfcav=T) 
    167 !----------------------------------------------------------------------- 
    168 / 
    169 !----------------------------------------------------------------------- 
    170 &namdrg_bot    !   BOTTOM friction                                   
     153&namdrg_bot    !   BOTTOM friction                                       
    171154!----------------------------------------------------------------------- 
    172155/ 
     
    174157&nambbc        !   bottom temperature boundary condition                (default: NO) 
    175158!----------------------------------------------------------------------- 
    176    ln_trabbc   = .true.    !  Apply a geothermal heating at the ocean bottom 
     159   ln_trabbc   = .true.   !  Apply a geothermal heating at the ocean bottom 
     160      nn_geoflx   =    1      !  geothermal heat flux: = 1 constant flux 
     161!!gm      nn_geoflx   =    2      !  geothermal heat flux: = 2 read variable flux [mW/m2] 
     162 
     163   cn_dir      = './'      !  root directory for the geothermal data location 
     164   !___________!_________________________!___________________!___________!_____________!________!___________!__________________!__________!_______________! 
     165   !           !  file name              ! frequency (hours) ! variable  ! time interp.!  clim  ! 'yearly'/ ! weights filename ! rotation ! land/sea mask ! 
     166   !           !                         !  (if <0  months)  !   name    !   (logical) !  (T/F) ! 'monthly' !                  ! pairing  !    filename   ! 
     167   sn_qgh      ='geothermal_heating.nc'  ,       -12.        , 'heatflow',   .false.   , .true. , 'yearly'  ,'weights_bilin.nc',   ''     ,   '' 
    177168/ 
    178169!----------------------------------------------------------------------- 
     
    180171!----------------------------------------------------------------------- 
    181172   ln_trabbl   = .true.    !  Bottom Boundary Layer parameterisation flag 
    182    nn_bbl_ldf  =  1        !  diffusive bbl (=1)   or not (=0) 
    183    nn_bbl_adv  =  0        !  advective bbl (=1/2) or not (=0) 
    184    rn_ahtbbl   =  1000.    !  lateral mixing coefficient in the bbl  [m2/s] 
    185    rn_gambbl   =  10.      !  advective bbl coefficient                 [s] 
    186 / 
    187 !----------------------------------------------------------------------- 
    188 &nameos        !   ocean Equation Of Seawater                           (default: NO) 
    189 !----------------------------------------------------------------------- 
    190    ln_teos10   = .false.         !  = Use TEOS-10 equation of state 
     173      nn_bbl_ldf  =  1        !  diffusive bbl (=1)   or not (=0) 
     174      nn_bbl_adv  =  0        !  advective bbl (=1/2) or not (=0) 
     175      rn_ahtbbl   =  1000.    !  lateral mixing coefficient in the bbl  [m2/s] 
     176      rn_gambbl   =  10.      !  advective bbl coefficient                 [s] 
     177/ 
     178 
     179!!====================================================================== 
     180!!                        Tracer (T & S) namelists                    !! 
     181!!                                                                    !! 
     182!!   nameos           equation of state                                 (default: NO selection) 
     183!!   namtra_adv       advection scheme                                  (default: NO selection) 
     184!!   namtra_adv_mle   mixed layer eddy param. (Fox-Kemper param.)       (default: NO) 
     185!!   namtra_ldf       lateral diffusion scheme                          (default: NO selection) 
     186!!   namtra_eiv       eddy induced velocity param.                      (default: NO) 
     187!!   namtra_dmp       T & S newtonian damping                           (default: NO) 
     188!!====================================================================== 
     189! 
     190!----------------------------------------------------------------------- 
     191&nameos        !   ocean Equation Of Seawater                           (default: NO selection) 
     192!----------------------------------------------------------------------- 
    191193   ln_eos80    = .true.          !  = Use EOS80 
    192    ln_seos     = .false.         !  = Use S-EOS (simplified Eq.) 
    193194/ 
    194195!----------------------------------------------------------------------- 
     
    200201/ 
    201202!----------------------------------------------------------------------- 
    202 &namtra_adv_mle !   mixed layer eddy parametrisation (Fox-Kemper param) (default: NO) 
    203 !----------------------------------------------------------------------- 
    204 / 
    205 !----------------------------------------------------------------------- 
    206203&namtra_ldf    !   lateral diffusion scheme for tracers                 (default: NO selection) 
    207204!----------------------------------------------------------------------- 
    208    !                       !  Operator type: 
    209    ln_traldf_NONE  =  .false.  !           No operator (no explicit advection) 
    210205   ln_traldf_lap   =  .true.   !    laplacian operator 
    211    ln_traldf_blp   =  .false.  !  bilaplacian operator 
    212    !                       !  Direction of action: 
    213    ln_traldf_lev   =  .false.  !  iso-level 
    214    ln_traldf_hor   =  .false.  !  horizontal (geopotential) 
    215206   ln_traldf_iso   =  .true.   !  iso-neutral (Standard operator) 
    216    ln_traldf_triad =  .false.  !  iso-neutral (Triads   operator) 
    217    ! 
    218    !                       !  iso-neutral options:         
    219    ln_traldf_msc   =  .true.   !  Method of Stabilizing Correction (both operators) 
    220    rn_slpmax       =   0.01    !  slope limit                      (both operators) 
    221    ln_triad_iso    =  .false.  !  pure horizontal mixing in ML              (triad only) 
    222    rn_sw_triad     =  1        !  =1 switching triad ; =0 all 4 triads used (triad only) 
    223    ln_botmix_triad =  .false.  !  lateral mixing on bottom                  (triad only) 
    224    ! 
    225    !                       !  Coefficients: 
    226    nn_aht_ijk_t    = 20        !  space/time variation of eddy coef 
    227    !                                !   =-20 (=-30)    read in eddy_diffusivity_2D.nc (..._3D.nc) file 
    228    !                                !   =  0           constant  
    229    !                                !   = 10 F(k)      =ldf_c1d  
    230    !                                !   = 20 F(i,j)    =ldf_c2d  
    231    !                                !   = 21 F(i,j,t)  =Treguier et al. JPO 1997 formulation 
    232    !                                !   = 30 F(i,j,k)  =ldf_c2d + ldf_c1d 
    233    !                                !   = 31 F(i,j,k,t)=F(local velocity) 
    234    rn_aht_0        = 1000.     !  lateral eddy diffusivity   (lap. operator) [m2/s] 
    235    rn_bht_0        = 1.e+12    !  lateral eddy diffusivity (bilap. operator) [m4/s] 
    236 / 
    237 !----------------------------------------------------------------------- 
    238 &namtra_ldfeiv !   eddy induced velocity param.                         (default: NO) 
    239 !----------------------------------------------------------------------- 
    240    ln_ldfeiv     =.false.   ! use eddy induced velocity parameterization 
     207   nn_aht_ijk_t    = 20        !  = 20  F(i,j) = 1/2  Ud*max(e1,e2) (lap case) 
     208      rn_Ud        = 0.018          !  lateral diffusive velocity [m/s]  
     209      rn_Ld        =  50.e+3        !  lateral diffusive length   [m] 
     210/ 
     211!----------------------------------------------------------------------- 
     212&namtra_adv_mle !   mixed layer eddy parametrisation (Fox-Kemper)       (default: NO) 
     213!----------------------------------------------------------------------- 
     214   ln_mle      = .true.   ! (T) use the Mixed Layer Eddy (MLE) parameterisation 
     215/ 
     216!----------------------------------------------------------------------- 
     217&namtra_eiv !   eddy induced velocity param.                            (default: NO) 
     218!----------------------------------------------------------------------- 
     219   !  not used in this zoom 
    241220/ 
    242221!----------------------------------------------------------------------- 
    243222&namtra_dmp    !   tracer: T & S newtonian damping                      (default: NO) 
    244223!----------------------------------------------------------------------- 
    245    ln_tradmp   =  .false.   !  add a damping termn (T) or not (F) 
    246 / 
    247 !----------------------------------------------------------------------- 
    248 &nam_vvl       !   vertical coordinate options                          (default: z-star) 
    249 !----------------------------------------------------------------------- 
    250 / 
     224   !  not used in this zoom 
     225/ 
     226 
     227!!====================================================================== 
     228!!                      ***  Dynamics namelists  ***                  !! 
     229!!                                                                    !! 
     230!!   nam_vvl       vertical coordinate options                          (default: z-star) 
     231!!   namdyn_adv    formulation of the momentum advection                (default: NO selection) 
     232!!   namdyn_vor    advection scheme                                     (default: NO selection) 
     233!!   namdyn_hpg    hydrostatic pressure gradient                        (default: NO selection) 
     234!!   namdyn_spg    surface pressure gradient                            (default: NO selection) 
     235!!   namdyn_ldf    lateral diffusion scheme                             (default: NO selection) 
     236!!   namdta_dyn    offline TOP: dynamics read in files                  (OFF_SRC only) 
     237!!====================================================================== 
     238! 
    251239!----------------------------------------------------------------------- 
    252240&namdyn_adv    !   formulation of the momentum advection                (default: NO selection) 
    253241!----------------------------------------------------------------------- 
    254    ln_dynadv_NONE= .false. !  linear dynamics (no momentum advection) 
    255242   ln_dynadv_vec = .true.  !  vector form - 2nd centered scheme 
    256      nn_dynkeg     = 0        ! grad(KE) scheme: =0   C2  ;  =1   Hollingsworth correction 
    257    ln_dynadv_cen2= .false. !  flux form - 2nd order centered scheme 
    258    ln_dynadv_ubs = .false. !  flux form - 3rd order UBS      scheme 
    259 / 
    260 !----------------------------------------------------------------------- 
    261 &namdyn_vor    !   Vorticity / Coriolis scheme                          (default: NO) 
    262 !----------------------------------------------------------------------- 
    263    ln_dynvor_ene = .false. !  enstrophy conserving scheme 
    264    ln_dynvor_ens = .false. !  energy conserving scheme 
    265    ln_dynvor_mix = .false. !  mixed scheme 
     243     nn_dynkeg     = 0        !  =0 : C2 grad(KE) scheme 
     244/ 
     245!----------------------------------------------------------------------- 
     246&namdyn_vor    !   Vorticity / Coriolis scheme                          (default: NO selection) 
     247!----------------------------------------------------------------------- 
    266248   ln_dynvor_een = .true.  !  energy & enstrophy scheme 
    267249      nn_een_e3f = 0             !  e3f = masked averaging of e3t divided by 4 (=0) or by the sum of mask (=1) 
     
    273255/ 
    274256!----------------------------------------------------------------------- 
    275 &namdyn_spg    !   surface pressure gradient                            (default: NO) 
     257&namdyn_spg    !   surface pressure gradient                            (default: NO selection) 
    276258!----------------------------------------------------------------------- 
    277259   ln_dynspg_ts  = .true.  !  split-explicit free surface 
     
    280262&namdyn_ldf    !   lateral diffusion on momentum                        (default: NO selection) 
    281263!----------------------------------------------------------------------- 
    282    !                       !  Type of the operator : 
    283    !                           !  no diffusion: set ln_dynldf_lap=..._blp=F  
    284    ln_dynldf_lap =  .false.    !    laplacian operator 
    285264   ln_dynldf_blp =  .true.     !  bilaplacian operator 
    286    !                       !  Direction of action  : 
    287265   ln_dynldf_lev =  .true.     !  iso-level 
    288    ln_dynldf_hor =  .false.    !  horizontal (geopotential) 
    289    ln_dynldf_iso =  .false.    !  iso-neutral 
    290    !                       !  Coefficient 
    291    nn_ahm_ijk_t  =  0          !  space/time variation of eddy coef 
    292    !                                !  =-30  read in eddy_viscosity_3D.nc file 
    293    !                                !  =-20  read in eddy_viscosity_2D.nc file 
    294    !                                !  =  0  constant  
    295    !                                !  = 10  F(k)=c1d 
    296    !                                !  = 20  F(i,j)=F(grid spacing)=c2d 
    297    !                                !  = 30  F(i,j,k)=c2d*c1d 
    298    !                                !  = 31  F(i,j,k)=F(grid spacing and local velocity) 
    299    rn_ahm_0      =  40000.     !  horizontal laplacian eddy viscosity   [m2/s] 
    300    rn_ahm_b      =      0.     !  background eddy viscosity for ldf_iso [m2/s] 
    301    rn_bhm_0      = 8.5e+11     !  horizontal bilaplacian eddy viscosity [m4/s] 
    302    ! 
    303    ! Caution in 20 and 30 cases the coefficient have to be given for a 1 degree grid (~111km) 
    304 / 
     266   nn_ahm_ijk_t  =  0          !  =  0  constant = 1/12 Uv*Lv^3 (blp case) 
     267      rn_Uv      = 0.0816           !  lateral viscous velocity [m/s] 
     268      rn_Lv      = 100.e+3          !  lateral viscous length   [m] 
     269/ 
     270 
     271!!====================================================================== 
     272!!                     vertical physics namelists                     !! 
     273!!                                                                    !! 
     274!!    namzdf        vertical physics manager                            (default: NO selection) 
     275!!    namzdf_ric    richardson number vertical mixing                   (ln_zdfric=T) 
     276!!    namzdf_tke    TKE vertical mixing                                 (ln_zdftke=T) 
     277!!    namzdf_gls    GLS vertical mixing                                 (ln_zdfgls=T) 
     278!!    namzdf_osm    OSM vertical diffusion                              (ln_zdfosm=T) 
     279!!    namzdf_iwm    tidal mixing parameterization                       (ln_zdfiwm=T) 
     280!!====================================================================== 
     281! 
    305282!----------------------------------------------------------------------- 
    306283&namzdf        !   vertical physics                                     (default: NO selection) 
    307284!----------------------------------------------------------------------- 
    308    !                       ! type of vertical closure 
    309    ln_zdfcst   = .false.      !  constant mixing 
    310    ln_zdfric   = .false.      !  local Richardson dependent formulation (T =>   fill namzdf_ric) 
    311285   ln_zdftke   = .true.       !  Turbulent Kinetic Energy closure       (T =>   fill namzdf_tke) 
    312    ln_zdfgls   = .false.      !  Generic Length Scale closure           (T =>   fill namzdf_gls) 
    313    ln_zdfosm   = .false.      !  OSMOSIS BL closure                     (T =>   fill namzdf_osm) 
    314    ! 
    315    !                       ! convection 
    316286   ln_zdfevd   = .true.       !  Enhanced Vertical Diffusion scheme 
    317287      nn_evdm  =    0            !  evd apply on tracer (=0) or on tracer and momentum (=1) 
    318288      rn_evd   =  100.           !  evd mixing coefficient [m2/s] 
    319    ! 
    320289   ln_zdfddm   = .true.    ! double diffusive mixing 
    321290      rn_avts  =    1.e-4     !  maximum avs (vertical mixing on salinity) 
    322291      rn_hsbfr =    1.6       !  heat/salt buoyancy flux ratio 
    323    ! 
    324    !                       ! gravity wave-driven vertical mixing 
    325292   ln_zdfiwm   = .false.      ! internal wave-induced mixing            (T =>   fill namzdf_iwm) 
    326    ln_zdfswm   = .false.      ! surface  wave-induced mixing            (T => ln_wave=ln_sdw=T ) 
    327    ! 
    328293   !                       !  Coefficients 
    329294   rn_avm0     =   1.2e-4     !  vertical eddy viscosity   [m2/s]       (background Kz if ln_zdfcst=F) 
     
    333298/ 
    334299!----------------------------------------------------------------------- 
    335 &namzdf_ric    !   richardson number dependent vertical diffusion       (ln_zdfric =T) 
    336 !----------------------------------------------------------------------- 
    337 / 
    338 !----------------------------------------------------------------------- 
    339300&namzdf_tke    !   turbulent eddy kinetic dependent vertical diffusion  (ln_zdftke =T) 
    340301!----------------------------------------------------------------------- 
    341302/ 
    342303!----------------------------------------------------------------------- 
    343 &namzdf_gls    !   GLS vertical diffusion                               (ln_zdfgls =T) 
    344 !----------------------------------------------------------------------- 
    345 / 
    346 !----------------------------------------------------------------------- 
    347 &namzdf_osm    !   OSM vertical diffusion                               (ln_zdfosm =T) 
    348 !----------------------------------------------------------------------- 
    349 / 
    350 !----------------------------------------------------------------------- 
    351304&namzdf_iwm    !    internal wave-driven mixing parameterization        (ln_zdfiwm =T) 
    352305!----------------------------------------------------------------------- 
    353 / 
    354 !----------------------------------------------------------------------- 
    355 &nammpp        !   Massively Parallel Processing                        ("key_mpp_mpi") 
    356 !----------------------------------------------------------------------- 
    357 / 
    358 !----------------------------------------------------------------------- 
    359 &namctl        !   Control prints  
    360 !----------------------------------------------------------------------- 
    361 / 
    362 !----------------------------------------------------------------------- 
    363 &namsto        ! Stochastic parametrization of EOS                      (default: NO) 
    364 !----------------------------------------------------------------------- 
    365 / 
    366 !----------------------------------------------------------------------- 
    367 &namtrd        !   trend diagnostics                                    (default F) 
    368 !----------------------------------------------------------------------- 
    369 / 
    370 !----------------------------------------------------------------------- 
    371 &namptr        !   Poleward Transport Diagnostic                        (default F) 
    372 !----------------------------------------------------------------------- 
    373 / 
    374 !----------------------------------------------------------------------- 
    375 &namhsb        !  Heat and salt budgets                                 (default F) 
    376 !----------------------------------------------------------------------- 
    377 / 
    378 !----------------------------------------------------------------------- 
    379 &namdiu        !   Cool skin and warm layer models                      (default F) 
    380 !----------------------------------------------------------------------- 
    381 / 
    382 !----------------------------------------------------------------------- 
    383 &namflo        !   float parameters                                     ("key_float") 
    384 !----------------------------------------------------------------------- 
    385 / 
    386 !----------------------------------------------------------------------- 
    387 &nam_diaharm   !   Harmonic analysis of tidal constituents              ("key_diaharm") 
    388 !----------------------------------------------------------------------- 
    389 / 
    390 !----------------------------------------------------------------------- 
    391 &namdct        ! transports through some sections                       ("key_diadct") 
    392 !----------------------------------------------------------------------- 
    393 / 
    394 !----------------------------------------------------------------------- 
    395 &nam_diatmb    !  Top Middle Bottom Output                              (default F) 
    396 !----------------------------------------------------------------------- 
    397 / 
    398 !----------------------------------------------------------------------- 
    399 &nam_dia25h    !  25h Mean Output                                       (default F) 
    400 !----------------------------------------------------------------------- 
    401 / 
    402 !----------------------------------------------------------------------- 
    403 &namnc4        !   netcdf4 chunking and compression settings            ("key_netcdf4") 
    404 !----------------------------------------------------------------------- 
    405 / 
    406 !----------------------------------------------------------------------- 
    407 &namobs        !  observation usage switch 
    408 !----------------------------------------------------------------------- 
    409 / 
    410 !----------------------------------------------------------------------- 
    411 &nam_asminc    !   assimilation increments                              ('key_asminc') 
    412 !----------------------------------------------------------------------- 
    413 / 
    414 !----------------------------------------------------------------------- 
    415 &namdta_dyn    !   offline dynamics read in files                       ("key_offline") 
    416 !----------------------------------------------------------------------- 
    417 / 
     306   !  not used in this zoom 
     307/ 
     308 
     309!!====================================================================== 
     310!!                  ***  Diagnostics namelists  ***                   !! 
     311!!                                                                    !! 
     312!!   namtrd       dynamics and/or tracer trends                         (default NO) 
     313!!   namptr       Poleward Transport Diagnostics                        (default NO) 
     314!!   namhsb       Heat and salt budgets                                 (default NO) 
     315!!   namdiu       Cool skin and warm layer models                       (default NO) 
     316!!   namdiu       Cool skin and warm layer models                       (default NO) 
     317!!   namflo       float parameters                                      ("key_float") 
     318!!   nam_diaharm  Harmonic analysis of tidal constituents               ("key_diaharm") 
     319!!   namdct       transports through some sections                      ("key_diadct") 
     320!!   nam_diatmb   Top Middle Bottom Output                              (default NO) 
     321!!   nam_dia25h   25h Mean Output                                       (default NO) 
     322!!   namnc4       netcdf4 chunking and compression settings             ("key_netcdf4") 
     323!!====================================================================== 
     324! 
     325 
     326!!====================================================================== 
     327!!               ***  Observation & Assimilation  ***                 !! 
     328!!                                                                    !! 
     329!!   namobs       observation and model comparison                      (default: NO) 
     330!!   nam_asminc   assimilation increments                               ('key_asminc') 
     331!!====================================================================== 
     332! 
  • branches/2017/dev_merge_2017/NEMOGCM/CONFIG/ORCA2_LIM3_PISCES/EXP00/namelist_cfg

    r9356 r9490  
    11!!>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
    2 !! NEMO/OPA  Configuration namelist : used to overwrite defaults values defined in SHARED/namelist_ref 
     2!! NEMO/OPA  ORCA2 namelist : overwrite some defaults values defined in SHARED/namelist_ref 
    33!!>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
     4!                       ORCA2 - IC3 configuration                      ! 
     5 
     6!!====================================================================== 
     7!!              ***  Domain & Run management namelists  ***           !! 
     8!!                                                                    !! 
     9!!   namrun       parameters of the run 
     10!!   namdom       space and time domain 
     11!!   namcfg       parameters of the configuration                       (default: user defined GYRE) 
     12!!   namwad       Wetting and drying                                    (default NO) 
     13!!   namtsd       data: temperature & salinity                          (default NO) 
     14!!   namcrs       coarsened grid (for outputs and/or TOP)               (ln_crs =T) 
     15!!====================================================================== 
     16! 
    417!----------------------------------------------------------------------- 
    518&namrun        !   parameters of the run 
    619!----------------------------------------------------------------------- 
    7    nn_no       =       0   !  job number (no more used...) 
    820   cn_exp      =  "ORCA2"  !  experience name 
    921   nn_it000    =       1   !  first time step 
    1022   nn_itend    =    5475   !  last  time step (std 5475) 
     23   nn_istate   =       0   !  output the initial state (1) or not (0) 
     24/ 
     25!----------------------------------------------------------------------- 
     26&namdom        !   time and space domain 
     27!----------------------------------------------------------------------- 
     28   rn_rdt      = 5760.     !  time step for the dynamics and tracer 
    1129/ 
    1230!----------------------------------------------------------------------- 
     
    1432!----------------------------------------------------------------------- 
    1533   ln_read_cfg = .true.    !  (=T) read the domain configuration file 
    16       !                    !  (=F) user defined configuration  ==>>>  see usrdef(_...) modules 
    1734      cn_domcfg = "ORCA_R2_zps_domcfg"    ! domain configuration filename 
    1835      ! 
    19       ln_closea    = .false.    !  T => keep closed seas (defined by closea_mask field) in the   
    20       !                         !       domain and apply special treatment of freshwater fluxes. 
    21       !                         !  F => suppress closed seas (defined by closea_mask field)  
     36      ln_closea    = .false.    !  F => suppress closed seas (defined by closea_mask field)  
    2237      !                         !       from the bathymetry at runtime. 
    23       !                         !  If closea_mask field doesn't exist in the domain_cfg file 
    24       !                         !       then this logical does nothing. 
    25 / 
    26 !----------------------------------------------------------------------- 
    27 &namdom        !   time and space domain 
    28 !----------------------------------------------------------------------- 
    29    ln_linssh   = .false.   !  =T  linear free surface  ==>>  model level are fixed in time 
    30    rn_rdt      = 5760.     !  time step for the dynamics and tracer 
    31    rn_atfp     =    0.1    !  asselin time filter parameter 
    32 / 
    33 !----------------------------------------------------------------------- 
    34 &namtsd        !   data : Temperature  & Salinity 
    35 !----------------------------------------------------------------------- 
    36 / 
    37 !----------------------------------------------------------------------- 
    38 &namwad        !   Wetting and drying  default is no WAD 
    39 !----------------------------------------------------------------------- 
    40 / 
    41 !----------------------------------------------------------------------- 
    42 &namcrs        !   coarsened grid (for outputs and/or TOP)              (ln_crs =T) 
    43 !----------------------------------------------------------------------- 
    44 / 
    45 !----------------------------------------------------------------------- 
    46 &namc1d        !   1D configuration options                             ("key_c1d") 
    47 !----------------------------------------------------------------------- 
    48 / 
    49 !----------------------------------------------------------------------- 
    50 &namc1d_dyndmp !   U & V newtonian damping                              ("key_c1d") 
    51 !----------------------------------------------------------------------- 
    52 / 
    53 !----------------------------------------------------------------------- 
    54 &namc1d_uvd    !   data: U & V currents                                 ("key_c1d") 
    55 !----------------------------------------------------------------------- 
    56 / 
    57 !----------------------------------------------------------------------- 
    58 &namsbc        !   Surface Boundary Condition (surface module) 
    59 !----------------------------------------------------------------------- 
     38/ 
     39!----------------------------------------------------------------------- 
     40&namtsd        !    Temperature & Salinity Data                         (default: NO) 
     41!----------------------------------------------------------------------- 
     42   !                       ! =T  read T-S fields for: 
     43   ln_tsd_init = .true.          !  ocean initialisation 
     44   ln_tsd_dmp  = .true.          !  T-S restoring   (see namtra_dmp) 
     45 
     46   cn_dir = './'     !  root directory for the T-S data location 
     47   !___________!_________________________!___________________!___________!_____________!________!___________!__________________!__________!_______________! 
     48   !           !  file name              ! frequency (hours) ! variable  ! time interp.!  clim  ! 'yearly'/ ! weights filename ! rotation ! land/sea mask ! 
     49   !           !                         !  (if <0  months)  !   name    !   (logical) !  (T/F) ! 'monthly' !                  ! pairing  !    filename   ! 
     50   sn_tem = 'data_1m_potential_temperature_nomask',     -1      ,'votemper',   .true.    , .true. , 'yearly'  ,    ''    ,    ''    ,    '' 
     51   sn_sal = 'data_1m_salinity_nomask'             ,     -1      ,'vosaline',   .true.    , .true. , 'yearly'  ,    ''    ,    ''    ,    '' 
     52/ 
     53 
     54!!====================================================================== 
     55!!            ***  Surface Boundary Condition namelists  ***          !! 
     56!!                                                                    !! 
     57!!   namsbc          surface boundary condition manager                 (default: NO selection) 
     58!!   namsbc_flx      flux               formulation                     (ln_flx     =T) 
     59!!   namsbc_blk      Bulk formulae formulation                          (ln_blk     =T) 
     60!!   namsbc_cpl      CouPLed            formulation                     ("key_oasis3" ) 
     61!!   namsbc_sas      Stand-Alone Surface module                         (SAS_SRC  only) 
     62!!   namsbc_iif      Ice-IF: use observed ice cover                     (nn_ice = 1   ) 
     63!!   namtra_qsr      penetrative solar radiation                        (ln_traqsr  =T) 
     64!!   namsbc_ssr      sea surface restoring term (for T and/or S)        (ln_ssr     =T) 
     65!!   namsbc_rnf      river runoffs                                      (ln_rnf     =T) 
     66!!   namsbc_apr      Atmospheric Pressure                               (ln_apr_dyn =T) 
     67!!   namsbc_isf      ice shelf melting/freezing                         (ln_isfcav  =T : read (ln_read_cfg=T) or set or usr_def_zgr ) 
     68!!   namsbc_iscpl    coupling option between land ice model and ocean   (ln_isfcav  =T) 
     69!!   namsbc_wave     external fields from wave model                    (ln_wave    =T) 
     70!!   namberg         iceberg floats                                     (ln_icebergs=T) 
     71!!====================================================================== 
     72! 
     73!----------------------------------------------------------------------- 
     74&namsbc        !   Surface Boundary Condition (surface module)          (default: NO selection) 
     75!----------------------------------------------------------------------- 
     76   nn_fsbc     = 5         !  frequency of SBC module call 
     77                           !     (also = the frequency of sea-ice & iceberg model call) 
     78                     ! Type of air-sea fluxes  
    6079   ln_blk      = .true.    !  Bulk formulation                          (T => fill namsbc_blk ) 
    61 / 
    62 !----------------------------------------------------------------------- 
    63 &namsbc_flx    !   surface boundary condition : flux formulation 
    64 !----------------------------------------------------------------------- 
     80                     ! Sea-ice : 
     81   nn_ice      = 2         !  =2 or 3 automatically for LIM3 or CICE    ("key_lim3" or "key_cice") 
     82                           !          except in AGRIF zoom where it has to be specified 
     83                     ! Misc. options of sbc :  
     84   ln_traqsr   = .true.    !  Light penetration in the ocean            (T => fill namtra_qsr) 
     85   ln_ssr      = .true.    !  Sea Surface Restoring on T and/or S       (T => fill namsbc_ssr) 
     86   ln_rnf      = .true.    !  runoffs                                   (T => fill namsbc_rnf) 
     87   nn_fwb      = 2         !  FreshWater Budget:  
     88   !                       !    =2 annual global mean of e-p-r set to zero 
    6589/ 
    6690!----------------------------------------------------------------------- 
    6791&namsbc_blk   !   namsbc_blk  generic Bulk formula                      (ln_blk =T) 
    6892!----------------------------------------------------------------------- 
    69    ln_NCAR     = .true.   ! "NCAR"      algorithm   (Large and Yeager 2008) 
    70 / 
    71 !----------------------------------------------------------------------- 
    72 &namsbc_cpl    !   coupled ocean/atmosphere model                       ("key_oasis3") 
    73 !----------------------------------------------------------------------- 
    74 / 
    75 !----------------------------------------------------------------------- 
    76 &namsbc_sas    !   Stand-Alone Surface boundary condition 
    77 !----------------------------------------------------------------------- 
    78 / 
    79 !----------------------------------------------------------------------- 
    80 &namsbc_iif    !   Ice-IF : use observed ice cover                      (nn_ice = 1) 
    81 !----------------------------------------------------------------------- 
     93   !                    !  bulk algorithm : 
     94   ln_NCAR    = .true.     ! "NCAR"      algorithm   (Large and Yeager 2008) 
     95 
     96   cn_dir = './'  !  root directory for the bulk data location 
     97   !___________!_________________________!___________________!___________!_____________!________!___________!______________________________________!__________!_______________! 
     98   !           !  file name              ! frequency (hours) ! variable  ! time interp.!  clim  ! 'yearly'/ !          weights filename            ! rotation ! land/sea mask ! 
     99   !           !                         !  (if <0  months)  !   name    !   (logical) !  (T/F) ! 'monthly' !                                      ! pairing  !    filename   ! 
     100   sn_wndi     = 'u_10.15JUNE2009_fill'       ,    6         , 'U_10_MOD',   .false.   , .true. , 'yearly'  , 'weights_core_orca2_bicubic_noc.nc'  , 'Uwnd'   , '' 
     101   sn_wndj     = 'v_10.15JUNE2009_fill'       ,    6         , 'V_10_MOD',   .false.   , .true. , 'yearly'  , 'weights_core_orca2_bicubic_noc.nc'  , 'Vwnd'   , '' 
     102   sn_qsr      = 'ncar_rad.15JUNE2009_fill'   ,   24         , 'SWDN_MOD',   .false.   , .true. , 'yearly'  , 'weights_core_orca2_bilinear_noc.nc' , ''       , '' 
     103   sn_qlw      = 'ncar_rad.15JUNE2009_fill'   ,   24         , 'LWDN_MOD',   .false.   , .true. , 'yearly'  , 'weights_core_orca2_bilinear_noc.nc' , ''       , '' 
     104   sn_tair     = 't_10.15JUNE2009_fill'       ,    6         , 'T_10_MOD',   .false.   , .true. , 'yearly'  , 'weights_core_orca2_bilinear_noc.nc' , ''       , '' 
     105   sn_humi     = 'q_10.15JUNE2009_fill'       ,    6         , 'Q_10_MOD',   .false.   , .true. , 'yearly'  , 'weights_core_orca2_bilinear_noc.nc' , ''       , '' 
     106   sn_prec     = 'ncar_precip.15JUNE2009_fill',   -1         , 'PRC_MOD1',   .false.   , .true. , 'yearly'  , 'weights_core_orca2_bilinear_noc.nc' , ''       , '' 
     107   sn_snow     = 'ncar_precip.15JUNE2009_fill',   -1         , 'SNOW'    ,   .false.   , .true. , 'yearly'  , 'weights_core_orca2_bilinear_noc.nc' , ''       , '' 
     108   sn_slp      = 'slp.15JUNE2009_fill'        ,    6         , 'SLP'     ,   .false.   , .true. , 'yearly'  , 'weights_core_orca2_bilinear_noc.nc' , ''       , '' 
     109   sn_tdif     = 'taudif_core'                ,   24         , 'taudif'  ,   .false.   , .true. , 'yearly'  , 'weights_core_orca2_bilinear_noc.nc' , ''       , '' 
    82110/ 
    83111!----------------------------------------------------------------------- 
    84112&namtra_qsr    !   penetrative solar radiation                          (ln_traqsr =T) 
    85113!----------------------------------------------------------------------- 
    86 / 
    87 !----------------------------------------------------------------------- 
    88 &namsbc_rnf    !   runoffs namelist surface boundary condition          (ln_rnf =T) 
    89 !----------------------------------------------------------------------- 
    90 / 
    91 !----------------------------------------------------------------------- 
    92 &namsbc_isf    !  Top boundary layer (ISF)                              (nn_isf >0) 
    93 !----------------------------------------------------------------------- 
    94 / 
    95 !----------------------------------------------------------------------- 
    96 &namsbc_iscpl  !   land ice / ocean coupling option                      
    97 !----------------------------------------------------------------------- 
    98 / 
    99 !----------------------------------------------------------------------- 
    100 &namsbc_apr    !   Atmospheric pressure used as ocean forcing           (ln_apr_dyn =T) 
    101 !----------------------------------------------------------------------- 
     114   !                       ! type of penetration                        (default: NO selection) 
     115   ln_qsr_rgb  = .true.       !  RGB light penetration (Red-Green-Blue) 
     116   ! 
     117   nn_chldta   =      1       !  RGB : Chl data (=1) or cst value (=0) 
     118 
     119   cn_dir = './'  !  root directory for the chlorophyl data location 
     120   !___________!_________________________!___________________!___________!_____________!________!___________!__________________!__________!_______________! 
     121   !           !  file name              ! frequency (hours) ! variable  ! time interp.!  clim  ! 'yearly'/ ! weights filename ! rotation ! land/sea mask ! 
     122   !           !                         !  (if <0  months)  !   name    !   (logical) !  (T/F) ! 'monthly' !                  ! pairing  !    filename   ! 
     123   sn_chl      ='chlorophyll'            ,        -1         , 'CHLA'    ,   .true.    , .true. , 'yearly'  , ''               , ''       , '' 
    102124/ 
    103125!----------------------------------------------------------------------- 
    104126&namsbc_ssr    !   surface boundary condition : sea surface restoring   (ln_ssr =T) 
    105127!----------------------------------------------------------------------- 
    106 / 
    107 !----------------------------------------------------------------------- 
    108 &namsbc_wave   ! External fields from wave model                        (ln_wave=T) 
    109 !----------------------------------------------------------------------- 
     128   nn_sssr     =     2     !  add a damping term to the surface freshwater flux 
     129      rn_deds     =  -166.67  !  magnitude of the damping on salinity   [mm/day] 
     130      ln_sssr_bnd =  .true.   !  flag to bound erp term (associated with nn_sssr=2) 
     131      rn_sssr_bnd =   4.e0    !  ABS(Max/Min) value of the damping erp term [mm/day] 
     132/ 
     133!----------------------------------------------------------------------- 
     134&namsbc_rnf    !   runoffs                                              (ln_rnf =T) 
     135!----------------------------------------------------------------------- 
     136   ln_rnf_mouth= .true.    !  specific treatment at rivers mouths 
     137      rn_hrnf     =  15.e0    !  depth over which enhanced vertical mixing is used    (ln_rnf_mouth=T) 
     138      rn_avt_rnf  =   1.e-3   !  value of the additional vertical mixing coef. [m2/s] (ln_rnf_mouth=T) 
     139   rn_rfact    =   1.e0    !  multiplicative factor for runoff 
     140 
     141   cn_dir = './'  !  root directory for the location of the runoff files 
     142   !___________!_____________!___________________!___________!_____________!_________!___________!__________!__________!_______________! 
     143   !           !  file name  ! frequency (hours) ! variable  ! time interp. !  clim  ! 'yearly'/ ! weights  ! rotation ! land/sea mask ! 
     144   !           !             !  (if <0  months)  !   name    !   (logical)  !  (T/F) ! 'monthly' ! filename ! pairing  ! filename      ! 
     145   sn_rnf      = 'runoff_core_monthly',    -1    , 'sorunoff',   .true.     , .true. , 'yearly'  , ''       , ''       , '' 
     146   sn_cnf      = 'runoff_core_monthly',     0    , 'socoefr0',   .false.    , .true. , 'yearly'  , ''       , ''       , '' 
     147   sn_s_rnf    = 'runoffs'            ,    24    , 'rosaline',   .true.     , .true. , 'yearly'  , ''       , ''       , '' 
     148   sn_t_rnf    = 'runoffs'            ,    24    , 'rotemper',   .true.     , .true. , 'yearly'  , ''       , ''       , '' 
     149   sn_dep_rnf  = 'runoffs'            ,     0    , 'rodepth' ,   .false.    , .true. , 'yearly'  , ''       , ''       , '' 
    110150/ 
    111151!----------------------------------------------------------------------- 
    112152&namberg       !   iceberg parameters                                   (default: No iceberg) 
    113153!----------------------------------------------------------------------- 
    114       ln_icebergs              = .true.               ! iceberg floats or not 
    115       ln_bergdia               = .true.               ! Calculate budgets 
    116       nn_verbose_level         = 1                    ! Turn on more verbose output if level > 0 
    117       nn_verbose_write         = 15                   ! Timesteps between verbose messages 
    118       nn_sample_rate           = 1                    ! Timesteps between sampling for trajectory storage 
    119                                                       ! Initial mass required for an iceberg of each class 
    120       rn_initial_mass          = 8.8e7, 4.1e8, 3.3e9, 1.8e10, 3.8e10, 7.5e10, 1.2e11, 2.2e11, 3.9e11, 7.4e11 
    121                                                       ! Proportion of calving mass to apportion to each class 
    122       rn_distribution          = 0.24, 0.12, 0.15, 0.18, 0.12, 0.07, 0.03, 0.03, 0.03, 0.02 
    123                                                       ! Ratio between effective and real iceberg mass (non-dim) 
    124                                                       ! i.e. number of icebergs represented at a point 
    125       rn_mass_scaling          = 2000, 200, 50, 20, 10, 5, 2, 1, 1, 1 
    126                                                       ! thickness of newly calved bergs (m) 
    127       rn_initial_thickness     = 40., 67., 133., 175., 250., 250., 250., 250., 250., 250. 
    128       rn_rho_bergs             = 850.                 ! Density of icebergs 
    129       rn_LoW_ratio             = 1.5                  ! Initial ratio L/W for newly calved icebergs 
    130       ln_operator_splitting    = .true.               ! Use first order operator splitting for thermodynamics 
    131       rn_bits_erosion_fraction = 0.                   ! Fraction of erosion melt flux to divert to bergy bits 
    132       rn_sicn_shift            = 0.                   ! Shift of sea-ice concn in erosion flux (0<sicn_shift<1) 
    133       ln_passive_mode          = .false.              ! iceberg - ocean decoupling 
    134       nn_test_icebergs         = -1                   ! Create test icebergs of this class (-1 = no) 
    135                                                       ! Put a test iceberg at each gridpoint in box (lon1,lon2,lat1,lat2) 
    136       rn_test_box              = 108.0,  116.0, -66.0, -58.0 
    137       rn_speed_limit           = 0.                   ! CFL speed limit for a berg 
    138  
    139 !            ! file name ! frequency (hours) !   variable   ! time interp.!  clim   ! 'yearly'/ ! weights  ! rotation ! land/sea mask ! 
    140 !            !           !  (if <0  months)  !     name     !  (logical)  !  (T/F ) ! 'monthly' ! filename ! pairing  ! filename      ! 
    141       sn_icb =  'calving',       -1          , 'calving'    ,   .true.    , .true.  , 'yearly'  ,    ''    ,    ''    ,     '' 
    142  
    143       cn_dir = './' 
    144 / 
    145 !----------------------------------------------------------------------- 
    146 &namlbc        !   lateral momentum boundary condition 
    147 !----------------------------------------------------------------------- 
    148 / 
     154   ln_icebergs = .true.    ! activate iceberg floats (force =F with "key_agrif") 
     155 
     156   cn_dir = './'  !  root directory for the location of drag coefficient files 
     157   !______!___________!___________________!______________!______________!_________!___________!__________!__________!_______________! 
     158   !      ! file name ! frequency (hours) !   variable   ! time interp. !  clim   ! 'yearly'/ ! weights  ! rotation ! land/sea mask ! 
     159   !      !           !  (if <0  months)  !     name     !   (logical)  !  (T/F ) ! 'monthly' ! filename ! pairing  ! filename      ! 
     160   sn_icb =  'calving',       -1          , 'calving'    ,   .true.     , .true.  , 'yearly'  , ''       , ''       , '' 
     161/ 
     162 
     163!!====================================================================== 
     164!!               ***  Lateral boundary condition  ***                 !! 
     165!!                                                                    !! 
     166!!   namlbc        lateral momentum boundary condition                  (no slip) 
     167!!   namagrif      agrif nested grid ( read by child model only )       ("key_agrif") 
     168!!   nam_tide      Tidal forcing                                        (default: NO) 
     169!!   nambdy        Unstructured open boundaries                         (default: NO) 
     170!!   nambdy_dta    Unstructured open boundaries - external data         (see  nambdy) 
     171!!   nambdy_tide   tidal forcing at open boundaries                     (default: NO) 
     172!!====================================================================== 
     173! 
    149174!----------------------------------------------------------------------- 
    150175&namagrif      !  AGRIF zoom                                            ("key_agrif") 
    151176!----------------------------------------------------------------------- 
    152 / 
    153 !----------------------------------------------------------------------- 
    154 &nam_tide      !   tide parameters 
    155 !----------------------------------------------------------------------- 
    156 / 
    157 !----------------------------------------------------------------------- 
    158 &nambdy        !  unstructured open boundaries                           
    159 !----------------------------------------------------------------------- 
    160 / 
    161 !----------------------------------------------------------------------- 
    162 &nambdy_dta    !  open boundaries - external data                        
    163 !----------------------------------------------------------------------- 
    164 / 
    165 !----------------------------------------------------------------------- 
    166 &nambdy_tide   !  tidal forcing at open boundaries 
    167 !----------------------------------------------------------------------- 
     177   ln_spc_dyn    = .true.  !  use 0 as special value for dynamics 
     178   rn_sponge_tra = 2880.   !  coefficient for tracer   sponge layer [m2/s] 
     179   rn_sponge_dyn = 2880.   !  coefficient for dynamics sponge layer [m2/s] 
     180   ln_chk_bathy  = .false. !  =T  check the parent bathymetry 
    168181/ 
    169182!----------------------------------------------------------------------- 
     
    173186/ 
    174187!----------------------------------------------------------------------- 
    175 &namdrg_top    !   TOP friction                                         (ln_isfcav=T) 
    176 !----------------------------------------------------------------------- 
    177 / 
    178 !----------------------------------------------------------------------- 
    179188&namdrg_bot    !   BOTTOM friction                                   
    180189!----------------------------------------------------------------------- 
     
    184193!----------------------------------------------------------------------- 
    185194   ln_trabbc   = .true.    !  Apply a geothermal heating at the ocean bottom 
     195      nn_geoflx   =    2      !  geothermal heat flux: = 2 read variable flux [mW/m2] 
     196 
     197   cn_dir = './'  !  root directory for the geothermal data location 
     198   !___________!_________________________!___________________!___________!_____________!________!___________!__________________!__________!_______________! 
     199   !           !  file name              ! frequency (hours) ! variable  ! time interp.!  clim  ! 'yearly'/ ! weights filename ! rotation ! land/sea mask ! 
     200   !           !                         !  (if <0  months)  !   name    !   (logical) !  (T/F) ! 'monthly' !                  ! pairing  !    filename   ! 
     201   sn_qgh      ='geothermal_heating.nc'  ,       -12.        , 'heatflow',   .false.   , .true. , 'yearly'  ,   ''             ,   ''     ,   '' 
    186202/ 
    187203!----------------------------------------------------------------------- 
     
    189205!----------------------------------------------------------------------- 
    190206   ln_trabbl   = .true.    !  Bottom Boundary Layer parameterisation flag 
    191    nn_bbl_ldf  =  1        !  diffusive bbl (=1)   or not (=0) 
    192    nn_bbl_adv  =  0        !  advective bbl (=1/2) or not (=0) 
    193    rn_ahtbbl   =  1000.    !  lateral mixing coefficient in the bbl  [m2/s] 
    194    rn_gambbl   =  10.      !  advective bbl coefficient                 [s] 
    195 / 
    196 !----------------------------------------------------------------------- 
    197 &nameos        !   ocean Equation Of Seawater                           (default: NO) 
    198 !----------------------------------------------------------------------- 
    199    ln_teos10   = .false.         !  = Use TEOS-10 equation of state 
     207      nn_bbl_ldf  =  1        !  diffusive bbl (=1)   or not (=0) 
     208      nn_bbl_adv  =  0        !  advective bbl (=1/2) or not (=0) 
     209      rn_ahtbbl   =  1000.    !  lateral mixing coefficient in the bbl  [m2/s] 
     210      rn_gambbl   =  10.      !  advective bbl coefficient                 [s] 
     211/ 
     212 
     213!!====================================================================== 
     214!!                        Tracer (T & S) namelists                    !! 
     215!!                                                                    !! 
     216!!   nameos           equation of state                                 (default: NO selection) 
     217!!   namtra_adv       advection scheme                                  (default: NO selection) 
     218!!   namtra_ldf       lateral diffusion scheme                          (default: NO selection) 
     219!!   namtra_adv_mle   mixed layer eddy param. (Fox-Kemper param.)       (default: NO) 
     220!!   namtra_eiv       eddy induced velocity param.                      (default: NO) 
     221!!   namtra_dmp       T & S newtonian damping                           (default: NO) 
     222!!====================================================================== 
     223! 
     224!----------------------------------------------------------------------- 
     225&nameos        !   ocean Equation Of Seawater                           (default: NO selection) 
     226!----------------------------------------------------------------------- 
    200227   ln_eos80    = .true.          !  = Use EOS80 
    201    ln_seos     = .false.         !  = Use S-EOS (simplified Eq.) 
    202228/ 
    203229!----------------------------------------------------------------------- 
     
    209235/ 
    210236!----------------------------------------------------------------------- 
    211 &namtra_adv_mle !   mixed layer eddy parametrisation (Fox-Kemper param) (default: NO) 
    212 !----------------------------------------------------------------------- 
    213    ln_mle      = .true.   ! (T) use the Mixed Layer Eddy (MLE) parameterisation 
    214 / 
    215 !----------------------------------------------------------------------- 
    216237&namtra_ldf    !   lateral diffusion scheme for tracers                 (default: NO selection) 
    217238!----------------------------------------------------------------------- 
    218239   !                       !  Operator type: 
    219    ln_traldf_NONE  =  .false.  !           No operator (no explicit advection) 
    220240   ln_traldf_lap   =  .true.   !    laplacian operator 
    221    ln_traldf_blp   =  .false.  !  bilaplacian operator 
    222241   !                       !  Direction of action: 
    223    ln_traldf_lev   =  .false.  !  iso-level 
    224    ln_traldf_hor   =  .false.  !  horizontal (geopotential) 
    225242   ln_traldf_iso   =  .true.   !  iso-neutral (Standard operator) 
    226    ln_traldf_triad =  .false.  !  iso-neutral (Triads   operator) 
    227    ! 
    228    !                       !  iso-neutral options:         
    229    ln_traldf_msc   =  .true.   !  Method of Stabilizing Correction (both operators) 
    230    rn_slpmax       =   0.01    !  slope limit                      (both operators) 
    231    ln_triad_iso    =  .false.  !  pure horizontal mixing in ML              (triad only) 
    232    rn_sw_triad     =  1        !  =1 switching triad ; =0 all 4 triads used (triad only) 
    233    ln_botmix_triad =  .false.  !  lateral mixing on bottom                  (triad only) 
    234    ! 
    235243   !                       !  Coefficients: 
    236244   nn_aht_ijk_t    = 20        !  space/time variation of eddy coef 
    237    !                                !   =-20 (=-30)    read in eddy_diffusivity_2D.nc (..._3D.nc) file 
    238    !                                !   =  0           constant  
    239    !                                !   = 10 F(k)      =ldf_c1d  
    240    !                                !   = 20 F(i,j)    =ldf_c2d  
    241    !                                !   = 21 F(i,j,t)  =Treguier et al. JPO 1997 formulation 
    242    !                                !   = 30 F(i,j,k)  =ldf_c2d + ldf_c1d 
    243    !                                !   = 31 F(i,j,k,t)=F(local velocity) 
    244    rn_aht_0        = 2000.     !  lateral eddy diffusivity   (lap. operator) [m2/s] 
    245    rn_bht_0        = 1.e+12    !  lateral eddy diffusivity (bilap. operator) [m4/s] 
    246 / 
    247 !----------------------------------------------------------------------- 
    248 &namtra_ldfeiv !   eddy induced velocity param.                         (default: NO) 
     245      !                             !   = 20     aht = 1/2  Ud. max(e1,e2) 
     246      rn_Ud        = 0.018          !  lateral diffusive velocity [m/s] (nn_aht_ijk_t= 0, 10, 20, 30) 
     247      rn_Ld        = 200.e+3        !  lateral diffusive length   [m]   (nn_aht_ijk_t= 0, 10) 
     248/ 
     249!----------------------------------------------------------------------- 
     250&namtra_adv_mle !   mixed layer eddy parametrisation (Fox-Kemper)       (default: NO) 
     251!----------------------------------------------------------------------- 
     252   ln_mle      = .true.   ! (T) use the Mixed Layer Eddy (MLE) parameterisation 
     253/ 
     254!----------------------------------------------------------------------- 
     255&namtra_eiv !   eddy induced velocity param.                            (default: NO) 
    249256!----------------------------------------------------------------------- 
    250257   ln_ldfeiv     =.true.   ! use eddy induced velocity parameterization 
    251    ln_ldfeiv_dia =.true.   ! diagnose eiv stream function and velocities 
    252    rn_aeiv_0     = 2000.   ! eddy induced velocity coefficient   [m2/s] 
    253    nn_aei_ijk_t  = 21      ! space/time variation of the eiv coeficient 
    254    !                                !   =-20 (=-30)    read in eddy_induced_velocity_2D.nc (..._3D.nc) file 
    255    !                                !   =  0           constant  
    256    !                                !   = 10 F(k)      =ldf_c1d  
    257    !                                !   = 20 F(i,j)    =ldf_c2d  
    258    !                                !   = 21 F(i,j,t)  =Treguier et al. JPO 1997 formulation 
    259    !                                !   = 30 F(i,j,k)  =ldf_c2d + ldf_c1d 
     258      !                        !  Coefficients: 
     259      nn_aei_ijk_t  = 21          ! space/time variation of the eiv coeficient 
     260      !                                !   = 21 F(i,j,t)  =Treguier et al. JPO 1997 formulation 
     261      !                           !  time invariant coefficients:  aei0 = 1/2  Ue*Le  
     262      rn_Ue        = 0.03              !  lateral diffusive velocity [m/s] (nn_aht_ijk_t= 0, 10, 20, 30) 
     263      rn_Le        = 200.e+3           !  lateral diffusive length   [m]   (nn_aht_ijk_t= 0, 10) 
     264      ! 
     265      ln_ldfeiv_dia =.true.   ! diagnose eiv stream function and velocities 
    260266/ 
    261267!----------------------------------------------------------------------- 
    262268&namtra_dmp    !   tracer: T & S newtonian damping                      (default: NO) 
    263269!----------------------------------------------------------------------- 
    264 / 
    265 !----------------------------------------------------------------------- 
    266 &nam_vvl       !   vertical coordinate options                          (default: z-star) 
    267 !----------------------------------------------------------------------- 
    268 / 
     270   ln_tradmp   =  .true.   !  add a damping term (using resto.nc coef.) 
     271      nn_zdmp  =    0         !  vertical shape =0    damping throughout the water column 
     272/ 
     273 
     274!!====================================================================== 
     275!!                      ***  Dynamics namelists  ***                  !! 
     276!!                                                                    !! 
     277!!   nam_vvl       vertical coordinate options                          (default: z-star) 
     278!!   namdyn_adv    formulation of the momentum advection                (default: NO selection) 
     279!!   namdyn_vor    advection scheme                                     (default: NO selection) 
     280!!   namdyn_hpg    hydrostatic pressure gradient                        (default: NO selection) 
     281!!   namdyn_spg    surface pressure gradient                            (default: NO selection) 
     282!!   namdyn_ldf    lateral diffusion scheme                             (default: NO selection) 
     283!!   namdta_dyn    offline TOP: dynamics read in files                  (OFF_SRC only) 
     284!!====================================================================== 
     285! 
    269286!----------------------------------------------------------------------- 
    270287&namdyn_adv    !   formulation of the momentum advection                (default: NO selection) 
    271288!----------------------------------------------------------------------- 
    272    ln_dynadv_NONE= .false. !  linear dynamics (no momentum advection) 
    273289   ln_dynadv_vec = .true.  !  vector form - 2nd centered scheme 
    274290     nn_dynkeg     = 0        ! grad(KE) scheme: =0   C2  ;  =1   Hollingsworth correction 
    275    ln_dynadv_cen2= .false. !  flux form - 2nd order centered scheme 
    276    ln_dynadv_ubs = .false. !  flux form - 3rd order UBS      scheme 
    277 / 
    278 !----------------------------------------------------------------------- 
    279 &namdyn_vor    !   Vorticity / Coriolis scheme                          (default: NO) 
    280 !----------------------------------------------------------------------- 
    281    ln_dynvor_ene = .false. !  enstrophy conserving scheme 
    282    ln_dynvor_ens = .false. !  energy conserving scheme 
    283    ln_dynvor_mix = .false. !  mixed scheme 
     291/ 
     292!----------------------------------------------------------------------- 
     293&namdyn_vor    !   Vorticity / Coriolis scheme                          (default: NO selection) 
     294!----------------------------------------------------------------------- 
    284295   ln_dynvor_een = .true.  !  energy & enstrophy scheme 
    285       nn_een_e3f = 0             !  e3f = masked averaging of e3t divided by 4 (=0) or by the sum of mask (=1) 
     296      nn_een_e3f = 0          ! =0   e3f = mean masked e3t divided by 4 
    286297/ 
    287298!----------------------------------------------------------------------- 
     
    291302/ 
    292303!----------------------------------------------------------------------- 
    293 &namdyn_spg    !   surface pressure gradient                            (default: NO) 
     304&namdyn_spg    !   surface pressure gradient                            (default: NO selection) 
    294305!----------------------------------------------------------------------- 
    295306   ln_dynspg_ts  = .true.  !  split-explicit free surface 
     
    298309&namdyn_ldf    !   lateral diffusion on momentum                        (default: NO selection) 
    299310!----------------------------------------------------------------------- 
    300    !                       !  Type of the operator : 
    301    ln_dynldf_NONE=  .false.    !           No operator (no explicit diffusion) 
    302311   ln_dynldf_lap =  .true.     !    laplacian operator 
    303    ln_dynldf_blp =  .false.    !  bilaplacian operator 
    304    !                       !  Direction of action  : 
    305312   ln_dynldf_lev =  .true.     !  iso-level 
    306    ln_dynldf_hor =  .false.    !  horizontal (geopotential) 
    307    ln_dynldf_iso =  .false.    !  iso-neutral 
    308    !                       !  Coefficient 
    309    nn_ahm_ijk_t  = -30         !  space/time variation of eddy coef 
    310    !                                !  =-30  read in eddy_viscosity_3D.nc file 
    311    !                                !  =-20  read in eddy_viscosity_2D.nc file 
    312    !                                !  =  0  constant  
    313    !                                !  = 10  F(k)=c1d 
    314    !                                !  = 20  F(i,j)=F(grid spacing)=c2d 
    315    !                                !  = 30  F(i,j,k)=c2d*c1d 
    316    !                                !  = 31  F(i,j,k)=F(grid spacing and local velocity) 
    317    rn_ahm_0      =  40000.     !  horizontal laplacian eddy viscosity   [m2/s] 
    318    rn_ahm_b      =      0.     !  background eddy viscosity for ldf_iso [m2/s] 
    319    rn_bhm_0      = 1.e+12      !  horizontal bilaplacian eddy viscosity [m4/s] 
    320    ! 
    321    ! Caution in 20 and 30 cases the coefficient have to be given for a 1 degree grid (~111km) 
    322 / 
     313   nn_ahm_ijk_t  = -30         !  =-30  3D coeff. read in eddy_diffusivity_3D.nc 
     314/ 
     315 
     316!!====================================================================== 
     317!!                     vertical physics namelists                     !! 
     318!!                                                                    !! 
     319!!    namzdf        vertical physics manager                            (default: NO selection) 
     320!!    namzdf_ric    richardson number vertical mixing                   (ln_zdfric=T) 
     321!!    namzdf_tke    TKE vertical mixing                                 (ln_zdftke=T) 
     322!!    namzdf_gls    GLS vertical mixing                                 (ln_zdfgls=T) 
     323!!    namzdf_osm    OSM vertical diffusion                              (ln_zdfosm=T) 
     324!!    namzdf_iwm    tidal mixing parameterization                       (ln_zdfiwm=T) 
     325!!====================================================================== 
     326! 
    323327!----------------------------------------------------------------------- 
    324328&namzdf        !   vertical physics                                     (default: NO selection) 
    325329!----------------------------------------------------------------------- 
    326    !                       ! type of vertical closure 
    327    ln_zdfcst   = .false.      !  constant mixing 
    328    ln_zdfric   = .false.      !  local Richardson dependent formulation (T =>   fill namzdf_ric) 
    329330   ln_zdftke   = .true.       !  Turbulent Kinetic Energy closure       (T =>   fill namzdf_tke) 
    330    ln_zdfgls   = .false.      !  Generic Length Scale closure           (T =>   fill namzdf_gls) 
    331    ln_zdfosm   = .false.      !  OSMOSIS BL closure                     (T =>   fill namzdf_osm) 
    332    ! 
    333    !                       ! convection 
    334331   ln_zdfevd   = .true.       !  Enhanced Vertical Diffusion scheme 
    335332      nn_evdm  =    0            !  evd apply on tracer (=0) or on tracer and momentum (=1) 
    336333      rn_evd   =  100.           !  evd mixing coefficient [m2/s] 
    337    ! 
    338334   ln_zdfddm   = .true.    ! double diffusive mixing 
    339335      rn_avts  =    1.e-4     !  maximum avs (vertical mixing on salinity) 
    340336      rn_hsbfr =    1.6       !  heat/salt buoyancy flux ratio 
    341    ! 
    342    !                       ! gravity wave-driven vertical mixing 
    343337   ln_zdfiwm   = .true.       ! internal wave-induced mixing            (T =>   fill namzdf_iwm) 
    344    ln_zdfswm   = .false.      ! surface  wave-induced mixing            (T => ln_wave=ln_sdw=T ) 
    345    ! 
    346338   !                       !  Coefficients 
    347339   rn_avm0     =   1.2e-4     !  vertical eddy viscosity   [m2/s]       (background Kz if ln_zdfcst=F) 
     
    351343/ 
    352344!----------------------------------------------------------------------- 
    353 &namzdf_ric    !   richardson number dependent vertical diffusion       (ln_zdfric =T) 
    354 !----------------------------------------------------------------------- 
    355 / 
    356 !----------------------------------------------------------------------- 
    357345&namzdf_tke    !   turbulent eddy kinetic dependent vertical diffusion  (ln_zdftke =T) 
    358 !----------------------------------------------------------------------- 
    359 / 
    360 !----------------------------------------------------------------------- 
    361 &namzdf_gls    !   GLS vertical diffusion                               (ln_zdfgls =T) 
    362 !----------------------------------------------------------------------- 
    363 / 
    364 !----------------------------------------------------------------------- 
    365 &namzdf_osm    !   OSM vertical diffusion                               (ln_zdfosm =T) 
    366346!----------------------------------------------------------------------- 
    367347/ 
     
    373353   ln_tsdiff   = .true.    !  account for differential T/S mixing (T) or not (F) 
    374354/ 
    375 !----------------------------------------------------------------------- 
    376 &nammpp        !   Massively Parallel Processing                        ("key_mpp_mpi") 
    377 !----------------------------------------------------------------------- 
    378 / 
    379 !----------------------------------------------------------------------- 
    380 &namctl        !   Control prints  
    381 !----------------------------------------------------------------------- 
    382    ln_ctl      = .false.   !  trends control print (expensive!) 
    383    nn_print    =    0      !  level of print (0 no extra print) 
    384    ln_timing   = .false.   !  timing by routine write out in timing.output file 
    385    ln_diacfl   = .false.   !  CFL diagnostics write out in cfl_diagnostics.ascii 
    386 / 
    387 !----------------------------------------------------------------------- 
    388 &namsto        ! Stochastic parametrization of EOS                      (default: NO) 
    389 !----------------------------------------------------------------------- 
    390 / 
    391 !----------------------------------------------------------------------- 
    392 &namtrd        !   trend diagnostics                                    (default F) 
    393 !----------------------------------------------------------------------- 
    394 / 
    395 !----------------------------------------------------------------------- 
    396 &namptr        !   Poleward Transport Diagnostic                        (default F) 
    397 !----------------------------------------------------------------------- 
    398 / 
    399 !----------------------------------------------------------------------- 
    400 &namhsb        !  Heat and salt budgets                                 (default F) 
    401 !----------------------------------------------------------------------- 
    402    ln_diahsb  = .true.    !  check the heat and salt budgets (T) or not (F) 
    403 / 
    404 !----------------------------------------------------------------------- 
    405 &namdiu        !   Cool skin and warm layer models                      (default F) 
    406 !----------------------------------------------------------------------- 
    407 / 
    408 !----------------------------------------------------------------------- 
    409 &namflo        !   float parameters                                     ("key_float") 
    410 !----------------------------------------------------------------------- 
    411 / 
    412 !----------------------------------------------------------------------- 
    413 &nam_diaharm   !   Harmonic analysis of tidal constituents              ("key_diaharm") 
    414 !----------------------------------------------------------------------- 
    415 / 
    416 !----------------------------------------------------------------------- 
    417 &namdct        ! transports through some sections                       ("key_diadct") 
    418 !----------------------------------------------------------------------- 
    419 / 
    420 !----------------------------------------------------------------------- 
    421 &nam_diatmb    !  Top Middle Bottom Output                              (default F) 
    422 !----------------------------------------------------------------------- 
    423 / 
    424 !----------------------------------------------------------------------- 
    425 &nam_dia25h    !  25h Mean Output                                       (default F) 
    426 !----------------------------------------------------------------------- 
    427 / 
    428 !----------------------------------------------------------------------- 
    429 &namnc4        !   netcdf4 chunking and compression settings            ("key_netcdf4") 
    430 !----------------------------------------------------------------------- 
    431 / 
    432 !----------------------------------------------------------------------- 
    433 &namobs        !  observation usage switch 
    434 !----------------------------------------------------------------------- 
    435 / 
    436 !----------------------------------------------------------------------- 
    437 &nam_asminc    !   assimilation increments                              ('key_asminc') 
    438 !----------------------------------------------------------------------- 
    439 / 
    440 !----------------------------------------------------------------------- 
    441 &namdta_dyn    !   offline dynamics read in files                       ("key_offline") 
    442 !----------------------------------------------------------------------- 
    443 / 
     355 
     356!!====================================================================== 
     357!!                  ***  Diagnostics namelists  ***                   !! 
     358!!                                                                    !! 
     359!!   namtrd       dynamics and/or tracer trends                         (default NO) 
     360!!   namptr       Poleward Transport Diagnostics                        (default NO) 
     361!!   namhsb       Heat and salt budgets                                 (default NO) 
     362!!   namdiu       Cool skin and warm layer models                       (default NO) 
     363!!   namdiu       Cool skin and warm layer models                       (default NO) 
     364!!   namflo       float parameters                                      ("key_float") 
     365!!   nam_diaharm  Harmonic analysis of tidal constituents               ("key_diaharm") 
     366!!   namdct       transports through some sections                      ("key_diadct") 
     367!!   nam_diatmb   Top Middle Bottom Output                              (default NO) 
     368!!   nam_dia25h   25h Mean Output                                       (default NO) 
     369!!   namnc4       netcdf4 chunking and compression settings             ("key_netcdf4") 
     370!!====================================================================== 
     371! 
     372 
     373!!====================================================================== 
     374!!               ***  Observation & Assimilation  ***                 !! 
     375!!                                                                    !! 
     376!!   namobs       observation and model comparison                      (default: NO) 
     377!!   nam_asminc   assimilation increments                               ('key_asminc') 
     378!!====================================================================== 
     379! 
  • branches/2017/dev_merge_2017/NEMOGCM/CONFIG/ORCA2_OFF_PISCES/EXP00/namelist_cfg

    r9356 r9490  
    11!!>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
    2 !! NEMO/OPA  :  ORCA2_OFF_PISCES configuration namelist used ot overwrite SHARED/namelist_ref 
     2!! NEMO/OPA  :  ORCA2_OFF_PISCES configuration namelist: overwrite SHARED/namelist_ref 
    33!!>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
     4 
     5!!====================================================================== 
     6!!              ***  Domain & Run management namelists  ***           !! 
     7!!                                                                    !! 
     8!!   namrun       parameters of the run 
     9!!   namdom       space and time domain 
     10!!   namcfg       parameters of the configuration                       (default: user defined GYRE) 
     11!!====================================================================== 
     12! 
    413!----------------------------------------------------------------------- 
    514&namrun        !   parameters of the run 
     
    1120/ 
    1221!----------------------------------------------------------------------- 
    13 &namcfg        !   parameters of the configuration                      (default: user defined GYRE) 
    14 !----------------------------------------------------------------------- 
    15    ln_read_cfg = .true.    !  (=T) read the domain configuration file 
    16       !                    !  (=F) user defined configuration  ==>>>  see usrdef(_...) modules 
    17       cn_domcfg = "ORCA_R2_zps_domcfg"    ! domain configuration filename 
    18 / 
    19 !----------------------------------------------------------------------- 
    2022&namdom        !   time and space domain 
    2123!----------------------------------------------------------------------- 
     
    2527/ 
    2628!----------------------------------------------------------------------- 
    27 &namtsd        !   data : Temperature  & Salinity 
     29&namcfg        !   parameters of the configuration                      (default: user defined GYRE) 
    2830!----------------------------------------------------------------------- 
     31   ln_read_cfg = .true.    !  (=T) read the domain configuration file 
     32      cn_domcfg = "ORCA_R2_zps_domcfg"    ! domain configuration filename 
    2933/ 
    30 !----------------------------------------------------------------------- 
    31 &namwad        !   Wetting and drying  default is no WAD 
    32 !----------------------------------------------------------------------- 
    33 / 
    34 !----------------------------------------------------------------------- 
    35 &namcrs        !   coarsened grid (for outputs and/or TOP)              (ln_crs =T) 
    36 !----------------------------------------------------------------------- 
    37 / 
    38 !----------------------------------------------------------------------- 
    39 &namc1d        !   1D configuration options                             ("key_c1d") 
    40 !----------------------------------------------------------------------- 
    41 / 
    42 !----------------------------------------------------------------------- 
    43 &namc1d_dyndmp !   U & V newtonian damping                              ("key_c1d") 
    44 !----------------------------------------------------------------------- 
    45 / 
    46 !----------------------------------------------------------------------- 
    47 &namc1d_uvd    !   data: U & V currents                                 ("key_c1d") 
    48 !----------------------------------------------------------------------- 
    49 / 
     34 
     35!!====================================================================== 
     36!!            ***  Surface Boundary Condition namelists  ***          !! 
     37!!                                                                    !! 
     38!!   namsbc          surface boundary condition manager                 (default: NO selection) 
     39!!   namsbc_flx      flux               formulation                     (ln_flx    =T) 
     40!!   namsbc_blk      Bulk formulae formulation                          (ln_blk     =T) 
     41!!   namsbc_cpl      CouPLed            formulation                     ("key_oasis3" ) 
     42!!   namsbc_sas      Stand-Alone Surface module                         (SAS_SRC  only) 
     43!!   namsbc_iif      Ice-IF: use observed ice cover                     (nn_ice = 1   ) 
     44!!   namtra_qsr      penetrative solar radiation                        (ln_traqsr  =T) 
     45!!   namsbc_ssr      sea surface restoring term (for T and/or S)        (ln_ssr     =T) 
     46!!   namsbc_rnf      river runoffs                                      (ln_rnf     =T) 
     47!!   namsbc_apr      Atmospheric Pressure                               (ln_apr_dyn =T) 
     48!!   namsbc_isf      ice shelf melting/freezing                         (ln_isfcav  =T : read (ln_read_cfg=T) or set or usr_def_zgr ) 
     49!!   namsbc_iscpl    coupling option between land ice model and ocean   (ln_isfcav  =T) 
     50!!   namsbc_wave     external fields from wave model                    (ln_wave    =T) 
     51!!   namberg         iceberg floats                                     (ln_icebergs=T) 
     52!!====================================================================== 
     53! 
    5054!----------------------------------------------------------------------- 
    5155&namsbc        !   Surface Boundary Condition (surface module) 
    5256!----------------------------------------------------------------------- 
     57   nn_fsbc     = 1         !  frequency of SBC module call 
    5358   ln_blk      = .true.    !  Bulk formulation                          (T => fill namsbc_blk ) 
    54    nn_fsbc     = 1         !  frequency of surface boundary condition computation  
    55    ln_rnf      = .false.   !  runoffs 
    56    ln_traqsr   = .false.   !  Light penetration (T) or not (F) 
    57 / 
    58 !----------------------------------------------------------------------- 
    59 &namsbc_flx    !   surface boundary condition : flux formulation 
    60 !----------------------------------------------------------------------- 
    6159/ 
    6260!----------------------------------------------------------------------- 
     
    6462!----------------------------------------------------------------------- 
    6563   ln_NCAR     = .true.   ! "NCAR"      algorithm   (Large and Yeager 2008) 
     64 
     65   cn_dir      = './'      !  root directory for the bulk data location 
     66   !___________!_________________________!___________________!___________!_____________!________!___________!______________________________________!__________!_______________! 
     67   !           !  file name              ! frequency (hours) ! variable  ! time interp.!  clim  ! 'yearly'/ !       weights filename               ! rotation ! land/sea mask ! 
     68   !           !                         !  (if <0  months)  !   name    !   (logical) !  (T/F) ! 'monthly' !                                      ! pairing  !    filename   ! 
     69   sn_wndi     = 'u_10.15JUNE2009_fill'       ,    6         , 'U_10_MOD',   .false.   , .true. , 'yearly'  , 'weights_core_orca2_bicubic_noc.nc'  , 'Uwnd'   , '' 
     70   sn_wndj     = 'v_10.15JUNE2009_fill'       ,    6         , 'V_10_MOD',   .false.   , .true. , 'yearly'  , 'weights_core_orca2_bicubic_noc.nc'  , 'Vwnd'   , '' 
     71   sn_qsr      = 'ncar_rad.15JUNE2009_fill'   ,   24         , 'SWDN_MOD',   .false.   , .true. , 'yearly'  , 'weights_core_orca2_bilinear_noc.nc' , ''       , '' 
     72   sn_qlw      = 'ncar_rad.15JUNE2009_fill'   ,   24         , 'LWDN_MOD',   .false.   , .true. , 'yearly'  , 'weights_core_orca2_bilinear_noc.nc' , ''       , '' 
     73   sn_tair     = 't_10.15JUNE2009_fill'       ,    6         , 'T_10_MOD',   .false.   , .true. , 'yearly'  , 'weights_core_orca2_bilinear_noc.nc' , ''       , '' 
     74   sn_humi     = 'q_10.15JUNE2009_fill'       ,    6         , 'Q_10_MOD',   .false.   , .true. , 'yearly'  , 'weights_core_orca2_bilinear_noc.nc' , ''       , '' 
     75   sn_prec     = 'ncar_precip.15JUNE2009_fill',   -1         , 'PRC_MOD1',   .false.   , .true. , 'yearly'  , 'weights_core_orca2_bilinear_noc.nc' , ''       , '' 
     76   sn_snow     = 'ncar_precip.15JUNE2009_fill',   -1         , 'SNOW'    ,   .false.   , .true. , 'yearly'  , 'weights_core_orca2_bilinear_noc.nc' , ''       , '' 
     77   sn_slp      = 'slp.15JUNE2009_fill'        ,    6         , 'SLP'     ,   .false.   , .true. , 'yearly'  , 'weights_core_orca2_bilinear_noc.nc' , ''       , '' 
     78   sn_tdif     = 'taudif_core'                ,   24         , 'taudif'  ,   .false.   , .true. , 'yearly'  , 'weights_core_orca2_bilinear_noc.nc' , ''       , '' 
    6679/ 
    67 !----------------------------------------------------------------------- 
    68 &namsbc_cpl    !   coupled ocean/atmosphere model                       ("key_oasis3") 
    69 !----------------------------------------------------------------------- 
    70 / 
    71 !----------------------------------------------------------------------- 
    72 &namsbc_sas    !   Stand-Alone Surface boundary condition 
    73 !----------------------------------------------------------------------- 
    74 / 
    75 !----------------------------------------------------------------------- 
    76 &namsbc_iif    !   Ice-IF : use observed ice cover                      (nn_ice = 1) 
    77 !----------------------------------------------------------------------- 
    78 / 
    79 !----------------------------------------------------------------------- 
    80 &namtra_qsr    !   penetrative solar radiation                          (ln_traqsr =T) 
    81 !----------------------------------------------------------------------- 
    82 / 
    83 !----------------------------------------------------------------------- 
    84 &namsbc_rnf    !   runoffs namelist surface boundary condition          (ln_rnf =T) 
    85 !----------------------------------------------------------------------- 
    86 / 
    87 !----------------------------------------------------------------------- 
    88 &namsbc_isf    !  Top boundary layer (ISF)                              (nn_isf >0) 
    89 !----------------------------------------------------------------------- 
    90 / 
    91 !----------------------------------------------------------------------- 
    92 &namsbc_iscpl  !   land ice / ocean coupling option                      
    93 !----------------------------------------------------------------------- 
    94 / 
    95 !----------------------------------------------------------------------- 
    96 &namsbc_apr    !   Atmospheric pressure used as ocean forcing           (ln_apr_dyn =T) 
    97 !----------------------------------------------------------------------- 
    98 / 
    99 !----------------------------------------------------------------------- 
    100 &namsbc_ssr    !   surface boundary condition : sea surface restoring   (ln_ssr =T) 
    101 !----------------------------------------------------------------------- 
    102 / 
    103 !----------------------------------------------------------------------- 
    104 &namsbc_wave   ! External fields from wave model                        (ln_wave=T) 
    105 !----------------------------------------------------------------------- 
    106 / 
    107 !----------------------------------------------------------------------- 
    108 &namberg       !   iceberg parameters                                   (default: No iceberg) 
    109 !----------------------------------------------------------------------- 
    110 / 
    111 !----------------------------------------------------------------------- 
    112 &namlbc        !   lateral momentum boundary condition 
    113 !----------------------------------------------------------------------- 
    114    !                       !  free slip  !   partial slip  !   no slip   ! strong slip 
    115    rn_shlat    =    2.     !  shlat = 0  !  0 < shlat < 2  !  shlat = 2  !  2 < shlat 
    116    ln_vorlat   = .false.   !  consistency of vorticity boundary condition with analytical Eqs. 
    117 / 
    118 !----------------------------------------------------------------------- 
    119 &namagrif      !  AGRIF zoom                                            ("key_agrif") 
    120 !----------------------------------------------------------------------- 
    121 / 
    122 !----------------------------------------------------------------------- 
    123 &nam_tide      !   tide parameters 
    124 !----------------------------------------------------------------------- 
    125 / 
    126 !----------------------------------------------------------------------- 
    127 &nambdy        !  unstructured open boundaries                           
    128 !----------------------------------------------------------------------- 
    129 / 
    130 !----------------------------------------------------------------------- 
    131 &nambdy_dta    !  open boundaries - external data                        
    132 !----------------------------------------------------------------------- 
    133 / 
    134 !----------------------------------------------------------------------- 
    135 &nambdy_tide   !  tidal forcing at open boundaries 
    136 !----------------------------------------------------------------------- 
    137 / 
    138 !----------------------------------------------------------------------- 
    139 &namdrg        !   top/bottom drag coefficient                          (default: NO selection) 
    140 !----------------------------------------------------------------------- 
    141 / 
    142 !----------------------------------------------------------------------- 
    143 &namdrg_top    !   TOP friction                                         (ln_isfcav=T) 
    144 !----------------------------------------------------------------------- 
    145 / 
    146 !----------------------------------------------------------------------- 
    147 &namdrg_bot    !   BOTTOM friction                                   
    148 !----------------------------------------------------------------------- 
    149 / 
    150 !----------------------------------------------------------------------- 
    151 &nambbc        !   bottom temperature boundary condition                (default: NO) 
    152 !----------------------------------------------------------------------- 
    153 / 
    154 !----------------------------------------------------------------------- 
    155 &nambbl        !   bottom boundary layer scheme                         (default: NO) 
    156 !----------------------------------------------------------------------- 
    157    ln_trabbl   = .true.    !  Bottom Boundary Layer parameterisation flag 
    158    nn_bbl_ldf  =  1        !  diffusive bbl (=1)   or not (=0) 
    159    nn_bbl_adv  =  0        !  advective bbl (=1/2) or not (=0) 
    160    rn_ahtbbl   =  1000.    !  lateral mixing coefficient in the bbl  [m2/s] 
    161    rn_gambbl   =  10.      !  advective bbl coefficient                 [s] 
    162 / 
     80 
     81!!====================================================================== 
     82!!                     TOP OFF-line namelists                         !! 
     83!!                                                                    !! 
     84!!   nameos        equation of state                                    (default: NO selection) 
     85!!   namdta_dyn    offline TOP: ocean state read in files               (OFF_SRC only) 
     86!!====================================================================== 
     87! 
    16388!----------------------------------------------------------------------- 
    16489&nameos        !   ocean Equation Of Seawater                           (default: NO) 
    16590!----------------------------------------------------------------------- 
    166    ln_teos10   = .false.         !  = Use TEOS-10 
    167    ln_eos80    = .true.         !  = Use EOS80 
    168    ln_seos     = .false.        !  = Use S-EOS (simplified Eq.) 
     91   ln_teos10    = .true.         !  = Use TEOS-10 equation of state 
    16992/ 
    17093!----------------------------------------------------------------------- 
    171 &namtra_adv    !   advection scheme for tracer                          (default: NO selection) 
     94&namdta_dyn    !   offline: ocean state read in files                   (OFF_SRC) 
    17295!----------------------------------------------------------------------- 
    173 / 
    174 !----------------------------------------------------------------------- 
    175 &namtra_adv_mle !   mixed layer eddy parametrisation (Fox-Kemper param) (default: NO) 
    176 !----------------------------------------------------------------------- 
    177 / 
    178 !----------------------------------------------------------------------- 
    179 &namtra_ldf    !   lateral diffusion scheme for tracers                 (default: NO selection) 
    180 !----------------------------------------------------------------------- 
    181    !                       !  Operator type: 
    182    ln_traldf_NONE  =  .false.  !  No explicit diffusion 
    183    ln_traldf_lap   =  .true.   !    laplacian operator 
    184    ln_traldf_blp   =  .false.  !  bilaplacian operator 
    185    !                       !  Direction of action: 
    186    ln_traldf_lev   =  .false.  !  iso-level 
    187    ln_traldf_hor   =  .false.  !  horizontal (geopotential) 
    188    ln_traldf_iso   =  .true.   !  iso-neutral 
    189    ln_traldf_triad =  .false.  !  iso-neutral (triad    operator) 
    190    ! 
    191    !                       !  iso-neutral options:         
    192    ln_traldf_msc   =  .true.   !  Method of Stabilizing Correction (both operators) 
    193    rn_slpmax       =   0.01    !  slope limit                      (both operators) 
    194    ln_triad_iso    =  .false.  !  pure horizontal mixing in ML              (triad only) 
    195    rn_sw_triad     =  1        !  =1 switching triad ; =0 all 4 triads used (triad only) 
    196    ln_botmix_triad =  .false.  !  lateral mixing on bottom                  (triad only) 
    197    ! 
    198    !                       !  Coefficients: 
    199    nn_aht_ijk_t    = 0         !  space/time variation of eddy coef 
    200    !                                !   =-20 (=-30)    read in eddy_diffusivity_2D.nc (..._3D.nc) file 
    201    !                                !   =  0           constant  
    202    !                                !   = 10 F(k)      =ldf_c1d  
    203    !                                !   = 20 F(i,j)    =ldf_c2d  
    204    !                                !   = 21 F(i,j,t)  =Treguier et al. JPO 1997 formulation 
    205    !                                !   = 30 F(i,j,k)  =ldf_c2d * ldf_c1d 
    206    !                                !   = 31 F(i,j,k,t)=F(local velocity and grid-spacing) 
    207    rn_aht_0        = 2000.     !  lateral eddy diffusivity   (lap. operator) [m2/s] 
    208    rn_bht_0        = 1.e+12    !  lateral eddy diffusivity (bilap. operator) [m4/s] 
    209 / 
    210 !----------------------------------------------------------------------- 
    211 &namtra_ldfeiv !   eddy induced velocity param.                         (default: NO) 
    212 !----------------------------------------------------------------------- 
    213    ln_ldfeiv     =.true.   ! use eddy induced velocity parameterization 
    214    rn_aeiv_0     = 2000.   ! eddy induced velocity coefficient   [m2/s] 
    215    nn_aei_ijk_t  = 0       ! space/time variation of the eiv coeficient 
    216    !                                !   =-20 (=-30)    read in eddy_induced_velocity_2D.nc (..._3D.nc) file 
    217    !                                !   =  0           constant 
    218    !                                !   = 10 F(k)      =ldf_c1d 
    219    !                                !   = 20 F(i,j)    =ldf_c2d 
    220    !                                !   = 21 F(i,j,t)  =Treguier et al. JPO 1997 formulation 
    221    !                                !   = 30 F(i,j,k)  =ldf_c2d + ldf_c1d 
    222    ln_ldfeiv_dia =.false.  ! diagnose eiv stream function and velocities 
    223 / 
    224 !----------------------------------------------------------------------- 
    225 &namtra_dmp    !   tracer: T & S newtonian damping                      (default: NO) 
    226 !----------------------------------------------------------------------- 
    227 / 
    228 !----------------------------------------------------------------------- 
    229 &nam_vvl       !   vertical coordinate options                          (default: z-star) 
    230 !----------------------------------------------------------------------- 
    231 / 
    232 !----------------------------------------------------------------------- 
    233 &namdyn_adv    !   formulation of the momentum advection                (default: NO selection) 
    234 !----------------------------------------------------------------------- 
    235 / 
    236 !----------------------------------------------------------------------- 
    237 &namdyn_vor    !   Vorticity / Coriolis scheme                          (default: NO) 
    238 !----------------------------------------------------------------------- 
    239 / 
    240 !----------------------------------------------------------------------- 
    241 &namdyn_hpg    !   Hydrostatic pressure gradient option                 (default: NO selection) 
    242 !----------------------------------------------------------------------- 
    243 / 
    244 !----------------------------------------------------------------------- 
    245 &namdyn_spg    !   surface pressure gradient                            (default: NO) 
    246 !----------------------------------------------------------------------- 
    247 / 
    248 !----------------------------------------------------------------------- 
    249 &namdyn_ldf    !   lateral diffusion on momentum                        (default: NO selection) 
    250 !----------------------------------------------------------------------- 
    251 / 
    252 !----------------------------------------------------------------------- 
    253 &namzdf        !   vertical physics                                     (default: NO selection) 
    254 !----------------------------------------------------------------------- 
    255 / 
    256 !----------------------------------------------------------------------- 
    257 &namzdf_ric    !   richardson number dependent vertical diffusion       (ln_zdfric =T) 
    258 !----------------------------------------------------------------------- 
    259 / 
    260 !----------------------------------------------------------------------- 
    261 &namzdf_tke    !   turbulent eddy kinetic dependent vertical diffusion  (ln_zdftke =T) 
    262 !----------------------------------------------------------------------- 
    263 / 
    264 !----------------------------------------------------------------------- 
    265 &namzdf_gls    !   GLS vertical diffusion                               (ln_zdfgls =T) 
    266 !----------------------------------------------------------------------- 
    267 / 
    268 !----------------------------------------------------------------------- 
    269 &namzdf_osm    !   OSM vertical diffusion                               (ln_zdfosm =T) 
    270 !----------------------------------------------------------------------- 
    271 / 
    272 !----------------------------------------------------------------------- 
    273 &namzdf_iwm    !    internal wave-driven mixing parameterization        (ln_zdfiwm =T) 
    274 !----------------------------------------------------------------------- 
    275 / 
    276 !----------------------------------------------------------------------- 
    277 &nammpp        !   Massively Parallel Processing                        ("key_mpp_mpi") 
    278 !----------------------------------------------------------------------- 
    279 / 
    280 !----------------------------------------------------------------------- 
    281 &namctl        !   Control prints  
    282 !----------------------------------------------------------------------- 
    283 / 
    284 !----------------------------------------------------------------------- 
    285 &namsto        ! Stochastic parametrization of EOS                      (default: NO) 
    286 !----------------------------------------------------------------------- 
    287 / 
    288 !----------------------------------------------------------------------- 
    289 &namtrd        !   trend diagnostics                                    (default F) 
    290 !----------------------------------------------------------------------- 
    291 / 
    292 !----------------------------------------------------------------------- 
    293 &namptr        !   Poleward Transport Diagnostic                        (default F) 
    294 !----------------------------------------------------------------------- 
    295 / 
    296 !----------------------------------------------------------------------- 
    297 &namhsb        !  Heat and salt budgets                                 (default F) 
    298 !----------------------------------------------------------------------- 
    299 / 
    300 !----------------------------------------------------------------------- 
    301 &namdiu        !   Cool skin and warm layer models                      (default F) 
    302 !----------------------------------------------------------------------- 
    303 / 
    304 !----------------------------------------------------------------------- 
    305 &namflo        !   float parameters                                     ("key_float") 
    306 !----------------------------------------------------------------------- 
    307 / 
    308 !----------------------------------------------------------------------- 
    309 &nam_diaharm   !   Harmonic analysis of tidal constituents              ("key_diaharm") 
    310 !----------------------------------------------------------------------- 
    311 / 
    312 !----------------------------------------------------------------------- 
    313 &namdct        ! transports through some sections                       ("key_diadct") 
    314 !----------------------------------------------------------------------- 
    315 / 
    316 !----------------------------------------------------------------------- 
    317 &nam_diatmb    !  Top Middle Bottom Output                              (default F) 
    318 !----------------------------------------------------------------------- 
    319 / 
    320 !----------------------------------------------------------------------- 
    321 &nam_dia25h    !  25h Mean Output                                       (default F) 
    322 !----------------------------------------------------------------------- 
    323 / 
    324 !----------------------------------------------------------------------- 
    325 &namnc4        !   netcdf4 chunking and compression settings            ("key_netcdf4") 
    326 !----------------------------------------------------------------------- 
    327 / 
    328 !----------------------------------------------------------------------- 
    329 &namobs        !  observation usage switch 
    330 !----------------------------------------------------------------------- 
    331 / 
    332 !----------------------------------------------------------------------- 
    333 &nam_asminc    !   assimilation increments                              ('key_asminc') 
    334 !----------------------------------------------------------------------- 
    335 / 
    336 !----------------------------------------------------------------------- 
    337 &namdta_dyn    !   offline dynamics read in files                       ("key_offline") 
    338 !----------------------------------------------------------------------- 
    339 !          !  file name  ! frequency (hours) ! variable  ! time interp. !  clim  ! 'yearly'/ ! weights  ! rotation ! land/sea mask ! 
    340 !          !             !  (if <0  months)  !   name    !   (logical)  !  (T/F) ! 'monthly' ! filename ! pairing  ! filename      ! 
    341    sn_tem  = 'dyna_grid_T' ,    120            , 'votemper' ,  .true.    , .true. ,   'yearly'  , ''       , ''    , '' 
    342    sn_sal  = 'dyna_grid_T' ,    120            , 'vosaline' ,  .true.    , .true. ,   'yearly'  , ''       , ''    , '' 
    343    sn_mld  = 'dyna_grid_T' ,    120            , 'somixhgt' ,  .true.    , .true. ,   'yearly'  , ''       , ''    , '' 
    344    sn_emp  = 'dyna_grid_T' ,    120            , 'sowaflup' ,  .true.    , .true. ,   'yearly'  , ''       , ''    , '' 
    345    sn_fmf  = 'dyna_grid_T' ,    120            , 'iowaflup' ,  .true.    , .true. ,   'yearly'  , ''       , ''    , '' 
    346    sn_ice  = 'dyna_grid_T' ,    120            , 'soicecov' ,  .true.    , .true. ,   'yearly'  , ''       , ''    , '' 
    347    sn_qsr  = 'dyna_grid_T' ,    120            , 'soshfldo' ,  .true.    , .true. ,   'yearly'  , ''       , ''    , '' 
    348    sn_wnd  = 'dyna_grid_T' ,    120            , 'sowindsp' ,  .true.    , .true. ,   'yearly'  , ''       , ''    , '' 
    349    sn_uwd  = 'dyna_grid_U' ,    120            , 'uocetr_eff' ,  .true.    , .true. ,   'yearly'  , ''       , ''    , '' 
    350    sn_vwd  = 'dyna_grid_V' ,    120            , 'vocetr_eff' ,  .true.    , .true. ,   'yearly'  , ''       , ''    , '' 
    351    sn_wwd  = 'dyna_grid_W' ,    120            , 'wocetr_eff' ,  .true.    , .true. ,   'yearly'  , ''       , ''    , '' 
    352    sn_avt  = 'dyna_grid_W' ,    120            , 'voddmavs' ,  .true.    , .true. ,   'yearly'  , ''       , ''    , '' 
    353    sn_ubl  = 'dyna_grid_U' ,    120            , 'sobblcox' ,  .true.    , .true. ,   'yearly'  , ''       , ''    , '' 
    354    sn_vbl  = 'dyna_grid_V' ,    120            , 'sobblcoy' ,  .true.    , .true. ,   'yearly'  , ''       , ''    , '' 
    355 ! 
    356    cn_dir          = './'       !  root directory for the location of the dynamical files 
    35796   ln_dynrnf       =  .false.   !  runoffs option enabled (T) or not (F) 
    35897   ln_dynrnf_depth =  .false.   ! runoffs is spread in vertical (T) or not (F) 
    35998!   fwbcorr      = 3.786e-06    ! annual global mean of empmr for ssh correction 
     99 
     100 
     101   cn_dir      = './'      !  root directory for the ocean data location 
     102   !___________!_________________________!___________________!___________!_____________!________!___________!__________________!__________!_______________! 
     103   !           !  file name              ! frequency (hours) ! variable  ! time interp.!  clim  ! 'yearly'/ ! weights filename ! rotation ! land/sea mask ! 
     104   !           !                         !  (if <0  months)  !   name    !   (logical) !  (T/F) ! 'monthly' !                  ! pairing  !    filename   ! 
     105   sn_tem      = 'dyna_grid_T'           ,       120         , 'votemper'  ,  .true.   , .true. , 'yearly'  , ''               , ''       , '' 
     106   sn_sal      = 'dyna_grid_T'           ,       120         , 'vosaline'  ,  .true.   , .true. , 'yearly'  , ''               , ''       , '' 
     107   sn_mld      = 'dyna_grid_T'           ,       120         , 'somixhgt'  ,  .true.   , .true. , 'yearly'  , ''               , ''       , '' 
     108   sn_emp      = 'dyna_grid_T'           ,       120         , 'sowaflup'  ,  .true.   , .true. , 'yearly'  , ''               , ''       , '' 
     109   sn_fmf      = 'dyna_grid_T'           ,       120         , 'iowaflup'  ,  .true.   , .true. , 'yearly'  , ''               , ''       , '' 
     110   sn_ice      = 'dyna_grid_T'           ,       120         , 'soicecov'  ,  .true.   , .true. , 'yearly'  , ''               , ''       , '' 
     111   sn_qsr      = 'dyna_grid_T'           ,       120         , 'soshfldo'  ,  .true.   , .true. , 'yearly'  , ''               , ''       , '' 
     112   sn_wnd      = 'dyna_grid_T'           ,       120         , 'sowindsp'  ,  .true.   , .true. , 'yearly'  , ''               , ''       , '' 
     113   sn_uwd      = 'dyna_grid_U'           ,       120         , 'uocetr_eff',  .true.   , .true. , 'yearly'  , ''               , ''       , '' 
     114   sn_vwd      = 'dyna_grid_V'           ,       120         , 'vocetr_eff',  .true.   , .true. , 'yearly'  , ''               , ''       , '' 
     115   sn_wwd      = 'dyna_grid_W'           ,       120         , 'wocetr_eff',  .true.   , .true. , 'yearly'  , ''               , ''       , '' 
     116   sn_avt      = 'dyna_grid_W'           ,       120         , 'voddmavs'  ,  .true.   , .true. , 'yearly'  , ''               , ''       , '' 
     117   sn_ubl      = 'dyna_grid_U'           ,       120         , 'sobblcox'  ,  .true.   , .true. , 'yearly'  , ''               , ''       , '' 
     118   sn_vbl      = 'dyna_grid_V'           ,       120         , 'sobblcoy'  ,  .true.   , .true. , 'yearly'  , ''               , ''       , '' 
    360119/ 
  • branches/2017/dev_merge_2017/NEMOGCM/CONFIG/ORCA2_OFF_TRC/EXP00/namelist_cfg

    r9301 r9490  
     1!!>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
     2!! NEMO/OPA  :  ORCA2_OFF_TRC configuration namelist: overwrite SHARED/namelist_ref 
     3!!>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
     4 
     5!!====================================================================== 
     6!!              ***  Domain & Run management namelists  ***           !! 
     7!!                                                                    !! 
     8!!   namrun       parameters of the run 
     9!!   namdom       space and time domain 
     10!!   namcfg       parameters of the configuration                       (default: user defined GYRE) 
     11!!====================================================================== 
     12! 
    113!----------------------------------------------------------------------- 
    214&namrun        !   parameters of the run 
     
    618   nn_itend    =    1460    !  last  time step (std 1460) 
    719   nn_stock    =    1460    !  frequency of creation of a restart file (modulo referenced to 1) 
    8    nn_date0    = 19600101   
    9    ln_mskland  = .true.   !  mask land points in NetCDF outputs (costly: + ~15%) 
    10 / 
    11 !----------------------------------------------------------------------- 
    12 &namcfg        !   parameters of the configuration                     !   (default: user defined GYRE) 
    13 !----------------------------------------------------------------------- 
    14    ln_read_cfg = .true.    !  (=T) read the domain configuration file 
    15       !                    !  (=F) user defined configuration  ==>>>  see usrdef(_...) modules 
    16       cn_domcfg = "ORCA_R2_zps_domcfg"    ! domain configuration filename 
    1720/ 
    1821!----------------------------------------------------------------------- 
     
    2427/ 
    2528!----------------------------------------------------------------------- 
    26 &namtsd        !   data : Temperature  & Salinity 
     29&namcfg        !   parameters of the configuration                      (default: user defined GYRE) 
    2730!----------------------------------------------------------------------- 
     31   ln_read_cfg = .true.    !  (=T) read the domain configuration file 
     32      cn_domcfg = "ORCA_R2_zps_domcfg"    ! domain configuration filename 
    2833/ 
    29 !----------------------------------------------------------------------- 
    30 &namwad  !   Wetting and drying  default it no WAD 
    31 !----------------------------------------------------------------------- 
    32 / 
    33 !----------------------------------------------------------------------- 
    34 &namcrs        !   coarsened grid (for outputs and/or TOP)              (ln_crs =T) 
    35 !----------------------------------------------------------------------- 
    36 / 
    37 !----------------------------------------------------------------------- 
    38 &namc1d        !   1D configuration options                             ("key_c1d") 
    39 !----------------------------------------------------------------------- 
    40 / 
    41 !----------------------------------------------------------------------- 
    42 &namc1d_dyndmp !   U & V newtonian damping                              ("key_c1d") 
    43 !----------------------------------------------------------------------- 
    44 / 
    45 !----------------------------------------------------------------------- 
    46 &namc1d_uvd    !   data: U & V currents                                 ("key_c1d") 
    47 !----------------------------------------------------------------------- 
    48 / 
     34 
     35!!====================================================================== 
     36!!            ***  Surface Boundary Condition namelists  ***          !! 
     37!!                                                                    !! 
     38!!   namsbc          surface boundary condition manager                 (default: NO selection) 
     39!!   namsbc_flx      flux               formulation                     (ln_flx    =T) 
     40!!   namsbc_blk      Bulk formulae formulation                          (ln_blk     =T) 
     41!!   namsbc_cpl      CouPLed            formulation                     ("key_oasis3" ) 
     42!!   namsbc_sas      Stand-Alone Surface module                         (SAS_SRC  only) 
     43!!   namsbc_iif      Ice-IF: use observed ice cover                     (nn_ice = 1   ) 
     44!!   namtra_qsr      penetrative solar radiation                        (ln_traqsr  =T) 
     45!!   namsbc_ssr      sea surface restoring term (for T and/or S)        (ln_ssr     =T) 
     46!!   namsbc_rnf      river runoffs                                      (ln_rnf     =T) 
     47!!   namsbc_apr      Atmospheric Pressure                               (ln_apr_dyn =T) 
     48!!   namsbc_isf      ice shelf melting/freezing                         (ln_isfcav  =T : read (ln_read_cfg=T) or set or usr_def_zgr ) 
     49!!   namsbc_iscpl    coupling option between land ice model and ocean   (ln_isfcav  =T) 
     50!!   namsbc_wave     external fields from wave model                    (ln_wave    =T) 
     51!!   namberg         iceberg floats                                     (ln_icebergs=T) 
     52!!====================================================================== 
     53! 
    4954!----------------------------------------------------------------------- 
    5055&namsbc        !   Surface Boundary Condition (surface module) 
    5156!----------------------------------------------------------------------- 
     57   nn_fsbc     = 1         !  frequency of SBC module call 
    5258   ln_blk      = .true.    !  Bulk formulation                          (T => fill namsbc_blk ) 
    53    nn_fsbc     = 1         !  frequency of surface boundary condition computation  
    54    ln_rnf      = .false.   !  runoffs 
    55    ln_traqsr   = .false.   !  Light penetration (T) or not (F) 
    56 / 
    57 !----------------------------------------------------------------------- 
    58 &namsbc_flx    !   surface boundary condition : flux formulation 
    59 !----------------------------------------------------------------------- 
    6059/ 
    6160!----------------------------------------------------------------------- 
     
    6362!----------------------------------------------------------------------- 
    6463   ln_NCAR     = .true.   ! "NCAR"      algorithm   (Large and Yeager 2008) 
     64 
     65   cn_dir      = './'      !  root directory for the bulk data location 
     66   !___________!_________________________!___________________!___________!_____________!________!___________!______________________________________!__________!_______________! 
     67   !           !  file name              ! frequency (hours) ! variable  ! time interp.!  clim  ! 'yearly'/ !       weights filename               ! rotation ! land/sea mask ! 
     68   !           !                         !  (if <0  months)  !   name    !   (logical) !  (T/F) ! 'monthly' !                                      ! pairing  !    filename   ! 
     69   sn_wndi     = 'u_10.15JUNE2009_fill'       ,    6         , 'U_10_MOD',   .false.   , .true. , 'yearly'  , 'weights_core_orca2_bicubic_noc.nc'  , 'Uwnd'   , '' 
     70   sn_wndj     = 'v_10.15JUNE2009_fill'       ,    6         , 'V_10_MOD',   .false.   , .true. , 'yearly'  , 'weights_core_orca2_bicubic_noc.nc'  , 'Vwnd'   , '' 
     71   sn_qsr      = 'ncar_rad.15JUNE2009_fill'   ,   24         , 'SWDN_MOD',   .false.   , .true. , 'yearly'  , 'weights_core_orca2_bilinear_noc.nc' , ''       , '' 
     72   sn_qlw      = 'ncar_rad.15JUNE2009_fill'   ,   24         , 'LWDN_MOD',   .false.   , .true. , 'yearly'  , 'weights_core_orca2_bilinear_noc.nc' , ''       , '' 
     73   sn_tair     = 't_10.15JUNE2009_fill'       ,    6         , 'T_10_MOD',   .false.   , .true. , 'yearly'  , 'weights_core_orca2_bilinear_noc.nc' , ''       , '' 
     74   sn_humi     = 'q_10.15JUNE2009_fill'       ,    6         , 'Q_10_MOD',   .false.   , .true. , 'yearly'  , 'weights_core_orca2_bilinear_noc.nc' , ''       , '' 
     75   sn_prec     = 'ncar_precip.15JUNE2009_fill',   -1         , 'PRC_MOD1',   .false.   , .true. , 'yearly'  , 'weights_core_orca2_bilinear_noc.nc' , ''       , '' 
     76   sn_snow     = 'ncar_precip.15JUNE2009_fill',   -1         , 'SNOW'    ,   .false.   , .true. , 'yearly'  , 'weights_core_orca2_bilinear_noc.nc' , ''       , '' 
     77   sn_slp      = 'slp.15JUNE2009_fill'        ,    6         , 'SLP'     ,   .false.   , .true. , 'yearly'  , 'weights_core_orca2_bilinear_noc.nc' , ''       , '' 
     78   sn_tdif     = 'taudif_core'                ,   24         , 'taudif'  ,   .false.   , .true. , 'yearly'  , 'weights_core_orca2_bilinear_noc.nc' , ''       , '' 
    6579/ 
    66 !----------------------------------------------------------------------- 
    67 &namsbc_cpl    !   coupled ocean/atmosphere model                       ("key_oasis3") 
    68 !----------------------------------------------------------------------- 
    69 / 
    70 !----------------------------------------------------------------------- 
    71 &namsbc_sas    !   Stand-Alone Surface boundary condition 
    72 !----------------------------------------------------------------------- 
    73 / 
    74 !----------------------------------------------------------------------- 
    75 &namsbc_iif    !   Ice-IF : use observed ice cover                      (nn_ice = 1) 
    76 !----------------------------------------------------------------------- 
    77 / 
    78 !----------------------------------------------------------------------- 
    79 &namtra_qsr    !   penetrative solar radiation                          (ln_traqsr =T) 
    80 !----------------------------------------------------------------------- 
    81 / 
    82 !----------------------------------------------------------------------- 
    83 &namsbc_rnf    !   runoffs namelist surface boundary condition          (ln_rnf =T) 
    84 !----------------------------------------------------------------------- 
    85 / 
    86 !----------------------------------------------------------------------- 
    87 &namsbc_isf    !  Top boundary layer (ISF)                              (nn_isf >0) 
    88 !----------------------------------------------------------------------- 
    89 / 
    90 !----------------------------------------------------------------------- 
    91 &namsbc_iscpl  !   land ice / ocean coupling option                      
    92 !----------------------------------------------------------------------- 
    93 / 
    94 !----------------------------------------------------------------------- 
    95 &namsbc_apr    !   Atmospheric pressure used as ocean forcing           (ln_apr_dyn =T) 
    96 !----------------------------------------------------------------------- 
    97 / 
    98 !----------------------------------------------------------------------- 
    99 &namsbc_ssr    !   surface boundary condition : sea surface restoring   (ln_ssr =T) 
    100 !----------------------------------------------------------------------- 
    101 / 
    102 !----------------------------------------------------------------------- 
    103 &namsbc_wave   ! External fields from wave model                        (ln_wave=T) 
    104 !----------------------------------------------------------------------- 
    105 / 
    106 !----------------------------------------------------------------------- 
    107 &namberg       !   iceberg parameters                                   (default: No iceberg) 
    108 !----------------------------------------------------------------------- 
    109 / 
    110 !----------------------------------------------------------------------- 
    111 &namlbc        !   lateral momentum boundary condition 
    112 !----------------------------------------------------------------------- 
    113    !                       !  free slip  !   partial slip  !   no slip   ! strong slip 
    114    rn_shlat    =    2.     !  shlat = 0  !  0 < shlat < 2  !  shlat = 2  !  2 < shlat 
    115    ln_vorlat   = .false.   !  consistency of vorticity boundary condition with analytical Eqs. 
    116 / 
    117 !----------------------------------------------------------------------- 
    118 &namagrif      !  AGRIF zoom                                            ("key_agrif") 
    119 !----------------------------------------------------------------------- 
    120 / 
    121 !----------------------------------------------------------------------- 
    122 &nam_tide      !   tide parameters 
    123 !----------------------------------------------------------------------- 
    124 / 
    125 !----------------------------------------------------------------------- 
    126 &nambdy        !  unstructured open boundaries                           
    127 !----------------------------------------------------------------------- 
    128 / 
    129 !----------------------------------------------------------------------- 
    130 &nambdy_dta    !  open boundaries - external data                        
    131 !----------------------------------------------------------------------- 
    132 / 
    133 !----------------------------------------------------------------------- 
    134 &nambdy_tide   !  tidal forcing at open boundaries 
    135 !----------------------------------------------------------------------- 
    136 / 
    137 !----------------------------------------------------------------------- 
    138 &namdrg            !   top/bottom drag coefficient                      (default: NO selection) 
    139 !----------------------------------------------------------------------- 
    140 / 
    141 !----------------------------------------------------------------------- 
    142 &namdrg_top        !   TOP friction                                     (ln_isfcav=T) 
    143 !----------------------------------------------------------------------- 
    144 / 
    145 !----------------------------------------------------------------------- 
    146 &namdrg_bot        !   BOTTOM friction                                   
    147 !----------------------------------------------------------------------- 
    148 / 
    149 !----------------------------------------------------------------------- 
    150 &nambbc        !   bottom temperature boundary condition                (default: NO) 
    151 !----------------------------------------------------------------------- 
    152 / 
    153 !----------------------------------------------------------------------- 
    154 &nambbl        !   bottom boundary layer scheme                         (default: NO) 
    155 !----------------------------------------------------------------------- 
    156    ln_trabbl   = .true.    !  Bottom Boundary Layer parameterisation flag 
    157    nn_bbl_ldf  =  1        !  diffusive bbl (=1)   or not (=0) 
    158    nn_bbl_adv  =  0        !  advective bbl (=1/2) or not (=0) 
    159    rn_ahtbbl   =  1000.    !  lateral mixing coefficient in the bbl  [m2/s] 
    160    rn_gambbl   =  10.      !  advective bbl coefficient                 [s] 
    161 / 
     80 
     81!!====================================================================== 
     82!!                     TOP OFF-line namelists                         !! 
     83!!                                                                    !! 
     84!!   nameos        equation of state                                    (default: NO selection) 
     85!!   namdta_dyn    offline TOP: ocean state read in files               (OFF_SRC only) 
     86!!====================================================================== 
     87! 
    16288!----------------------------------------------------------------------- 
    16389&nameos        !   ocean Equation Of Seawater                           (default: NO) 
     
    16692/ 
    16793!----------------------------------------------------------------------- 
    168 &namtra_adv    !   advection scheme for tracer                          (default: NO selection) 
     94&namdta_dyn    !   offline: ocean state read in files                   (OFF_SRC) 
    16995!----------------------------------------------------------------------- 
    170 / 
    171 !----------------------------------------------------------------------- 
    172 &namtra_adv_mle !   mixed layer eddy parametrisation (Fox-Kemper param) (default: NO) 
    173 !----------------------------------------------------------------------- 
    174 / 
    175 !----------------------------------------------------------------------- 
    176 &namtra_ldf    !   lateral diffusion scheme for tracers                 (default: NO selection) 
    177 !----------------------------------------------------------------------- 
    178    !                       !  Operator type: 
    179    ln_traldf_NONE  =  .false.  ! No explicit diffusion 
    180    ln_traldf_lap   =  .true.   !    laplacian operator 
    181    ln_traldf_blp   =  .false.  !  bilaplacian operator 
    182    !                       !  Direction of action: 
    183    ln_traldf_lev   =  .false.  !  iso-level 
    184    ln_traldf_hor   =  .false.  !  horizontal (geopotential) 
    185    ln_traldf_iso   =  .true.   !  iso-neutral 
    186    ln_traldf_triad =  .false.  !  iso-neutral using Griffies triads 
    187    ! 
    188    !                       !  iso-neutral options:         
    189    ln_traldf_msc   =  .true.   !  Method of Stabilizing Correction (both operators) 
    190    rn_slpmax       =   0.01    !  slope limit                      (both operators) 
    191    ln_triad_iso    =  .false.  !  pure horizontal mixing in ML     (triad only) 
    192    rn_sw_triad     =  1        !  =1 switching triad ; =0 all 4 triads used (triad only) 
    193    ln_botmix_triad =  .false.  !  lateral mixing on bottom         (triad only) 
    194    ! 
    195    !                       !  Coefficients: 
    196    nn_aht_ijk_t    = 0        !  space/time variation of eddy coef 
    197    !                                !   =-20 (=-30)    read in eddy_diffusivity_2D.nc (..._3D.nc) file 
    198    !                                !   =  0           constant  
    199    !                                !   = 10 F(k)      =ldf_c1d  
    200    !                                !   = 20 F(i,j)    =ldf_c2d  
    201    !                                !   = 21 F(i,j,t)  =Treguier et al. JPO 1997 formulation 
    202    !                                !   = 30 F(i,j,k)  =ldf_c2d + ldf_c1d 
    203    !                                !   = 31 F(i,j,k,t)=F(local velocity) 
    204    rn_aht_0        = 2000.     !  lateral eddy diffusivity   (lap. operator) [m2/s] 
    205    rn_bht_0        = 1.e+12    !  lateral eddy diffusivity (bilap. operator) [m4/s] 
    206 / 
    207 !----------------------------------------------------------------------- 
    208 &namtra_ldfeiv !   eddy induced velocity param.                         (default: NO) 
    209 !----------------------------------------------------------------------- 
    210    ln_ldfeiv     =.true.   ! use eddy induced velocity parameterization 
    211    ln_ldfeiv_dia =.false.   ! diagnose eiv stream function and velocities 
    212    rn_aeiv_0     = 2000.   ! eddy induced velocity coefficient   [m2/s] 
    213    nn_aei_ijk_t  = 0      ! space/time variation of the eiv coeficient 
    214    !                                !   =-20 (=-30)    read in eddy_induced_velocity_2D.nc (..._3D.nc) file 
    215    !                                !   =  0           constant 
    216    !                                !   = 10 F(k)      =ldf_c1d 
    217    !                                !   = 20 F(i,j)    =ldf_c2d 
    218    !                                !   = 21 F(i,j,t)  =Treguier et al. JPO 1997 formulation 
    219    !                                !   = 30 F(i,j,k)  =ldf_c2d + ldf_c1d 
    220 / 
    221 !----------------------------------------------------------------------- 
    222 &namtra_dmp    !   tracer: T & S newtonian damping                      (default: NO) 
    223 !----------------------------------------------------------------------- 
    224 / 
    225 !----------------------------------------------------------------------- 
    226 &nam_vvl       !   vertical coordinate options                             (default: z-star) 
    227 !----------------------------------------------------------------------- 
    228 / 
    229 !----------------------------------------------------------------------- 
    230 &namdyn_adv    !   formulation of the momentum advection                (default: NO selection) 
    231 !----------------------------------------------------------------------- 
    232 / 
    233 !----------------------------------------------------------------------- 
    234 &namdyn_vor    !   Vorticity / Coriolis scheme                          (default: NO) 
    235 !----------------------------------------------------------------------- 
    236 / 
    237 !----------------------------------------------------------------------- 
    238 &namdyn_hpg    !   Hydrostatic pressure gradient option                 (default: NO selection) 
    239 !----------------------------------------------------------------------- 
    240 / 
    241 !----------------------------------------------------------------------- 
    242 &namdyn_spg    !   surface pressure gradient                            (default: NO) 
    243 !----------------------------------------------------------------------- 
    244 / 
    245 !----------------------------------------------------------------------- 
    246 &namdyn_ldf    !   lateral diffusion on momentum                        (default: NO selection) 
    247 !----------------------------------------------------------------------- 
    248 / 
    249 !----------------------------------------------------------------------- 
    250 &namzdf        !   vertical physics                                     (default: NO selection) 
    251 !----------------------------------------------------------------------- 
    252 / 
    253 !----------------------------------------------------------------------- 
    254 &namzdf_ric    !   richardson number dependent vertical diffusion       (ln_zdfric =T) 
    255 !----------------------------------------------------------------------- 
    256 / 
    257 !----------------------------------------------------------------------- 
    258 &namzdf_tke    !   turbulent eddy kinetic dependent vertical diffusion  (ln_zdftke =T) 
    259 !----------------------------------------------------------------------- 
    260 / 
    261 !----------------------------------------------------------------------- 
    262 &namzdf_gls    !   GLS vertical diffusion                               (ln_zdfgls =T) 
    263 !----------------------------------------------------------------------- 
    264 / 
    265 !----------------------------------------------------------------------- 
    266 &namzdf_osm                !   OSM vertical diffusion                   (ln_zdfosm =T) 
    267 !----------------------------------------------------------------------- 
    268 / 
    269 !----------------------------------------------------------------------- 
    270 &namzdf_iwm    !    internal wave-driven mixing parameterization        (ln_zdfiwm =T) 
    271 !----------------------------------------------------------------------- 
    272 / 
    273 !----------------------------------------------------------------------- 
    274 &nammpp        !   Massively Parallel Processing                        ("key_mpp_mpi") 
    275 !----------------------------------------------------------------------- 
    276 / 
    277 !----------------------------------------------------------------------- 
    278 &namctl        !   Control prints  
    279 !----------------------------------------------------------------------- 
    280 / 
    281 !----------------------------------------------------------------------- 
    282 &namsto        ! Stochastic parametrization of EOS                      (default: NO) 
    283 !----------------------------------------------------------------------- 
    284 / 
    285 !----------------------------------------------------------------------- 
    286 &namtrd        !   trend diagnostics                                    (default F) 
    287 !----------------------------------------------------------------------- 
    288 / 
    289 !----------------------------------------------------------------------- 
    290 &namptr        !   Poleward Transport Diagnostic                         (default F) 
    291 !----------------------------------------------------------------------- 
    292 / 
    293 !----------------------------------------------------------------------- 
    294 &namhsb        !  Heat and salt budgets                                  (default F) 
    295 !----------------------------------------------------------------------- 
    296 / 
    297 !----------------------------------------------------------------------- 
    298 &namdiu        !   Cool skin and warm layer models                       (default F) 
    299 !----------------------------------------------------------------------- 
    300 / 
    301 !----------------------------------------------------------------------- 
    302 &namflo        !   float parameters                                      ("key_float") 
    303 !----------------------------------------------------------------------- 
    304 / 
    305 !----------------------------------------------------------------------- 
    306 &nam_diaharm   !   Harmonic analysis of tidal constituents               ("key_diaharm") 
    307 !----------------------------------------------------------------------- 
    308 / 
    309 !----------------------------------------------------------------------- 
    310 &namdct        ! transports through some sections                        ("key_diadct") 
    311 !----------------------------------------------------------------------- 
    312 / 
    313 !----------------------------------------------------------------------- 
    314 &nam_diatmb    !  Top Middle Bottom Output                               (default F) 
    315 !----------------------------------------------------------------------- 
    316 / 
    317 !----------------------------------------------------------------------- 
    318 &nam_dia25h    !  25h Mean Output                                        (default F) 
    319 !----------------------------------------------------------------------- 
    320 / 
    321 !----------------------------------------------------------------------- 
    322 &namnc4        !   netcdf4 chunking and compression settings             ("key_netcdf4") 
    323 !----------------------------------------------------------------------- 
    324 / 
    325 !----------------------------------------------------------------------- 
    326 &namobs        !  observation usage switch 
    327 !----------------------------------------------------------------------- 
    328 / 
    329 !----------------------------------------------------------------------- 
    330 &nam_asminc    !   assimilation increments                              ('key_asminc') 
    331 !----------------------------------------------------------------------- 
    332 / 
    333 !----------------------------------------------------------------------- 
    334 &namdta_dyn        !   offline dynamics read in files                   ("key_offline") 
    335 !----------------------------------------------------------------------- 
    336 !          !  file name  ! frequency (hours) ! variable  ! time interp. !  clim  ! 'yearly'/ ! weights  ! rotation ! land/sea mask ! 
    337 !          !             !  (if <0  months)  !   name    !   (logical)  !  (T/F) ! 'monthly' ! filename ! pairing  ! filename      ! 
    338    sn_tem  = 'dyna_grid_T' ,    120            , 'votemper' ,  .true.    , .true. ,   'yearly'  , ''       , ''    , '' 
    339    sn_sal  = 'dyna_grid_T' ,    120            , 'vosaline' ,  .true.    , .true. ,   'yearly'  , ''       , ''    , '' 
    340    sn_mld  = 'dyna_grid_T' ,    120            , 'somixhgt' ,  .true.    , .true. ,   'yearly'  , ''       , ''    , '' 
    341    sn_emp  = 'dyna_grid_T' ,    120            , 'sowaflup' ,  .true.    , .true. ,   'yearly'  , ''       , ''    , '' 
    342    sn_fmf  = 'dyna_grid_T' ,    120            , 'iowaflup' ,  .true.    , .true. ,   'yearly'  , ''       , ''    , '' 
    343    sn_ice  = 'dyna_grid_T' ,    120            , 'soicecov' ,  .true.    , .true. ,   'yearly'  , ''       , ''    , '' 
    344    sn_qsr  = 'dyna_grid_T' ,    120            , 'soshfldo' ,  .true.    , .true. ,   'yearly'  , ''       , ''    , '' 
    345    sn_wnd  = 'dyna_grid_T' ,    120            , 'sowindsp' ,  .true.    , .true. ,   'yearly'  , ''       , ''    , '' 
    346    sn_uwd  = 'dyna_grid_U' ,    120            , 'uocetr_eff' ,  .true.    , .true. ,   'yearly'  , ''       , ''    , '' 
    347    sn_vwd  = 'dyna_grid_V' ,    120            , 'vocetr_eff' ,  .true.    , .true. ,   'yearly'  , ''       , ''    , '' 
    348    sn_wwd  = 'dyna_grid_W' ,    120            , 'wocetr_eff' ,  .true.    , .true. ,   'yearly'  , ''       , ''    , '' 
    349    sn_avt  = 'dyna_grid_W' ,    120            , 'voddmavs' ,  .true.    , .true. ,   'yearly'  , ''       , ''    , '' 
    350    sn_ubl  = 'dyna_grid_U' ,    120            , 'sobblcox' ,  .true.    , .true. ,   'yearly'  , ''       , ''    , '' 
    351    sn_vbl  = 'dyna_grid_V' ,    120            , 'sobblcoy' ,  .true.    , .true. ,   'yearly'  , ''       , ''    , '' 
    352 ! 
    353    cn_dir          = './'       !  root directory for the location of the dynamical files 
    35496   ln_dynrnf       =  .false.   !  runoffs option enabled (T) or not (F) 
    35597   ln_dynrnf_depth =  .false.   ! runoffs is spread in vertical (T) or not (F) 
    35698!   fwbcorr      = 3.786e-06    ! annual global mean of empmr for ssh correction 
     99 
     100 
     101   cn_dir      = './'      !  root directory for the ocean data location 
     102   !___________!_________________________!___________________!___________!_____________!________!___________!__________________!__________!_______________! 
     103   !           !  file name              ! frequency (hours) ! variable  ! time interp.!  clim  ! 'yearly'/ ! weights filename ! rotation ! land/sea mask ! 
     104   !           !                         !  (if <0  months)  !   name    !   (logical) !  (T/F) ! 'monthly' !                  ! pairing  !    filename   ! 
     105   sn_tem      = 'dyna_grid_T'           ,       120         , 'votemper'  ,  .true.   , .true. , 'yearly'  , ''               , ''       , '' 
     106   sn_sal      = 'dyna_grid_T'           ,       120         , 'vosaline'  ,  .true.   , .true. , 'yearly'  , ''               , ''       , '' 
     107   sn_mld      = 'dyna_grid_T'           ,       120         , 'somixhgt'  ,  .true.   , .true. , 'yearly'  , ''               , ''       , '' 
     108   sn_emp      = 'dyna_grid_T'           ,       120         , 'sowaflup'  ,  .true.   , .true. , 'yearly'  , ''               , ''       , '' 
     109   sn_fmf      = 'dyna_grid_T'           ,       120         , 'iowaflup'  ,  .true.   , .true. , 'yearly'  , ''               , ''       , '' 
     110   sn_ice      = 'dyna_grid_T'           ,       120         , 'soicecov'  ,  .true.   , .true. , 'yearly'  , ''               , ''       , '' 
     111   sn_qsr      = 'dyna_grid_T'           ,       120         , 'soshfldo'  ,  .true.   , .true. , 'yearly'  , ''               , ''       , '' 
     112   sn_wnd      = 'dyna_grid_T'           ,       120         , 'sowindsp'  ,  .true.   , .true. , 'yearly'  , ''               , ''       , '' 
     113   sn_uwd      = 'dyna_grid_U'           ,       120         , 'uocetr_eff',  .true.   , .true. , 'yearly'  , ''               , ''       , '' 
     114   sn_vwd      = 'dyna_grid_V'           ,       120         , 'vocetr_eff',  .true.   , .true. , 'yearly'  , ''               , ''       , '' 
     115   sn_wwd      = 'dyna_grid_W'           ,       120         , 'wocetr_eff',  .true.   , .true. , 'yearly'  , ''               , ''       , '' 
     116   sn_avt      = 'dyna_grid_W'           ,       120         , 'voddmavs'  ,  .true.   , .true. , 'yearly'  , ''               , ''       , '' 
     117   sn_ubl      = 'dyna_grid_U'           ,       120         , 'sobblcox'  ,  .true.   , .true. , 'yearly'  , ''               , ''       , '' 
     118   sn_vbl      = 'dyna_grid_V'           ,       120         , 'sobblcoy'  ,  .true.   , .true. , 'yearly'  , ''               , ''       , '' 
    357119/ 
    358  
  • branches/2017/dev_merge_2017/NEMOGCM/CONFIG/ORCA2_OFF_TRC/EXP00/namelist_top_cfg

    r9301 r9490  
    3434&namtrc_ldf      !   lateral diffusion scheme for passive tracer  
    3535!----------------------------------------------------------------------- 
     36   !                         !  Type of the operator: 
     37   ln_trcldf_NONE  =  .false.    !  No explicit diffusion 
     38   ln_trcldf_tra   =  .true.     !  use active tracer setting 
     39   !                         !  Coefficient (defined with namtra_ldf coefficient) 
     40   rn_ldf_multi    = 1.          !  multiplier of aht for TRC mixing coefficient 
     41   rn_fact_lap     = 1.          !  Equatorial enhanced zonal eddy diffusivity (lap only) 
    3642/ 
    3743!----------------------------------------------------------------------- 
  • branches/2017/dev_merge_2017/NEMOGCM/CONFIG/ORCA2_SAS_LIM3/EXP00/namelist_cfg

    r9356 r9490  
    11!!>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
    2 !! NEMO/OPA  Configuration namelist : used to overwrite defaults values defined in SHARED/namelist_ref 
     2!! NEMO/OPA  SAS Configuration namelist : overwrite some defaults values defined in SHARED/namelist_ref 
    33!!>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
     4 
     5!!====================================================================== 
     6!!              ***  Domain & Run management namelists  ***           !! 
     7!!                                                                    !! 
     8!!   namrun       parameters of the run 
     9!!   namdom       space and time domain 
     10!!   namcfg       parameters of the configuration                       (default: user defined GYRE) 
     11!!====================================================================== 
    412! 
    513!----------------------------------------------------------------------- 
     
    1220/ 
    1321!----------------------------------------------------------------------- 
    14 &namcfg        !   parameters of the configuration                      (default: user defined GYRE) 
    15 !----------------------------------------------------------------------- 
    16    ln_read_cfg = .true.    !  (=T) read the domain configuration file 
    17       !                    !  (=F) user defined configuration  ==>>>  see usrdef(_...) modules 
    18       cn_domcfg = "ORCA_R2_zps_domcfg"    ! domain configuration filename 
    19 / 
    20 !----------------------------------------------------------------------- 
    2122&namdom        !   time and space domain 
    2223!----------------------------------------------------------------------- 
     
    2425/ 
    2526!----------------------------------------------------------------------- 
    26 &namtsd        !   data : Temperature  & Salinity 
     27&namcfg        !   parameters of the configuration                      (default: user defined GYRE) 
    2728!----------------------------------------------------------------------- 
     29   ln_read_cfg = .true.    !  (=T) read the domain configuration file 
     30      cn_domcfg = "ORCA_R2_zps_domcfg"    ! domain configuration filename 
    2831/ 
    29 !----------------------------------------------------------------------- 
    30 &namwad        !   Wetting and drying  default is no WAD 
    31 !----------------------------------------------------------------------- 
    32 / 
    33 !----------------------------------------------------------------------- 
    34 &namcrs        !   coarsened grid (for outputs and/or TOP)              (ln_crs =T) 
    35 !----------------------------------------------------------------------- 
    36 / 
    37 !----------------------------------------------------------------------- 
    38 &namc1d        !   1D configuration options                             ("key_c1d") 
    39 !----------------------------------------------------------------------- 
    40 / 
    41 !----------------------------------------------------------------------- 
    42 &namc1d_dyndmp !   U & V newtonian damping                              ("key_c1d") 
    43 !----------------------------------------------------------------------- 
    44 / 
    45 !----------------------------------------------------------------------- 
    46 &namc1d_uvd    !   data: U & V currents                                 ("key_c1d") 
    47 !----------------------------------------------------------------------- 
    48 / 
     32 
     33!!====================================================================== 
     34!!            ***  Surface Boundary Condition namelists  ***          !! 
     35!!                                                                    !! 
     36!!                           SAS case                                 !! 
     37!!                                                                    !! 
     38!!   namsbc          surface boundary condition manager                 (default: NO selection) 
     39!!   namsbc_flx      flux               formulation                     (ln_flx     =T) 
     40!!   namsbc_blk      Bulk formulae formulation                          (ln_blk     =T) 
     41!!   namsbc_cpl      CouPLed            formulation                     ("key_oasis3" ) 
     42!!   namsbc_sas      Stand-Alone Surface module                         (SAS_SRC  only) 
     43!!   namsbc_iif      Ice-IF: use observed ice cover                     (nn_ice = 1   ) 
     44!!   namsbc_ssr      sea surface restoring term (for T and/or S)        (ln_ssr     =T) 
     45!!   namsbc_rnf      river runoffs                                      (ln_rnf     =T) 
     46!!   namsbc_apr      Atmospheric Pressure                               (ln_apr_dyn =T) 
     47!!   namsbc_wave     external fields from wave model                    (ln_wave    =T) 
     48!!   namberg         iceberg floats                                     (ln_icebergs=T) 
     49!!====================================================================== 
     50! 
    4951!----------------------------------------------------------------------- 
    5052&namsbc        !   Surface Boundary Condition (surface module) 
    5153!----------------------------------------------------------------------- 
     54   nn_fsbc     = 1         !  frequency of SBC module call 
    5255   ln_blk      = .true.    !  Bulk formulation                          (T => fill namsbc_blk ) 
    53 / 
    54 !----------------------------------------------------------------------- 
    55 &namsbc_flx    !   surface boundary condition : flux formulation 
    56 !----------------------------------------------------------------------- 
     56   nn_ice      = 2         !  =2  sea-ice model                         ("key_SI3" or "key_cice") 
    5757/ 
    5858!----------------------------------------------------------------------- 
     
    6060!----------------------------------------------------------------------- 
    6161   ln_NCAR     = .true.   ! "NCAR"      algorithm   (Large and Yeager 2008) 
     62 
     63   cn_dir      = './'      !  root directory for the bulk data location 
     64   !___________!_________________________!___________________!___________!_____________!________!___________!______________________________________!__________!_______________! 
     65   !           !  file name              ! frequency (hours) ! variable  ! time interp.!  clim  ! 'yearly'/ !       weights filename               ! rotation ! land/sea mask ! 
     66   !           !                         !  (if <0  months)  !   name    !   (logical) !  (T/F) ! 'monthly' !                                      ! pairing  !    filename   ! 
     67   sn_wndi     = 'u_10.15JUNE2009_fill'       ,    6         , 'U_10_MOD',   .false.   , .true. , 'yearly'  , 'weights_core_orca2_bicubic_noc.nc'  , 'Uwnd'   , '' 
     68   sn_wndj     = 'v_10.15JUNE2009_fill'       ,    6         , 'V_10_MOD',   .false.   , .true. , 'yearly'  , 'weights_core_orca2_bicubic_noc.nc'  , 'Vwnd'   , '' 
     69   sn_qsr      = 'ncar_rad.15JUNE2009_fill'   ,   24         , 'SWDN_MOD',   .false.   , .true. , 'yearly'  , 'weights_core_orca2_bilinear_noc.nc' , ''       , '' 
     70   sn_qlw      = 'ncar_rad.15JUNE2009_fill'   ,   24         , 'LWDN_MOD',   .false.   , .true. , 'yearly'  , 'weights_core_orca2_bilinear_noc.nc' , ''       , '' 
     71   sn_tair     = 't_10.15JUNE2009_fill'       ,    6         , 'T_10_MOD',   .false.   , .true. , 'yearly'  , 'weights_core_orca2_bilinear_noc.nc' , ''       , '' 
     72   sn_humi     = 'q_10.15JUNE2009_fill'       ,    6         , 'Q_10_MOD',   .false.   , .true. , 'yearly'  , 'weights_core_orca2_bilinear_noc.nc' , ''       , '' 
     73   sn_prec     = 'ncar_precip.15JUNE2009_fill',   -1         , 'PRC_MOD1',   .false.   , .true. , 'yearly'  , 'weights_core_orca2_bilinear_noc.nc' , ''       , '' 
     74   sn_snow     = 'ncar_precip.15JUNE2009_fill',   -1         , 'SNOW'    ,   .false.   , .true. , 'yearly'  , 'weights_core_orca2_bilinear_noc.nc' , ''       , '' 
     75   sn_slp      = 'slp.15JUNE2009_fill'        ,    6         , 'SLP'     ,   .false.   , .true. , 'yearly'  , 'weights_core_orca2_bilinear_noc.nc' , ''       , '' 
     76   sn_tdif     = 'taudif_core'                ,   24         , 'taudif'  ,   .false.   , .true. , 'yearly'  , 'weights_core_orca2_bilinear_noc.nc' , ''       , '' 
    6277/ 
    6378!----------------------------------------------------------------------- 
     
    6883&namsbc_sas    !   Stand-Alone Surface boundary condition 
    6984!----------------------------------------------------------------------- 
     85   l_sasread   = .true.    !  =T Read in file ;  =F set all to 0. (see sbcssm) 
     86      ln_3d_uve   = .false.   !  specify whether we are supplying a 3D u,v and e3 field 
     87      ln_read_frq = .false.   !  specify whether we must read frq or not 
     88 
     89   cn_dir      = './'      !  root directory for the ocean data location 
     90   !___________!_________________________!___________________!___________!_____________!________!___________!__________________!__________!_______________! 
     91   !           !  file name              ! frequency (hours) ! variable  ! time interp.!  clim  ! 'yearly'/ ! weights filename ! rotation ! land/sea mask ! 
     92   !           !                         !  (if <0  months)  !   name    !   (logical) !  (T/F) ! 'monthly' !                  ! pairing  !    filename   ! 
     93   sn_usp      = 'sas_grid_U'            ,       120         , 'uos'     ,   .true.    , .true. , 'yearly'  ,    ''            ,    ''    ,    '' 
     94   sn_vsp      = 'sas_grid_V'            ,       120         , 'vos'     ,   .true.    , .true. , 'yearly'  ,    ''            ,    ''    ,    '' 
     95   sn_tem      = 'sas_grid_T'            ,       120         , 'sosstsst',   .true.    , .true. , 'yearly'  ,    ''            ,    ''    ,    '' 
     96   sn_sal      = 'sas_grid_T'            ,       120         , 'sosaline',   .true.    , .true. , 'yearly'  ,    ''            ,    ''    ,    '' 
     97   sn_ssh      = 'sas_grid_T'            ,       120         , 'sossheig',   .true.    , .true. , 'yearly'  ,    ''            ,    ''    ,    '' 
     98   sn_e3t      = 'sas_grid_T'            ,       120         , 'e3t_m'   ,   .true.    , .true. , 'yearly'  ,    ''            ,    ''    ,    '' 
     99   sn_frq      = 'sas_grid_T'            ,       120         , 'frq_m'   ,   .true.    , .true. , 'yearly'  ,    ''            ,    ''    ,    '' 
    70100/ 
    71 !----------------------------------------------------------------------- 
    72 &namsbc_iif    !   Ice-IF : use observed ice cover                      (nn_ice = 1) 
    73 !----------------------------------------------------------------------- 
    74 / 
    75 !----------------------------------------------------------------------- 
    76 &namtra_qsr    !   penetrative solar radiation                          (ln_traqsr =T) 
    77 !----------------------------------------------------------------------- 
    78 / 
    79 !----------------------------------------------------------------------- 
    80 &namsbc_rnf    !   runoffs namelist surface boundary condition          (ln_rnf =T) 
    81 !----------------------------------------------------------------------- 
    82 / 
    83 !----------------------------------------------------------------------- 
    84 &namsbc_isf    !  Top boundary layer (ISF)                              (nn_isf >0) 
    85 !----------------------------------------------------------------------- 
    86 / 
    87 !----------------------------------------------------------------------- 
    88 &namsbc_iscpl  !   land ice / ocean coupling option                      
    89 !----------------------------------------------------------------------- 
    90 / 
    91 !----------------------------------------------------------------------- 
    92 &namsbc_apr    !   Atmospheric pressure used as ocean forcing           (ln_apr_dyn =T) 
    93 !----------------------------------------------------------------------- 
    94 / 
    95 !----------------------------------------------------------------------- 
    96 &namsbc_ssr    !   surface boundary condition : sea surface restoring   (ln_ssr =T) 
    97 !----------------------------------------------------------------------- 
    98 / 
    99 !----------------------------------------------------------------------- 
    100 &namsbc_wave   ! External fields from wave model                        (ln_wave=T) 
    101 !----------------------------------------------------------------------- 
    102 / 
    103 !----------------------------------------------------------------------- 
    104 &namberg       !   iceberg parameters                                   (default: No iceberg) 
    105 !----------------------------------------------------------------------- 
    106 / 
    107 !----------------------------------------------------------------------- 
    108 &namlbc        !   lateral momentum boundary condition 
    109 !----------------------------------------------------------------------- 
    110 / 
    111 !----------------------------------------------------------------------- 
    112 &namagrif      !  AGRIF zoom                                            ("key_agrif") 
    113 !----------------------------------------------------------------------- 
    114 / 
    115 !----------------------------------------------------------------------- 
    116 &nam_tide      !   tide parameters 
    117 !----------------------------------------------------------------------- 
    118 / 
    119 !----------------------------------------------------------------------- 
    120 &nambdy        !  unstructured open boundaries                           
    121 !----------------------------------------------------------------------- 
    122 / 
    123 !----------------------------------------------------------------------- 
    124 &nambdy_dta    !  open boundaries - external data                        
    125 !----------------------------------------------------------------------- 
    126 / 
    127 !----------------------------------------------------------------------- 
    128 &nambdy_tide   !  tidal forcing at open boundaries 
    129 !----------------------------------------------------------------------- 
    130 / 
    131 !----------------------------------------------------------------------- 
    132 &namdrg        !   top/bottom drag coefficient                          (default: NO selection) 
    133 !----------------------------------------------------------------------- 
    134 / 
    135 !----------------------------------------------------------------------- 
    136 &namdrg_top    !   TOP friction                                         (ln_isfcav=T) 
    137 !----------------------------------------------------------------------- 
    138 / 
    139 !----------------------------------------------------------------------- 
    140 &namdrg_bot    !   BOTTOM friction                                   
    141 !----------------------------------------------------------------------- 
    142 / 
    143 !----------------------------------------------------------------------- 
    144 &nambbc        !   bottom temperature boundary condition                (default: NO) 
    145 !----------------------------------------------------------------------- 
    146 / 
    147 !----------------------------------------------------------------------- 
    148 &nambbl        !   bottom boundary layer scheme                         (default: NO) 
    149 !----------------------------------------------------------------------- 
    150 / 
     101 
     102!!====================================================================== 
     103!!                        Tracer (T & S) namelists                    !! 
     104!!                                                                    !! 
     105!!                           SAS case : only EOS                      !! 
     106!!                                                                    !! 
     107!!   nameos           equation of state                                 (default: NO selection) 
    151108!----------------------------------------------------------------------- 
    152109&nameos        !   ocean Equation Of Seawater                           (default: NO) 
     
    154111   ln_teos10    = .true.         !  = Use TEOS-10 equation of state 
    155112/ 
    156 !----------------------------------------------------------------------- 
    157 &namtra_adv    !   advection scheme for tracer                          (default: NO selection) 
    158 !----------------------------------------------------------------------- 
    159    ln_traadv_NONE =  .true.    !  No advection 
    160 / 
    161 !----------------------------------------------------------------------- 
    162 &namtra_adv_mle !   mixed layer eddy parametrisation (Fox-Kemper param) (default: NO) 
    163 !----------------------------------------------------------------------- 
    164 / 
    165 !----------------------------------------------------------------------- 
    166 &namtra_ldf    !   lateral diffusion scheme for tracers                 (default: NO selection) 
    167 !----------------------------------------------------------------------- 
    168    ln_traldf_lap  =  .NONE.   ! No explicit diffusion 
    169 / 
    170 !----------------------------------------------------------------------- 
    171 &namtra_ldfeiv !   eddy induced velocity param.                         (default: NO) 
    172 !----------------------------------------------------------------------- 
    173 / 
    174 !----------------------------------------------------------------------- 
    175 &namtra_dmp    !   tracer: T & S newtonian damping                      (default: NO) 
    176 !----------------------------------------------------------------------- 
    177 / 
    178 !----------------------------------------------------------------------- 
    179 &nam_vvl       !   vertical coordinate options                          (default: z-star) 
    180 !----------------------------------------------------------------------- 
    181 / 
    182 !----------------------------------------------------------------------- 
    183 &namdyn_adv    !   formulation of the momentum advection                (default: NO selection) 
    184 !----------------------------------------------------------------------- 
    185    ln_dynadv_NONE =  .true.    !  No advection 
    186 / 
    187 !----------------------------------------------------------------------- 
    188 &namdyn_vor    !   Vorticity / Coriolis scheme                          (default: NO) 
    189 !----------------------------------------------------------------------- 
    190 / 
    191 !----------------------------------------------------------------------- 
    192 &namdyn_hpg    !   Hydrostatic pressure gradient option                 (default: NO selection) 
    193 !----------------------------------------------------------------------- 
    194 / 
    195 !----------------------------------------------------------------------- 
    196 &namdyn_spg    !   surface pressure gradient                            (default: NO) 
    197 !----------------------------------------------------------------------- 
    198 / 
    199 !----------------------------------------------------------------------- 
    200 &namdyn_ldf    !   lateral diffusion on momentum                        (default: NO selection) 
    201 !----------------------------------------------------------------------- 
    202 / 
    203 !----------------------------------------------------------------------- 
    204 &namzdf        !   vertical physics                                     (default: NO selection) 
    205 !----------------------------------------------------------------------- 
    206 / 
    207 !----------------------------------------------------------------------- 
    208 &namzdf_ric    !   richardson number dependent vertical diffusion       (ln_zdfric =T) 
    209 !----------------------------------------------------------------------- 
    210 / 
    211 !----------------------------------------------------------------------- 
    212 &namzdf_tke    !   turbulent eddy kinetic dependent vertical diffusion  (ln_zdftke =T) 
    213 !----------------------------------------------------------------------- 
    214 / 
    215 !----------------------------------------------------------------------- 
    216 &namzdf_gls    !   GLS vertical diffusion                               (ln_zdfgls =T) 
    217 !----------------------------------------------------------------------- 
    218 / 
    219 !----------------------------------------------------------------------- 
    220 &namzdf_osm    !   OSM vertical diffusion                               (ln_zdfosm =T) 
    221 !----------------------------------------------------------------------- 
    222 / 
    223 !----------------------------------------------------------------------- 
    224 &namzdf_iwm    !    internal wave-driven mixing parameterization        (ln_zdfiwm =T) 
    225 !----------------------------------------------------------------------- 
    226 / 
    227 !----------------------------------------------------------------------- 
    228 &nammpp        !   Massively Parallel Processing                        ("key_mpp_mpi") 
    229 !----------------------------------------------------------------------- 
    230 / 
    231 !----------------------------------------------------------------------- 
    232 &namctl        !   Control prints  
    233 !----------------------------------------------------------------------- 
    234 / 
    235 !----------------------------------------------------------------------- 
    236 &namsto        ! Stochastic parametrization of EOS                      (default: NO) 
    237 !----------------------------------------------------------------------- 
    238 / 
    239 !----------------------------------------------------------------------- 
    240 &namtrd        !   trend diagnostics                                    (default F) 
    241 !----------------------------------------------------------------------- 
    242 / 
    243 !----------------------------------------------------------------------- 
    244 &namptr        !   Poleward Transport Diagnostic                        (default F) 
    245 !----------------------------------------------------------------------- 
    246 / 
    247 !----------------------------------------------------------------------- 
    248 &namhsb        !  Heat and salt budgets                                 (default F) 
    249 !----------------------------------------------------------------------- 
    250 / 
    251 !----------------------------------------------------------------------- 
    252 &namdiu        !   Cool skin and warm layer models                      (default F) 
    253 !----------------------------------------------------------------------- 
    254 / 
    255 !----------------------------------------------------------------------- 
    256 &namflo        !   float parameters                                     ("key_float") 
    257 !----------------------------------------------------------------------- 
    258 / 
    259 !----------------------------------------------------------------------- 
    260 &nam_diaharm   !   Harmonic analysis of tidal constituents              ("key_diaharm") 
    261 !----------------------------------------------------------------------- 
    262 / 
    263 !----------------------------------------------------------------------- 
    264 &namdct        ! transports through some sections                       ("key_diadct") 
    265 !----------------------------------------------------------------------- 
    266 / 
    267 !----------------------------------------------------------------------- 
    268 &nam_diatmb    !  Top Middle Bottom Output                              (default F) 
    269 !----------------------------------------------------------------------- 
    270 / 
    271 !----------------------------------------------------------------------- 
    272 &nam_dia25h    !  25h Mean Output                                       (default F) 
    273 !----------------------------------------------------------------------- 
    274 / 
    275 !----------------------------------------------------------------------- 
    276 &namnc4        !   netcdf4 chunking and compression settings            ("key_netcdf4") 
    277 !----------------------------------------------------------------------- 
    278 / 
    279 !----------------------------------------------------------------------- 
    280 &namobs        !  observation usage switch 
    281 !----------------------------------------------------------------------- 
    282 / 
    283 !----------------------------------------------------------------------- 
    284 &nam_asminc    !   assimilation increments                              ('key_asminc') 
    285 !----------------------------------------------------------------------- 
    286 / 
    287 !----------------------------------------------------------------------- 
    288 &namdta_dyn    !   offline dynamics read in files                       ("key_offline") 
    289 !----------------------------------------------------------------------- 
    290 / 
  • branches/2017/dev_merge_2017/NEMOGCM/CONFIG/SHARED/field_def_nemo-opa.xml

    r9138 r9490  
    461461         <field id="w_masstr"     long_name="vertical mass transport"             standard_name="upward_ocean_mass_transport"             unit="kg/s"   /> 
    462462         <field id="w_masstr2"    long_name="square of vertical mass transport"   standard_name="square_of_upward_ocean_mass_transport"   unit="kg2/s2" /> 
    463  
    464          <!-- aht2d and  aht2d_eiv --> 
    465          <field id="aht2d"        long_name="lateral eddy diffusivity"       standard_name="ocean_tracer_xy_laplacian_diffusivity"      unit="m2/s"   grid_ref="grid_W_2D" /> 
    466          <field id="aht2d_eiv"    long_name="EIV lateral eddy diffusivity"   standard_name="ocean_tracer_bolus_laplacian_diffusivity"   unit="m2/s"   grid_ref="grid_W_2D" /> 
    467463 
    468464      </field_group> 
  • branches/2017/dev_merge_2017/NEMOGCM/CONFIG/SHARED/namelist_ref

    r9367 r9490  
    11!!>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
    2 !!                            namelist_ref                            !! 
     2!! NEMO/OCE :   Reference namelist_ref                                !! 
    33!!>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
    44!! NEMO/OPA  :  1 - run manager      (namrun) 
     
    99!!                                    namsbc_ssr, namsbc_wave, namberg) 
    1010!!              4 - lateral boundary (namlbc, namagrif, nambdy, nambdy_tide) 
    11 !!              5 - bottom boundary (namdrg, namdrg_top, namdrg_bot, nambbc, nambbl) 
    12 !!              6 - Tracer           (nameos, namtra_adv, namtra_ldf, namtra_ldfeiv, namtra_dmp) 
     11!!              5 - top/bot boundary (namdrg, namdrg_top, namdrg_bot, nambbc, nambbl) 
     12!!              6 - Tracer           (nameos, namtra_adv, namtra_ldf, namtra_eiv, namtra_dmp) 
    1313!!              7 - dynamics         (namdyn_adv, namdyn_vor, namdyn_hpg, namdyn_spg, namdyn_ldf) 
    14 !!              8 - Verical physics (namzdf, namzdf_ric, namzdf_tke, namzdf_gls, namzdf_iwm) 
     14!!              8 - Vertical physics (namzdf, namzdf_ric, namzdf_tke, namzdf_gls, namzdf_iwm) 
    1515!!              9 - miscellaneous    (nammpp, namctl) 
    1616!!             10 - diagnostics      (namnc4, namtrd, namspr, namflo, namhsb, namsto) 
     
    1919 
    2020!!====================================================================== 
    21 !!                   ***  Run management namelists  ***               !! 
    22 !!====================================================================== 
     21!!              ***  Domain & Run management namelists  ***           !! 
     22!!                                                                    !! 
    2323!!   namrun       parameters of the run 
     24!!   namdom       space and time domain 
     25!!   namcfg       parameters of the configuration                       (default: user defined GYRE) 
     26!!   namwad       Wetting and drying                                    (default NO) 
     27!!   namtsd       data: temperature & salinity                          (default NO) 
     28!!   namcrs       coarsened grid (for outputs and/or TOP)               (ln_crs =T) 
     29!!   namc1d       1D configuration options                              ("key_c1d") 
     30!!   namc1d_dyndmp 1D newtonian damping applied on currents             ("key_c1d") 
     31!!   namc1d_uvd   1D data (currents)                                    ("key_c1d") 
    2432!!====================================================================== 
    2533! 
     
    2735&namrun        !   parameters of the run 
    2836!----------------------------------------------------------------------- 
    29    nn_no       =       0   !  job number (no more used...) 
     37   nn_no       =       0   !  Assimilation cycle index 
    3038   cn_exp      =  "ORCA2"  !  experience name 
    3139   nn_it000    =       1   !  first time step 
     
    3543   nn_leapy    =       0   !  Leap year calendar (1) or not (0) 
    3644   ln_rstart   = .false.   !  start from rest (F) or from a restart file (T) 
    37       nn_euler    =    1            !  = 0 : start with forward time step if ln_rstart=T 
    38       nn_rstctl   =    0            !  restart control ==> activated only if ln_rstart=T 
    39       !                             !    = 0 nn_date0 read in namelist ; nn_it000 : read in namelist 
    40       !                             !    = 1 nn_date0 read in namelist ; nn_it000 : check consistancy between namelist and restart 
    41       !                             !    = 2 nn_date0 read in restart  ; nn_it000 : check consistancy between namelist and restart 
     45      nn_euler    =    1      !  = 0 : start with forward time step if ln_rstart=T 
     46      nn_rstctl   =    0      !  restart control ==> activated only if ln_rstart=T 
     47      !                          !    = 0 nn_date0 read in namelist ; nn_it000 : read in namelist 
     48      !                          !    = 1 nn_date0 read in namelist ; nn_it000 : check consistancy between namelist and restart 
     49      !                          !    = 2 nn_date0 read in restart  ; nn_it000 : check consistancy between namelist and restart 
    4250      cn_ocerst_in    = "restart"   !  suffix of ocean restart name (input) 
    4351      cn_ocerst_indir = "."         !  directory from which to read input ocean restarts 
     
    5765   nn_wxios = 0      !  use XIOS to write restart file 0 - no, 1 - single file output, 2 - multiple file output 
    5866/ 
    59 ! 
    60 !!====================================================================== 
    61 !!                      ***  Domain namelists  *** 
    62 !!====================================================================== 
    63 !!   namcfg       parameters of the configuration 
    64 !!   namdom       space and time domain (bathymetry, mesh, timestep) 
    65 !!   namwad       Wetting and drying                                    (default F) 
    66 !!   namtsd       data: temperature & salinity 
    67 !!   namcrs       coarsened grid (for outputs and/or TOP)               (ln_crs =T) 
    68 !!   namc1d       1D configuration options                              ("key_c1d") 
    69 !!   namc1d_dyndmp 1D newtonian damping applied on currents             ("key_c1d") 
    70 !!   namc1d_uvd   1D data (currents)                                    ("key_c1d") 
    71 !!====================================================================== 
    72 ! 
    73 !----------------------------------------------------------------------- 
    74 &namcfg        !   parameters of the configuration                      (default: user defined GYRE) 
     67!----------------------------------------------------------------------- 
     68&namdom        !   time and space domain                                 
     69!----------------------------------------------------------------------- 
     70   ln_linssh   = .false.   !  =T  linear free surface  ==>>  model level are fixed in time 
     71   rn_isfhmin  =    1.00   !  treshold [m] to discriminate grounding ice from floating ice 
     72   ! 
     73   rn_rdt      = 5760.     !  time step for the dynamics and tracer 
     74   rn_atfp     =    0.1    !  asselin time filter parameter 
     75   ! 
     76   ln_crs      = .false.   !  Logical switch for coarsening module      (T => fill namcrs) 
     77   ! 
     78   ln_meshmask = .false.   !  =T create a mesh file 
     79/ 
     80!----------------------------------------------------------------------- 
     81&namcfg        !   parameters of the configuration                      (default: use namusr_def in namelist_cfg) 
    7582!----------------------------------------------------------------------- 
    7683   ln_read_cfg = .false.   !  (=T) read the domain configuration file 
    77       !                    !  (=F) user defined configuration  ==>>>  see usrdef(_...) modules 
     84      !                    !  (=F) user defined configuration           (F => create/check namusr_def) 
    7885      cn_domcfg = "domain_cfg"  ! domain configuration filename 
    7986      ! 
     
    9198/ 
    9299!----------------------------------------------------------------------- 
    93 &namdom        !   time and space domain 
    94 !----------------------------------------------------------------------- 
    95    ln_linssh   = .false.   !  =T  linear free surface  ==>>  model level are fixed in time 
    96    rn_isfhmin  =    1.00   !  treshold [m] to discriminate grounding ice from floating ice 
    97    ! 
    98    rn_rdt      = 5760.     !  time step for the dynamics and tracer 
    99    rn_atfp     =    0.1    !  asselin time filter parameter 
    100    ! 
    101    ln_crs      = .false.   !  Logical switch for coarsening module      (T => fill namcrs) 
    102    ! 
    103    ln_meshmask = .false.   !  =T create a mesh file 
    104 / 
    105 !----------------------------------------------------------------------- 
    106 &namtsd        !   data : Temperature  & Salinity 
    107 !----------------------------------------------------------------------- 
    108 !              !  file name                 ! frequency (hours) ! variable ! time interp.!  clim  ! 'yearly'/ ! weights  ! rotation ! land/sea mask ! 
    109 !              !                            !  (if <0  months)  !   name   !  (logical)  !  (T/F) ! 'monthly' ! filename ! pairing  ! filename      ! 
    110    sn_tem = 'data_1m_potential_temperature_nomask',     -1      ,'votemper',   .true.    , .true. , 'yearly'  ,    ''    ,    ''    ,    '' 
    111    sn_sal = 'data_1m_salinity_nomask'             ,     -1      ,'vosaline',   .true.    , .true. , 'yearly'  ,    ''    ,    ''    ,    '' 
    112    ! 
    113    cn_dir      = './'      !  root directory for the location of the runoff files 
    114    ln_tsd_init = .true.    !  Initialisation of ocean T & S with T & S input data (T) or not (F) 
    115    ln_tsd_tradmp = .true.  !  damping of ocean T & S toward T & S input data (T) or not (F) 
    116 / 
    117 !----------------------------------------------------------------------- 
    118 &namwad        !   Wetting and drying  default is no WAD 
    119 !----------------------------------------------------------------------- 
    120    ln_wd_il          = .false   ! T/F activation of iterative limiter for  wetting and drying scheme 
    121    ln_wd_dl          = .false.   ! T/F activation of directional llimiter for wetting drying scheme 
    122    ln_wd_dl_bc       = .false.   ! T/F Directional limiteer Baroclinic option 
    123    ln_wd_dl_rmp      = .false.   ! T/F Turn on directional limiter ramp 
    124    rn_wdmin0         =  0.30    ! dpoth at which wetting/drying starts 
    125    rn_wdmin1         =  0.2     ! Minimum wet depth on dried cells 
    126    rn_wdmin2         =  0.0001  ! Tolerance of min wet depth on dried cells 
    127    rn_wdld           =  2.5     ! Land elevation below which wetting/drying is allowed 
    128    nn_wdit           =   20     ! Max iterations for W/D limiter 
     100&namtsd        !    Temperature & Salinity Data  (init/dmp)             (default: NO) 
     101!----------------------------------------------------------------------- 
     102   !                       ! =T  read T-S fields for: 
     103   ln_tsd_init = .false.         !  ocean initialisation 
     104   ln_tsd_dmp  = .false.         !  T-S restoring   (see namtra_dmp) 
     105    
     106   cn_dir      = './'      !  root directory for the T-S data location 
     107   !___________!_________________________!___________________!___________!_____________!________!___________!__________________!__________!_______________! 
     108   !           !  file name              ! frequency (hours) ! variable  ! time interp.!  clim  ! 'yearly'/ ! weights filename ! rotation ! land/sea mask ! 
     109   !           !                         !  (if <0  months)  !   name    !   (logical) !  (T/F) ! 'monthly' !                  ! pairing  !    filename   ! 
     110   sn_tem = 'data_1m_potential_temperature_nomask',  -1      , 'votemper',   .true.    , .true. , 'yearly'  ,    ''            ,    ''    ,    '' 
     111   sn_sal = 'data_1m_salinity_nomask'             ,  -1      , 'vosaline',   .true.    , .true. , 'yearly'  ,    ''            ,    ''    ,    '' 
     112/ 
     113!----------------------------------------------------------------------- 
     114&namwad        !   Wetting and Drying (WaD)                             (default: NO) 
     115!----------------------------------------------------------------------- 
     116   ln_wd_il    = .false    !  T/F activation of iterative   limiter 
     117   ln_wd_dl    = .false.   !  T/F activation of directional limiter 
     118   ln_wd_dl_bc = .false.   !  T/F Directional limiteer Baroclinic option 
     119   ln_wd_dl_rmp= .false.   !  T/F Turn on directional limiter ramp 
     120   rn_wdmin0   =  0.30     !  depth at which WaD starts 
     121   rn_wdmin1   =  0.2      !  Minimum wet depth on dried cells 
     122   rn_wdmin2   =  0.0001   !  Tolerance of min wet depth on dried cells 
     123   rn_wdld     =  2.5      !  Land elevation below which WaD is allowed 
     124   nn_wdit     =   20      !  Max iterations for WaD limiter 
    129125/ 
    130126!----------------------------------------------------------------------- 
     
    134130   nn_facty    = 3         !  Reduction factor of y-direction 
    135131   nn_binref   = 0         !  Bin centering preference: NORTH or EQUAT 
    136                            !  0, coarse grid is binned with preferential treatment of the north fold 
    137                            !  1, coarse grid is binned with centering at the equator 
    138                            !    Symmetry with nn_facty being odd-numbered. Asymmetry with even-numbered nn_facty. 
     132      !                    !  0, coarse grid is binned with preferential treatment of the north fold 
     133      !                    !  1, coarse grid is binned with centering at the equator 
     134      !                    !    Symmetry with nn_facty being odd-numbered. Asymmetry with even-numbered nn_facty. 
    139135   ln_msh_crs  = .false.   ! =T create a mesh & mask file 
    140136   nn_crs_kz   = 0         ! 0, MEAN of volume boxes 
    141                            ! 1, MAX of boxes 
    142                            ! 2, MIN of boxes 
     137      !                    ! 1, MAX of boxes 
     138      !                    ! 2, MIN of boxes 
    143139   ln_crs_wn   = .true.    ! wn coarsened (T) or computed using horizontal divergence ( F ) 
    144140/ 
    145141!----------------------------------------------------------------------- 
    146 &namc1d        !   1D configuration options                             ("key_c1d") 
     142&namc1d        !   1D configuration options                             ("key_c1d" default: PAPA station) 
    147143!----------------------------------------------------------------------- 
    148144   rn_lat1d    =      50   !  Column latitude (default at PAPA station) 
     
    151147/ 
    152148!----------------------------------------------------------------------- 
    153 &namc1d_dyndmp !   U & V newtonian damping                              ("key_c1d") 
     149&namc1d_dyndmp !   U & V newtonian damping                              ("key_c1d" default: NO) 
    154150!----------------------------------------------------------------------- 
    155151   ln_dyndmp   =  .false.  !  add a damping term (T) or not (F) 
    156152/ 
    157153!----------------------------------------------------------------------- 
    158 &namc1d_uvd    !   data: U & V currents                                 ("key_c1d") 
    159 !----------------------------------------------------------------------- 
    160 !              !  file name  ! frequency (hours) ! variable  ! time interp. !  clim  ! 'yearly'/ ! weights  ! rotation ! land/sea mask ! 
    161 !              !             !  (if <0  months)  !   name    !   (logical)  !  (T/F) ! 'monthly' ! filename ! pairing  ! filename      ! 
    162    sn_ucur     = 'ucurrent'  ,         -1        ,'u_current',   .false.    , .true. , 'monthly' ,  ''      ,  'Ume'   , '' 
    163    sn_vcur     = 'vcurrent'  ,         -1        ,'v_current',   .false.    , .true. , 'monthly' ,  ''      ,  'Vme'   , '' 
    164 ! 
    165    cn_dir        = './'    !  root directory for the location of the files 
    166    ln_uvd_init   = .false. !  Initialisation of ocean U & V with U & V input data (T) or not (F) 
    167    ln_uvd_dyndmp = .false. !  damping of ocean U & V toward U & V input data (T) or not (F) 
    168 / 
    169  
    170 !!====================================================================== 
    171 !!            ***  Surface Boundary Condition namelists  *** 
    172 !!====================================================================== 
    173 !!   namsbc          surface boundary condition 
     154&namc1d_uvd    !   data: U & V currents                                 ("key_c1d" default: NO) 
     155!-----------------------------------------------------------------------    
     156   !                       !  =T read U-V fields for: 
     157   ln_uvd_init   = .false.       !  ocean initialisation 
     158   ln_uvd_dyndmp = .false.       !  U-V restoring 
     159 
     160   cn_dir      = './'      !  root directory for the U-V data location 
     161   !___________!_________________________!___________________!___________!_____________!________!___________!__________________!__________!_______________! 
     162   !           !  file name              ! frequency (hours) ! variable  ! time interp.!  clim  ! 'yearly'/ ! weights filename ! rotation ! land/sea mask ! 
     163   !           !                         !  (if <0  months)  !   name    !   (logical) !  (T/F) ! 'monthly' !                  ! pairing  !    filename   ! 
     164   sn_ucur     = 'ucurrent'              ,         -1        ,'u_current',   .false.   , .true. , 'monthly' ,  ''              ,  'Ume'   , '' 
     165   sn_vcur     = 'vcurrent'              ,         -1        ,'v_current',   .false.   , .true. , 'monthly' ,  ''              ,  'Vme'   , '' 
     166/ 
     167 
     168!!====================================================================== 
     169!!            ***  Surface Boundary Condition namelists  ***          !! 
     170!!                                                                    !! 
     171!!   namsbc          surface boundary condition manager                 (default: NO selection) 
    174172!!   namsbc_flx      flux               formulation                     (ln_flx     =T) 
    175173!!   namsbc_blk      Bulk formulae formulation                          (ln_blk     =T) 
    176174!!   namsbc_cpl      CouPLed            formulation                     ("key_oasis3" ) 
    177 !!   namsbc_sas      Stand-Alone Surface module 
     175!!   namsbc_sas      Stand-Alone Surface module                         (SAS_SRC  only) 
     176!!   namsbc_iif      Ice-IF: use observed ice cover                     (nn_ice = 1   ) 
    178177!!   namtra_qsr      penetrative solar radiation                        (ln_traqsr  =T) 
     178!!   namsbc_ssr      sea surface restoring term (for T and/or S)        (ln_ssr     =T) 
    179179!!   namsbc_rnf      river runoffs                                      (ln_rnf     =T) 
    180 !!   namsbc_isf      ice shelf melting/freezing                         (nn_isf     >0) 
    181 !!   namsbc_iscpl    coupling option between land ice model and ocean 
    182180!!   namsbc_apr      Atmospheric Pressure                               (ln_apr_dyn =T) 
    183 !!   namsbc_ssr      sea surface restoring term (for T and/or S)        (ln_ssr     =T) 
     181!!   namsbc_isf      ice shelf melting/freezing                         (ln_isfcav  =T : read (ln_read_cfg=T) or set or usr_def_zgr ) 
     182!!   namsbc_iscpl    coupling option between land ice model and ocean   (ln_isfcav  =T) 
    184183!!   namsbc_wave     external fields from wave model                    (ln_wave    =T) 
    185184!!   namberg         iceberg floats                                     (ln_icebergs=T) 
     
    187186! 
    188187!----------------------------------------------------------------------- 
    189 &namsbc        !   Surface Boundary Condition (surface module) 
    190 !----------------------------------------------------------------------- 
    191    nn_fsbc     = 5         !  frequency of surface boundary condition computation 
    192                            !     (also = the frequency of sea-ice & iceberg model call) 
     188&namsbc        !   Surface Boundary Condition manager                   (default: NO selection) 
     189!----------------------------------------------------------------------- 
     190   nn_fsbc     = 5         !  frequency of SBC module call 
     191      !                    !  (control sea-ice & iceberg model call) 
    193192                     ! Type of air-sea fluxes  
    194193   ln_usr      = .false.   !  user defined formulation                  (T => check usrdef_sbc) 
    195194   ln_flx      = .false.   !  flux formulation                          (T => fill namsbc_flx ) 
    196    ln_blk      = .false.    !  Bulk formulation                         (T => fill namsbc_blk ) 
    197                      ! Type of coupling (Ocean/Ice/Atmosphere) : 
     195   ln_blk      = .false.   !  Bulk formulation                          (T => fill namsbc_blk ) 
     196      !              ! Type of coupling (Ocean/Ice/Atmosphere) : 
    198197   ln_cpl      = .false.   !  atmosphere coupled   formulation          ( requires key_oasis3 ) 
    199198   ln_mixcpl   = .false.   !  forced-coupled mixed formulation          ( requires key_oasis3 ) 
    200199   nn_components = 0       !  configuration of the opa-sas OASIS coupling 
    201                            !  =0 no opa-sas OASIS coupling: default single executable config. 
    202                            !  =1 opa-sas OASIS coupling: multi executable config., OPA component 
    203                            !  =2 opa-sas OASIS coupling: multi executable config., SAS component  
     200      !                    !  =0 no opa-sas OASIS coupling: default single executable config. 
     201      !                    !  =1 opa-sas OASIS coupling: multi executable config., OPA component 
     202      !                    !  =2 opa-sas OASIS coupling: multi executable config., SAS component  
    204203                     ! Sea-ice : 
    205    nn_ice      = 2         !  =0 no ice boundary condition     
    206                            !  =1 use observed ice-cover                 (  => fill namsbc_iif ) 
    207                            !  =2 or 3 automatically for LIM3 or CICE    ("key_lim3" or "key_cice") 
    208                            !          except in AGRIF zoom where it has to be specified 
     204   nn_ice      = 0         !  =0 no ice boundary condition     
     205      !                    !  =1 use observed ice-cover                 (  => fill namsbc_iif ) 
     206      !                    !  =2 or 3 automatically for LIM3 or CICE    ("key_lim3" or "key_cice") 
     207      !                    !          except in AGRIF zoom where it has to be specified 
    209208   ln_ice_embd = .false.   !  =T embedded sea-ice (pressure + mass and salt exchanges) 
    210                            !  =F levitating ice (no pressure, mass and salt exchanges) 
     209      !                    !  =F levitating ice (no pressure, mass and salt exchanges) 
    211210                     ! Misc. options of sbc :  
    212    ln_traqsr   = .true.    !  Light penetration in the ocean            (T => fill namtra_qsr) 
     211   ln_traqsr   = .false.   !  Light penetration in the ocean            (T => fill namtra_qsr) 
    213212   ln_dm2dc    = .false.   !  daily mean to diurnal cycle on short wave 
    214    ln_rnf      = .true.    !  runoffs                                   (T => fill namsbc_rnf) 
    215    ln_ssr      = .true.    !  Sea Surface Restoring on T and/or S       (T => fill namsbc_ssr) 
    216    nn_fwb      = 2         !  FreshWater Budget: =0 unchecked 
    217                            !     =1 global mean of e-p-r set to zero at each time step 
    218                            !     =2 annual global mean of e-p-r set to zero 
     213   ln_ssr      = .false.   !  Sea Surface Restoring on T and/or S       (T => fill namsbc_ssr) 
     214   nn_fwb      = 0         !  FreshWater Budget: =0 unchecked 
     215      !                    !     =1 global mean of e-p-r set to zero at each time step 
     216      !                    !     =2 annual global mean of e-p-r set to zero 
     217   ln_rnf      = .false.   !  runoffs                                   (T => fill namsbc_rnf) 
    219218   ln_apr_dyn  = .false.   !  Patm gradient added in ocean & ice Eqs.   (T => fill namsbc_apr ) 
    220    ln_isf      = .false.   !  ice shelf                                 (T   => fill namsbc_isf) 
     219   ln_isf      = .false.   !  ice shelf                                 (T   => fill namsbc_isf & namsbc_iscpl) 
    221220   ln_wave     = .false.   !  Activate coupling with wave  (T => fill namsbc_wave) 
    222221   ln_cdgw     = .false.   !  Neutral drag coefficient read from wave model (T => ln_wave=.true. & fill namsbc_wave) 
    223222   ln_sdw      = .false.   !  Read 2D Surf Stokes Drift & Computation of 3D stokes drift (T => ln_wave=.true. & fill namsbc_wave)  
    224223   nn_sdrift   =  0        !  Parameterization for the calculation of 3D-Stokes drift from the surface Stokes drift 
    225                            !   = 0 Breivik 2015 parameterization: v_z=v_0*[exp(2*k*z)/(1-8*k*z)] 
    226                            !   = 1 Phillips:                      v_z=v_o*[exp(2*k*z)-beta*sqrt(-2*k*pi*z)*erfc(sqrt(-2*k*z))] 
    227                            !   = 2 Phillips as (1) but using the wave frequency from a wave model 
     224      !                    !   = 0 Breivik 2015 parameterization: v_z=v_0*[exp(2*k*z)/(1-8*k*z)] 
     225      !                    !   = 1 Phillips:                      v_z=v_o*[exp(2*k*z)-beta*sqrt(-2*k*pi*z)*erfc(sqrt(-2*k*z))] 
     226      !                    !   = 2 Phillips as (1) but using the wave frequency from a wave model 
    228227   ln_tauwoc   = .false.   !  Activate ocean stress modified by external wave induced stress (T => ln_wave=.true. & fill namsbc_wave) 
    229228   ln_tauw     = .false.   !  Activate ocean stress components from wave model 
     
    233232/ 
    234233!----------------------------------------------------------------------- 
    235 &namsbc_flx    !   surface boundary condition : flux formulation 
    236 !----------------------------------------------------------------------- 
    237 !              !  file name  ! frequency (hours) ! variable  ! time interp. !  clim  ! 'yearly'/ ! weights  ! rotation ! land/sea mask ! 
    238 !              !             !  (if <0  months)  !   name    !   (logical)  !  (T/F) ! 'monthly' ! filename ! pairing  ! filename      ! 
    239    sn_utau     = 'utau'      ,        24         , 'utau'    , .false.      , .false., 'yearly'  , ''       , ''       , '' 
    240    sn_vtau     = 'vtau'      ,        24         , 'vtau'    , .false.      , .false., 'yearly'  , ''       , ''       , '' 
    241    sn_qtot     = 'qtot'      ,        24         , 'qtot'    , .false.      , .false., 'yearly'  , ''       , ''       , '' 
    242    sn_qsr      = 'qsr'       ,        24         , 'qsr'     , .false.      , .false., 'yearly'  , ''       , ''       , '' 
    243    sn_emp      = 'emp'       ,        24         , 'emp'     , .false.      , .false., 'yearly'  , ''       , ''       , '' 
    244    ! 
    245    cn_dir      = './'      !  root directory for the location of the flux files 
    246 / 
    247 !----------------------------------------------------------------------- 
    248 &namsbc_blk   !   namsbc_blk  generic Bulk formula                      (ln_blk =T) 
    249 !----------------------------------------------------------------------- 
    250 !              !  file name                   ! frequency (hours) ! variable  ! time interp. !  clim  ! 'yearly'/ ! weights                              ! rotation ! land/sea mask ! 
    251 !              !                              !  (if <0  months)  !   name    !   (logical)  !  (T/F) ! 'monthly' ! filename                             ! pairing  ! filename      ! 
    252    sn_wndi     = 'u_10.15JUNE2009_fill'       ,         6         , 'U_10_MOD',   .false.    , .true. , 'yearly'  , 'weights_core_orca2_bicubic_noc.nc'   , 'Uwnd'   , '' 
    253    sn_wndj     = 'v_10.15JUNE2009_fill'       ,         6         , 'V_10_MOD',   .false.    , .true. , 'yearly'  , 'weights_core_orca2_bicubic_noc.nc'   , 'Vwnd'   , '' 
    254    sn_qsr      = 'ncar_rad.15JUNE2009_fill'   ,        24         , 'SWDN_MOD',   .false.    , .true. , 'yearly'  , 'weights_core_orca2_bilinear_noc.nc'  , ''       , '' 
    255    sn_qlw      = 'ncar_rad.15JUNE2009_fill'   ,        24         , 'LWDN_MOD',   .false.    , .true. , 'yearly'  , 'weights_core_orca2_bilinear_noc.nc'  , ''       , '' 
    256    sn_tair     = 't_10.15JUNE2009_fill'       ,         6         , 'T_10_MOD',   .false.    , .true. , 'yearly'  , 'weights_core_orca2_bilinear_noc.nc'  , ''       , '' 
    257    sn_humi     = 'q_10.15JUNE2009_fill'       ,         6         , 'Q_10_MOD',   .false.    , .true. , 'yearly'  , 'weights_core_orca2_bilinear_noc.nc'  , ''       , '' 
    258    sn_prec     = 'ncar_precip.15JUNE2009_fill',        -1         , 'PRC_MOD1',   .false.    , .true. , 'yearly'  , 'weights_core_orca2_bilinear_noc.nc'  , ''       , '' 
    259    sn_snow     = 'ncar_precip.15JUNE2009_fill',        -1         , 'SNOW'    ,   .false.    , .true. , 'yearly'  , 'weights_core_orca2_bilinear_noc.nc'  , ''       , '' 
    260    sn_slp      = 'slp.15JUNE2009_fill'        ,         6         , 'SLP'     ,   .false.    , .true. , 'yearly'  , 'weights_core_orca2_bilinear_noc.nc'  , ''       , '' 
    261    sn_tdif     = 'taudif_core'                ,        24         , 'taudif'  ,   .false.    , .true. , 'yearly'  , 'weights_core_orca2_bilinear_noc.nc'  , ''       , '' 
     234&namsbc_flx    !   surface boundary condition : flux formulation        (ln_flx =T) 
     235!----------------------------------------------------------------------- 
     236   cn_dir      = './'      !  root directory for the fluxes data location 
     237   !___________!_________________________!___________________!___________!_____________!________!___________!__________________!__________!_______________! 
     238   !           !  file name              ! frequency (hours) ! variable  ! time interp.!  clim  ! 'yearly'/ ! weights filename ! rotation ! land/sea mask ! 
     239   !           !                         !  (if <0  months)  !   name    !   (logical) !  (T/F) ! 'monthly' !                  ! pairing  !    filename   ! 
     240   sn_utau     = 'utau'                  ,        24         , 'utau'    , .false.     , .false., 'yearly'  , ''               , ''       , '' 
     241   sn_vtau     = 'vtau'                  ,        24         , 'vtau'    , .false.     , .false., 'yearly'  , ''               , ''       , '' 
     242   sn_qtot     = 'qtot'                  ,        24         , 'qtot'    , .false.     , .false., 'yearly'  , ''               , ''       , '' 
     243   sn_qsr      = 'qsr'                   ,        24         , 'qsr'     , .false.     , .false., 'yearly'  , ''               , ''       , '' 
     244   sn_emp      = 'emp'                   ,        24         , 'emp'     , .false.     , .false., 'yearly'  , ''               , ''       , '' 
     245/ 
     246!----------------------------------------------------------------------- 
     247&namsbc_blk    !   namsbc_blk  generic Bulk formula                     (ln_blk =T) 
     248!----------------------------------------------------------------------- 
    262249   !                    !  bulk algorithm : 
    263250   ln_NCAR     = .false.   ! "NCAR"      algorithm   (Large and Yeager 2008) 
     
    265252   ln_COARE_3p5= .false.   ! "COARE 3.5" algorithm   (Edson et al. 2013) 
    266253   ln_ECMWF    = .false.   ! "ECMWF"     algorithm   (IFS cycle 31) 
    267    ! 
    268    cn_dir      = './'      !  root directory for the location of the bulk files 
    269    ln_taudif   = .false.   !  HF tau contribution: use "mean of stress module - module of the mean stress" data 
    270    rn_zqt      = 10.       !  Air temperature and humidity reference height (m) 
    271    rn_zu       = 10.       !  Wind vector reference height (m) 
    272    rn_pfac     = 1.        !  multiplicative factor for precipitation (total & snow) 
    273    rn_efac     = 1.        !  multiplicative factor for evaporation (0. or 1.) 
    274    rn_vfac     = 0.        !  multiplicative factor for ocean & ice velocity used to 
    275    !                       !  calculate the wind stress (0.=absolute or 1.=relative winds) 
    276    ln_Cd_L12   = .false.   !  air-ice drags = F(ice concentration) (Lupkes et al. 2012) 
    277    ln_Cd_L15   = .false.   !  air-ice drags = F(ice concentration) (Lupkes et al. 2015) 
     254      ! 
     255      rn_zqt      = 10.       !  Air temperature & humidity reference height (m) 
     256      rn_zu       = 10.       !  Wind vector reference height (m) 
     257      ln_Cd_L12   = .false.   !  air-ice drags = F(ice concentration) (Lupkes et al. 2012) 
     258      ln_Cd_L15   = .false.   !  air-ice drags = F(ice concentration) (Lupkes et al. 2015) 
     259      ln_taudif   = .false.   !  HF tau contribution: use "mean of stress module - module of the mean stress" data 
     260      rn_pfac     = 1.        !  multiplicative factor for precipitation (total & snow) 
     261      rn_efac     = 1.        !  multiplicative factor for evaporation (0. or 1.) 
     262      rn_vfac     = 0.        !  multiplicative factor for ocean & ice velocity used to 
     263      !                       !  calculate the wind stress (0.=absolute or 1.=relative winds) 
     264 
     265   cn_dir      = './'      !  root directory for the bulk data location 
     266   !___________!_________________________!___________________!___________!_____________!________!___________!______________________________________!__________!_______________! 
     267   !           !  file name              ! frequency (hours) ! variable  ! time interp.!  clim  ! 'yearly'/ !       weights filename               ! rotation ! land/sea mask ! 
     268   !           !                         !  (if <0  months)  !   name    !   (logical) !  (T/F) ! 'monthly' !                                      ! pairing  !    filename   ! 
     269   sn_wndi     = 'u_10.15JUNE2009_fill'       ,    6         , 'U_10_MOD',   .false.   , .true. , 'yearly'  , 'weights_core_orca2_bicubic_noc.nc'  , 'Uwnd'   , '' 
     270   sn_wndj     = 'v_10.15JUNE2009_fill'       ,    6         , 'V_10_MOD',   .false.   , .true. , 'yearly'  , 'weights_core_orca2_bicubic_noc.nc'  , 'Vwnd'   , '' 
     271   sn_qsr      = 'ncar_rad.15JUNE2009_fill'   ,   24         , 'SWDN_MOD',   .false.   , .true. , 'yearly'  , 'weights_core_orca2_bilinear_noc.nc' , ''       , '' 
     272   sn_qlw      = 'ncar_rad.15JUNE2009_fill'   ,   24         , 'LWDN_MOD',   .false.   , .true. , 'yearly'  , 'weights_core_orca2_bilinear_noc.nc' , ''       , '' 
     273   sn_tair     = 't_10.15JUNE2009_fill'       ,    6         , 'T_10_MOD',   .false.   , .true. , 'yearly'  , 'weights_core_orca2_bilinear_noc.nc' , ''       , '' 
     274   sn_humi     = 'q_10.15JUNE2009_fill'       ,    6         , 'Q_10_MOD',   .false.   , .true. , 'yearly'  , 'weights_core_orca2_bilinear_noc.nc' , ''       , '' 
     275   sn_prec     = 'ncar_precip.15JUNE2009_fill',   -1         , 'PRC_MOD1',   .false.   , .true. , 'yearly'  , 'weights_core_orca2_bilinear_noc.nc' , ''       , '' 
     276   sn_snow     = 'ncar_precip.15JUNE2009_fill',   -1         , 'SNOW'    ,   .false.   , .true. , 'yearly'  , 'weights_core_orca2_bilinear_noc.nc' , ''       , '' 
     277   sn_slp      = 'slp.15JUNE2009_fill'        ,    6         , 'SLP'     ,   .false.   , .true. , 'yearly'  , 'weights_core_orca2_bilinear_noc.nc' , ''       , '' 
     278   sn_tdif     = 'taudif_core'                ,   24         , 'taudif'  ,   .false.   , .true. , 'yearly'  , 'weights_core_orca2_bilinear_noc.nc' , ''       , '' 
    278279/ 
    279280!----------------------------------------------------------------------- 
    280281&namsbc_cpl    !   coupled ocean/atmosphere model                       ("key_oasis3") 
    281282!----------------------------------------------------------------------- 
    282 !                    !     description      !  multiple  !    vector   !      vector          ! vector ! 
    283 !                    !                      ! categories !  reference  !    orientation       ! grids  ! 
    284 ! send 
     283   nn_cplmodel   =     1   !  Maximum number of models to/from which NEMO is potentially sending/receiving data 
     284   ln_usecplmask = .false. !  use a coupling mask file to merge data received from several models 
     285   !                       !   -> file cplmask.nc with the float variable called cplmask (jpi,jpj,nn_cplmodel) 
     286   nn_cats_cpl   =     5   !  Number of sea ice categories over which coupling is to be carried out (if not 1) 
     287 
     288   !_____________!__________________________!____________!_____________!______________________!________! 
     289   !             !        description       !  multiple  !    vector   !       vector         ! vector ! 
     290   !             !                          ! categories !  reference  !     orientation      ! grids  ! 
     291!***   send    *** 
    285292   sn_snd_temp   =   'weighted oce and ice' ,    'no'    ,     ''      ,         ''           ,   '' 
    286293   sn_snd_alb    =   'weighted ice'         ,    'no'    ,     ''      ,         ''           ,   '' 
     
    296303   sn_snd_sstfrz =   'coupled'              ,    'no'    ,     ''      ,         ''           ,   '' 
    297304   sn_snd_ttilyr =   'weighted ice'         ,    'no'    ,     ''      ,         ''           ,   '' 
    298 ! receive 
     305!***  receive  *** 
    299306   sn_rcv_w10m   =   'none'                 ,    'no'    ,     ''      ,         ''           ,   '' 
    300307   sn_rcv_taumod =   'coupled'              ,    'no'    ,     ''      ,         ''           ,   '' 
     
    323330   sn_rcv_tauw   =   'none'                 ,    'no'    ,     ''      ,         ''          ,   '' 
    324331   sn_rcv_wdrag  =   'none'                 ,    'no'    ,     ''      ,         ''          ,   '' 
    325 ! 
    326    nn_cplmodel   =     1   !  Maximum number of models to/from which NEMO is potentialy sending/receiving data 
    327    ln_usecplmask = .false. !  use a coupling mask file to merge data received from several models 
    328    !                       !   -> file cplmask.nc with the float variable called cplmask (jpi,jpj,nn_cplmodel) 
    329    nn_cats_cpl   =     5   !  Number of sea ice categories over which coupling is to be carried out (if not 1) 
    330 / 
    331 !----------------------------------------------------------------------- 
    332 &namsbc_sas    !   Stand-Alone Surface boundary condition 
    333 !----------------------------------------------------------------------- 
    334 !              !  file name  ! frequency (hours) ! variable  ! time interp.!  clim  ! 'yearly'/ ! weights  ! rotation ! land/sea mask ! 
    335 !              !             !  (if <0  months)  !   name    !  (logical)  !  (T/F) ! 'monthly' ! filename ! pairing  ! filename      ! 
    336    sn_usp      = 'sas_grid_U',     120           , 'uos'     ,   .true.    , .true. , 'yearly'  ,    ''    ,    ''    ,    '' 
    337    sn_vsp      = 'sas_grid_V',     120           , 'vos'     ,   .true.    , .true. , 'yearly'  ,    ''    ,    ''    ,    '' 
    338    sn_tem      = 'sas_grid_T',     120           , 'sosstsst',   .true.    , .true. , 'yearly'  ,    ''    ,    ''    ,    '' 
    339    sn_sal      = 'sas_grid_T',     120           , 'sosaline',   .true.    , .true. , 'yearly'  ,    ''    ,    ''    ,    '' 
    340    sn_ssh      = 'sas_grid_T',     120           , 'sossheig',   .true.    , .true. , 'yearly'  ,    ''    ,    ''    ,    '' 
    341    sn_e3t      = 'sas_grid_T',     120           , 'e3t_m'   ,   .true.    , .true. , 'yearly'  ,    ''    ,    ''    ,    '' 
    342    sn_frq      = 'sas_grid_T',     120           , 'frq_m'   ,   .true.    , .true. , 'yearly'  ,    ''    ,    ''    ,    '' 
    343  
    344    l_sasread   = .true.    !  =T Read the above fields in a file, =F initialize to 0. in sbcssm.F90 
    345    ln_3d_uve   = .false.   !  specify whether we are supplying a 3D u,v and e3 field 
    346    ln_read_frq = .false.   !  specify whether we must read frq or not 
    347    cn_dir      = './'      !  root directory for the location of the bulk files are 
     332/ 
     333!----------------------------------------------------------------------- 
     334&namsbc_sas    !   Stand-Alone Surface module: ocean data               (SAS_SRC  only) 
     335!----------------------------------------------------------------------- 
     336   l_sasread   = .true.    !  =T Read in file ;  =F set all to 0. (see sbcssm) 
     337      ln_3d_uve   = .false.   !  specify whether we are supplying a 3D u,v and e3 field 
     338      ln_read_frq = .false.   !  specify whether we must read frq or not 
     339 
     340   cn_dir      = './'      !  root directory for the ocean data location 
     341   !___________!_________________________!___________________!___________!_____________!________!___________!__________________!__________!_______________! 
     342   !           !  file name              ! frequency (hours) ! variable  ! time interp.!  clim  ! 'yearly'/ ! weights filename ! rotation ! land/sea mask ! 
     343   !           !                         !  (if <0  months)  !   name    !   (logical) !  (T/F) ! 'monthly' !                  ! pairing  !    filename   ! 
     344   sn_usp      = 'sas_grid_U'            ,       120         , 'uos'     ,   .true.    , .true. , 'yearly'  ,    ''            ,    ''    ,    '' 
     345   sn_vsp      = 'sas_grid_V'            ,       120         , 'vos'     ,   .true.    , .true. , 'yearly'  ,    ''            ,    ''    ,    '' 
     346   sn_tem      = 'sas_grid_T'            ,       120         , 'sosstsst',   .true.    , .true. , 'yearly'  ,    ''            ,    ''    ,    '' 
     347   sn_sal      = 'sas_grid_T'            ,       120         , 'sosaline',   .true.    , .true. , 'yearly'  ,    ''            ,    ''    ,    '' 
     348   sn_ssh      = 'sas_grid_T'            ,       120         , 'sossheig',   .true.    , .true. , 'yearly'  ,    ''            ,    ''    ,    '' 
     349   sn_e3t      = 'sas_grid_T'            ,       120         , 'e3t_m'   ,   .true.    , .true. , 'yearly'  ,    ''            ,    ''    ,    '' 
     350   sn_frq      = 'sas_grid_T'            ,       120         , 'frq_m'   ,   .true.    , .true. , 'yearly'  ,    ''            ,    ''    ,    '' 
    348351/ 
    349352!----------------------------------------------------------------------- 
    350353&namsbc_iif    !   Ice-IF : use observed ice cover                      (nn_ice = 1) 
    351354!----------------------------------------------------------------------- 
    352 !              !  file name      ! frequency (hours) ! variable  ! time interp.!  clim   ! 'yearly'/ ! weights  ! rotation ! land/sea mask ! 
    353 !              !                 !  (if <0  months)  !   name    !  (logical)  !  (T/F ) ! 'monthly' ! filename ! pairing  ! filename      ! 
    354    sn_ice      ='ice_cover_clim.nc',     -12.        ,'ice_cover',  .true.     , .true.  , 'yearly'  ,   ''     ,   ''     ,   '' 
    355    ! 
    356    cn_dir      = './'      !  root directory for the location of the runoff files  
     355   cn_dir      = './'      !  root directory for the ice cover data location 
     356   !___________!_________________________!___________________!___________!_____________!________!___________!__________________!__________!_______________! 
     357   !           !  file name              ! frequency (hours) ! variable  ! time interp.!  clim  ! 'yearly'/ ! weights filename ! rotation ! land/sea mask ! 
     358   !           !                         !  (if <0  months)  !   name    !   (logical) !  (T/F) ! 'monthly' !                  ! pairing  !    filename   ! 
     359   sn_ice      ='ice_cover_clim.nc'      ,        -12.       ,'ice_cover',   .true.    , .true.  , 'yearly'  ,   ''            ,   ''     ,   '' 
    357360/ 
    358361!----------------------------------------------------------------------- 
    359362&namtra_qsr    !   penetrative solar radiation                          (ln_traqsr =T) 
    360363!----------------------------------------------------------------------- 
    361 !              !  file name  ! frequency (hours) ! variable  ! time interp. !  clim  ! 'yearly'/ ! weights  ! rotation ! land/sea mask ! 
    362 !              !             !  (if <0  months)  !   name    !   (logical)  !  (T/F) ! 'monthly' ! filename ! pairing  ! filename      ! 
    363    sn_chl      ='chlorophyll',        -1         , 'CHLA'    ,   .true.     , .true. , 'yearly'  , ''       , ''       , '' 
    364  
    365    cn_dir      = './'      !  root directory for the location of the runoff files 
    366    ln_qsr_rgb  = .true.    !  RGB (Red-Green-Blue) light penetration 
    367    ln_qsr_2bd  = .false.   !  2 bands              light penetration 
    368    ln_qsr_bio  = .false.   !  bio-model light penetration 
    369    nn_chldta   =      1    !  RGB : Chl data (=1) or cst value (=0) 
    370    rn_abs      =   0.58    !  RGB & 2 bands: fraction of light (rn_si1) 
    371    rn_si0      =   0.35    !  RGB & 2 bands: shortess depth of extinction 
    372    rn_si1      =   23.0    !  2 bands: longest depth of extinction 
    373 / 
    374 !----------------------------------------------------------------------- 
    375 &namsbc_rnf    !   runoffs namelist surface boundary condition          (ln_rnf =T) 
    376 !----------------------------------------------------------------------- 
    377 !              !  file name           ! frequency (hours) ! variable  ! time interp. !  clim  ! 'yearly'/ ! weights  ! rotation ! land/sea mask ! 
    378 !              !                      !  (if <0  months)  !   name    !   (logical)  !  (T/F) ! 'monthly' ! filename ! pairing  ! filename      ! 
    379    sn_rnf      = 'runoff_core_monthly',        -1         , 'sorunoff',   .true.     , .true. , 'yearly'  , ''       , ''       , '' 
    380    sn_cnf      = 'runoff_core_monthly',         0         , 'socoefr0',   .false.    , .true. , 'yearly'  , ''       , ''       , '' 
    381    sn_s_rnf    = 'runoffs'            ,        24         , 'rosaline',   .true.     , .true. , 'yearly'  , ''       , ''       , '' 
    382    sn_t_rnf    = 'runoffs'            ,        24         , 'rotemper',   .true.     , .true. , 'yearly'  , ''       , ''       , '' 
    383    sn_dep_rnf  = 'runoffs'            ,         0         , 'rodepth' ,   .false.    , .true. , 'yearly'  , ''       , ''       , '' 
    384  
    385    cn_dir      = './'      !  root directory for the location of the runoff files 
    386    ln_rnf_mouth= .true.    !  specific treatment at rivers mouths 
     364   !                       !  type of penetration                        (default: NO selection) 
     365   ln_qsr_rgb  = .false.      !  RGB light penetration (Red-Green-Blue) 
     366   ln_qsr_2bd  = .false.      !  2BD light penetration (two bands) 
     367   ln_qsr_bio  = .false.      !  bio-model light penetration 
     368   !                       !  RGB & 2BD choices: 
     369   rn_abs      =   0.58       !  RGB & 2BD: fraction absorbed in the very near surface 
     370   rn_si0      =   0.35       !  RGB & 2BD: shortess depth of extinction 
     371   nn_chldta   =      0       !  RGB : Chl data (=1) or cst value (=0) 
     372   rn_si1      =   23.0       !  2BD : longest depth of extinction 
     373    
     374   cn_dir      = './'      !  root directory for the chlorophyl data location 
     375   !___________!_________________________!___________________!___________!_____________!________!___________!__________________!__________!_______________! 
     376   !           !  file name              ! frequency (hours) ! variable  ! time interp.!  clim  ! 'yearly'/ ! weights filename ! rotation ! land/sea mask ! 
     377   !           !                         !  (if <0  months)  !   name    !   (logical) !  (T/F) ! 'monthly' !                  ! pairing  !    filename   ! 
     378   sn_chl      ='chlorophyll'            ,        -1         , 'CHLA'    ,   .true.    , .true. , 'yearly'  , ''               , ''       , '' 
     379/ 
     380!----------------------------------------------------------------------- 
     381&namsbc_ssr    !   surface boundary condition : sea surface restoring   (ln_ssr =T) 
     382!----------------------------------------------------------------------- 
     383   nn_sstr     =     0     !  add a retroaction term to the surface heat flux (=1) or not (=0) 
     384      rn_dqdt     = -40.      !  magnitude of the retroaction on temperature   [W/m2/K] 
     385   nn_sssr     =     0     !  add a damping term to the surface freshwater flux (=2) 
     386      !                    !  or to SSS only (=1) or no damping term (=0) 
     387      rn_deds     =  -166.67  !  magnitude of the damping on salinity   [mm/day] 
     388      ln_sssr_bnd =  .true.   !  flag to bound erp term (associated with nn_sssr=2) 
     389      rn_sssr_bnd =   4.e0    !  ABS(Max/Min) value of the damping erp term [mm/day] 
     390 
     391   cn_dir      = './'      !  root directory for the SST/SSS data location 
     392   !___________!_________________________!___________________!___________!_____________!________!___________!__________________!__________!_______________! 
     393   !           !  file name              ! frequency (hours) ! variable  ! time interp.!  clim  ! 'yearly'/ ! weights filename ! rotation ! land/sea mask ! 
     394   !           !                         !  (if <0  months)  !   name    !   (logical) !  (T/F) ! 'monthly' !                  ! pairing  !    filename   ! 
     395   sn_sst      = 'sst_data'              ,        24         ,  'sst'    ,    .false.  , .false., 'yearly'  ,    ''            ,    ''    ,     '' 
     396   sn_sss      = 'sss_data'              ,        -1         ,  'sss'    ,    .true.   , .true. , 'yearly'  ,    ''            ,    ''    ,     '' 
     397/ 
     398!----------------------------------------------------------------------- 
     399&namsbc_rnf    !   runoffs                                              (ln_rnf =T) 
     400!----------------------------------------------------------------------- 
     401   ln_rnf_mouth= .false.   !  specific treatment at rivers mouths 
    387402      rn_hrnf     =  15.e0    !  depth over which enhanced vertical mixing is used    (ln_rnf_mouth=T) 
    388403      rn_avt_rnf  =   1.e-3   !  value of the additional vertical mixing coef. [m2/s] (ln_rnf_mouth=T) 
     
    395410      rn_dep_max  = 150.      !  depth over which runoffs is spread ( ln_rnf_depth_ini = .true ) 
    396411      nn_rnf_depth_file = 0   !  create (=1) a runoff depth file or not (=0) 
    397 / 
    398 !----------------------------------------------------------------------- 
    399 &namsbc_isf    !  Top boundary layer (ISF)                              (nn_isf >0) 
    400 !----------------------------------------------------------------------- 
    401 !              ! file name ! frequency (hours) ! variable ! time interp.!  clim  ! 'yearly'/ ! weights  ! rotation ! land/sea mask ! 
    402 !              !           !  (if <0  months)  !   name   !  (logical)  !  (T/F) ! 'monthly' ! filename ! pairing  ! filename      ! 
    403 ! nn_isf == 4 
    404    sn_fwfisf   = 'rnfisf'  ,         -12       ,'sowflisf',   .false.   , .true. , 'yearly'  ,    ''    ,   ''     ,    '' 
    405 ! nn_isf == 3 
    406    sn_rnfisf   = 'rnfisf'  ,         -12       ,'sofwfisf',   .false.   , .true. , 'yearly'  ,    ''    ,   ''     ,    '' 
    407 ! nn_isf == 2 and 3 
    408    sn_depmax_isf='rnfisf'  ,         -12       ,'sozisfmax',  .false.   , .true. , 'yearly'  ,    ''    ,   ''     ,    '' 
    409    sn_depmin_isf='rnfisf'  ,         -12       ,'sozisfmin',  .false.   , .true. , 'yearly'  ,    ''    ,   ''     ,    '' 
    410 ! nn_isf == 2 
    411    sn_Leff_isf = 'rnfisf'  ,         -12       ,'Leff'    ,   .false.   , .true. , 'yearly'  ,    ''    ,   ''     ,    '' 
    412 ! 
    413 ! for all case 
     412 
     413   cn_dir      = './'      !  root directory for the runoff data location 
     414   !___________!_________________________!___________________!___________!_____________!________!___________!__________________!__________!_______________! 
     415   !           !  file name              ! frequency (hours) ! variable  ! time interp.!  clim  ! 'yearly'/ ! weights filename ! rotation ! land/sea mask ! 
     416   !           !                         !  (if <0  months)  !   name    !   (logical) !  (T/F) ! 'monthly' !                  ! pairing  !    filename   ! 
     417   sn_rnf      = 'runoff_core_monthly'   ,        -1         , 'sorunoff',   .true.    , .true. , 'yearly'  , ''               , ''       , '' 
     418   sn_cnf      = 'runoff_core_monthly'   ,         0         , 'socoefr0',   .false.   , .true. , 'yearly'  , ''               , ''       , '' 
     419   sn_s_rnf    = 'runoffs'               ,        24         , 'rosaline',   .true.    , .true. , 'yearly'  , ''               , ''       , '' 
     420   sn_t_rnf    = 'runoffs'               ,        24         , 'rotemper',   .true.    , .true. , 'yearly'  , ''               , ''       , '' 
     421   sn_dep_rnf  = 'runoffs'               ,         0         , 'rodepth' ,   .false.   , .true. , 'yearly'  , ''               , ''       , '' 
     422/ 
     423!----------------------------------------------------------------------- 
     424&namsbc_apr    !   Atmospheric pressure used as ocean forcing           (ln_apr_dyn =T) 
     425!----------------------------------------------------------------------- 
     426   rn_pref     = 101000.   !  reference atmospheric pressure   [N/m2]/ 
     427   ln_ref_apr  = .false.   !  ref. pressure: global mean Patm (T) or a constant (F) 
     428   ln_apr_obc  = .false.   !  inverse barometer added to OBC ssh data 
     429 
     430   cn_dir = './'        !  root directory for the Patm data location 
     431   !___________!_________________________!___________________!___________!_____________!________!___________!__________________!__________!_______________! 
     432   !           !  file name              ! frequency (hours) ! variable  ! time interp.!  clim  ! 'yearly'/ ! weights filename ! rotation ! land/sea mask ! 
     433   !           !                         !  (if <0  months)  !   name    !   (logical) !  (T/F) ! 'monthly' !                  ! pairing  !    filename   ! 
     434   sn_apr      = 'patm'                  ,         -1        ,'somslpre' ,   .true.    , .true. , 'yearly'  ,    ''            ,    ''    ,      '' 
     435/ 
     436!----------------------------------------------------------------------- 
     437&namsbc_isf    !  Top boundary layer (ISF)                              (ln_isfcav =T : read (ln_read_cfg=T)  
     438!-----------------------------------------------------------------------             or set or usr_def_zgr ) 
     439   !                 ! type of top boundary layer  
    414440   nn_isf      = 1         !  ice shelf melting/freezing 
    415                            !  1 = presence of ISF    2 = bg03 parametrisation  
    416                            !  3 = rnf file for isf   4 = ISF fwf specified 
     441                           !  1 = presence of ISF   ; 2 = bg03 parametrisation  
     442                           !  3 = rnf file for ISF  ;  4 = ISF specified freshwater flux 
    417443                           !  option 1 and 4 need ln_isfcav = .true. (domzgr) 
    418 ! only for nn_isf = 1 or 2 
    419    rn_gammat0  = 1.e-4     ! gammat coefficient used in blk formula 
    420    rn_gammas0  = 1.e-4     ! gammas coefficient used in blk formula 
    421 ! only for nn_isf = 1 or 4 
    422    rn_hisf_tbl =  30.      ! thickness of the top boundary layer    (Losh et al. 2008) 
    423    !                       ! 0 => thickness of the tbl = thickness of the first wet cell 
    424 ! only for nn_isf = 1 
    425    nn_isfblk   = 1         ! 1 ISOMIP  like: 2 equations formulation (Hunter et al., 2006) 
    426    !                       ! 2 ISOMIP+ like: 3 equations formulation (Asay-Davis et al., 2015) 
    427    nn_gammablk = 1         ! 0 = cst Gammat (= gammat/s) 
    428    !                       ! 1 = velocity dependend Gamma (u* * gammat/s)  (Jenkins et al. 2010) 
    429    !                       ! 2 = velocity and stability dependent Gamma    (Holland et al. 1999) 
    430 / 
    431 !----------------------------------------------------------------------- 
    432 &namsbc_iscpl  !   land ice / ocean coupling option                      
    433 !----------------------------------------------------------------------- 
     444      !              !  nn_isf = 1 or 2 cases: 
     445      rn_gammat0  = 1.e-4     ! gammat coefficient used in blk formula 
     446      rn_gammas0  = 1.e-4     ! gammas coefficient used in blk formula 
     447      !              !  nn_isf = 1 or 4 cases: 
     448      rn_hisf_tbl =  30.      ! thickness of the top boundary layer    (Losh et al. 2008) 
     449      !                       ! 0 => thickness of the tbl = thickness of the first wet cell 
     450      !              ! nn_isf = 1 case 
     451      nn_isfblk   = 1         ! 1 ISOMIP  like: 2 equations formulation (Hunter et al., 2006) 
     452      !                       ! 2 ISOMIP+ like: 3 equations formulation (Asay-Davis et al., 2015) 
     453      nn_gammablk = 1         ! 0 = cst Gammat (= gammat/s) 
     454      !                       ! 1 = velocity dependend Gamma (u* * gammat/s)  (Jenkins et al. 2010) 
     455      !                       ! 2 = velocity and stability dependent Gamma    (Holland et al. 1999) 
     456 
     457   !___________!_____________!___________________!___________!_____________!_________!___________!__________!__________!_______________! 
     458   !           !  file name  ! frequency (hours) ! variable  ! time interp.!  clim   ! 'yearly'/ ! weights  ! rotation ! land/sea mask ! 
     459   !           !             !  (if <0  months)  !   name    !  (logical)  !  (T/F)  ! 'monthly' ! filename ! pairing  ! filename      ! 
     460!* nn_isf = 4 case 
     461   sn_fwfisf   = 'rnfisf'    ,         -12       ,'sowflisf' ,  .false.    , .true.  , 'yearly'  ,    ''    ,   ''     ,    '' 
     462!* nn_isf = 3 case 
     463   sn_rnfisf   = 'rnfisf'    ,         -12       ,'sofwfisf' ,  .false.    , .true.  , 'yearly'  ,    ''    ,   ''     ,    '' 
     464!* nn_isf = 2 and 3 cases  
     465   sn_depmax_isf='rnfisf'    ,         -12       ,'sozisfmax',  .false.    , .true.  , 'yearly'  ,    ''    ,   ''     ,    '' 
     466   sn_depmin_isf='rnfisf'    ,         -12       ,'sozisfmin',  .false.    , .true.  , 'yearly'  ,    ''    ,   ''     ,    '' 
     467!* nn_isf = 2 case 
     468   sn_Leff_isf = 'rnfisf'    ,         -12       ,'Leff'     ,  .false.    , .true.  , 'yearly'  ,    ''    ,   ''     ,    '' 
     469/ 
     470!----------------------------------------------------------------------- 
     471&namsbc_iscpl  !   land ice / ocean coupling option                     (ln_isfcav =T : read (ln_read_cfg=T)  
     472!-----------------------------------------------------------------------             or set or usr_def_zgr ) 
    434473   nn_drown    = 10        ! number of iteration of the extrapolation loop (fill the new wet cells) 
    435474   ln_hsb      = .false.   ! activate conservation module (conservation exact after a time of rn_fiscpl) 
     
    437476/ 
    438477!----------------------------------------------------------------------- 
    439 &namsbc_apr    !   Atmospheric pressure used as ocean forcing           (ln_apr_dyn =T) 
    440 !----------------------------------------------------------------------- 
    441 !              ! file name ! frequency (hours) ! variable ! time interp.!  clim  ! 'yearly'/ ! weights  ! rotation ! land/sea mask ! 
    442 !              !           !  (if <0  months)  !   name   !  (logical)  !  (T/F) ! 'monthly' ! filename ! pairing  ! filename      ! 
    443    sn_apr      = 'patm'    ,         -1        ,'somslpre',   .true.    , .true. , 'yearly'  ,    ''    ,    ''    ,      '' 
    444  
    445    cn_dir      = './'      !  root directory for the location of the bulk files 
    446    rn_pref     = 101000.   !  reference atmospheric pressure   [N/m2]/ 
    447    ln_ref_apr  = .false.   !  ref. pressure: global mean Patm (T) or a constant (F) 
    448    ln_apr_obc  = .false.   !  inverse barometer added to OBC ssh data 
    449 / 
    450 !----------------------------------------------------------------------- 
    451 &namsbc_ssr    !   surface boundary condition : sea surface restoring   (ln_ssr =T) 
    452 !----------------------------------------------------------------------- 
    453 !              ! file name ! frequency (hours) ! variable ! time interp.!  clim  ! 'yearly'/ ! weights  ! rotation ! land/sea mask ! 
    454 !              !           !  (if <0  months)  !   name   !   (logical) !  (T/F) ! 'monthly' ! filename ! pairing  ! filename      ! 
    455    sn_sst      = 'sst_data',        24         ,  'sst'   ,    .false.  , .false., 'yearly'  ,    ''    ,    ''    ,     '' 
    456    sn_sss      = 'sss_data',        -1         ,  'sss'   ,    .true.   , .true. , 'yearly'  ,    ''    ,    ''    ,     '' 
    457    cn_dir      = './'      !  root directory for the location of the runoff files 
    458    ! 
    459    nn_sstr     =     0     !  add a retroaction term in the surface heat flux (=1) or not (=0) 
    460       rn_dqdt     = -40.      !  magnitude of the retroaction on temperature   [W/m2/K] 
    461    nn_sssr     =     2     !  add a damping     term in the surface freshwater flux (=2) 
    462       !                    !  or to SSS only (=1) or no damping term (=0) 
    463       rn_deds     =  -166.67  !  magnitude of the damping on salinity   [mm/day] 
    464       ln_sssr_bnd =  .true.   !  flag to bound erp term (associated with nn_sssr=2) 
    465       rn_sssr_bnd =   4.e0    !  ABS(Max/Min) value of the damping erp term [mm/day] 
    466 / 
    467 !----------------------------------------------------------------------- 
    468478&namsbc_wave   ! External fields from wave model                        (ln_wave=T) 
    469479!----------------------------------------------------------------------- 
    470 !              !  file name  ! frequency (hours) ! variable     ! time interp. !  clim   ! 'yearly'/ ! weights  ! rotation ! land/sea mask ! 
    471 !              !             !  (if <0  months)  !   name       !   (logical)  !  (T/F)  ! 'monthly' ! filename ! pairing  ! filename      ! 
    472    sn_cdg      =  'sdw_wave' ,        1          , 'drag_coeff' ,     .true.   , .false. , 'daily'   ,  ''      , ''       , '' 
    473    sn_usd      =  'sdw_wave' ,        1          , 'u_sd2d'     ,     .true.   , .false. , 'daily'   ,  ''      , ''       , '' 
    474    sn_vsd      =  'sdw_wave' ,        1          , 'v_sd2d'     ,     .true.   , .false. , 'daily'   ,  ''      , ''       , '' 
    475    sn_hsw      =  'sdw_wave' ,        1          , 'hs'         ,     .true.   , .false. , 'daily'   ,  ''      , ''       , '' 
    476    sn_wmp      =  'sdw_wave' ,        1          , 'wmp'        ,     .true.   , .false. , 'daily'   ,  ''      , ''       , '' 
    477    sn_wfr      =  'sdw_wave' ,        1          , 'wfr'        ,     .true.   , .false. , 'daily'   ,  ''      , ''       , '' 
    478    sn_wnum     =  'sdw_wave' ,        1          , 'wave_num'   ,     .true.   , .false. , 'daily'   ,  ''      , ''       , '' 
    479    sn_tauwoc   =  'sdw_wave' ,        1          , 'wave_stress',     .true.   , .false. , 'daily'   ,  ''      , ''       , '' 
    480    sn_tauwx    =  'sdw_wave' ,        1          , 'wave_stress',     .true.   , .false. , 'daily'   ,  ''      , ''       , '' 
    481    sn_tauwy    =  'sdw_wave' ,        1          , 'wave_stress',     .true.   , .false. , 'daily'   ,  ''      , ''       , '' 
     480   cn_dir      = './'      !  root directory for the waves data location 
     481   !___________!_________________________!___________________!___________!_____________!________!___________!__________________!__________!_______________! 
     482   !           !  file name              ! frequency (hours) ! variable  ! time interp.!  clim  ! 'yearly'/ ! weights filename ! rotation ! land/sea mask ! 
     483   !           !                         !  (if <0  months)  !   name    !   (logical) !  (T/F) ! 'monthly' !                  ! pairing  !    filename   ! 
     484   sn_cdg      =  'sdw_wave'             ,        1          , 'drag_coeff' ,  .true.  , .false., 'daily'   ,  ''             , ''       , '' 
     485   sn_usd      =  'sdw_wave'             ,        1          , 'u_sd2d'     ,  .true.  , .false., 'daily'   ,  ''             , ''       , '' 
     486   sn_vsd      =  'sdw_wave'             ,        1          , 'v_sd2d'     ,  .true.  , .false., 'daily'   ,  ''             , ''       , '' 
     487   sn_hsw      =  'sdw_wave'             ,        1          , 'hs'         ,  .true.  , .false., 'daily'   ,  ''             , ''       , '' 
     488   sn_wmp      =  'sdw_wave'             ,        1          , 'wmp'        ,  .true.  , .false., 'daily'   ,  ''             , ''       , '' 
     489   sn_wfr      =  'sdw_wave'             ,        1          , 'wfr'        ,  .true.  , .false., 'daily'   ,  ''             , ''       , '' 
     490   sn_wnum     =  'sdw_wave'             ,        1          , 'wave_num'   ,  .true.  , .false., 'daily'   ,  ''             , ''       , '' 
     491   sn_tauwoc   =  'sdw_wave'             ,        1          , 'wave_stress',  .true.  , .false., 'daily'   ,  ''             , ''       , '' 
     492   sn_tauwx    =  'sdw_wave'             ,        1          , 'wave_stress',  .true.  , .false., 'daily'   ,  ''             , ''       , '' 
     493   sn_tauwy    =  'sdw_wave'             ,        1          , 'wave_stress',  .true.  , .false., 'daily'   ,  ''             , ''       , '' 
     494/ 
     495!----------------------------------------------------------------------- 
     496&namberg       !   iceberg parameters                                   (default: NO) 
     497!----------------------------------------------------------------------- 
     498   ln_icebergs = .false.      ! activate iceberg floats (force =F with "key_agrif") 
     499   ! 
     500   !                          ! diagnostics: 
     501   ln_bergdia        = .true.       ! Calculate budgets 
     502   nn_verbose_level  = 1            ! Turn on more verbose output if level > 0 
     503   nn_verbose_write  = 15           ! Timesteps between verbose messages 
     504   nn_sample_rate    = 1            ! Timesteps between sampling for trajectory storage 
     505   ! 
     506   !                          ! iceberg setting: 
     507   !                                ! Initial mass required for an iceberg of each class 
     508   rn_initial_mass   = 8.8e7, 4.1e8, 3.3e9, 1.8e10, 3.8e10, 7.5e10, 1.2e11, 2.2e11, 3.9e11, 7.4e11 
     509   !                                ! Proportion of calving mass to apportion to each class 
     510   rn_distribution   = 0.24, 0.12, 0.15, 0.18, 0.12, 0.07, 0.03, 0.03, 0.03, 0.02 
     511   !                                ! Ratio between effective and real iceberg mass (non-dim) 
     512   !                                ! i.e. number of icebergs represented at a point 
     513   rn_mass_scaling   = 2000, 200, 50, 20, 10, 5, 2, 1, 1, 1 
     514                                    ! thickness of newly calved bergs (m) 
     515   rn_initial_thickness     = 40., 67., 133., 175., 250., 250., 250., 250., 250., 250. 
     516   ! 
     517   rn_rho_bergs            = 850.   ! Density of icebergs 
     518   rn_LoW_ratio            = 1.5    ! Initial ratio L/W for newly calved icebergs 
     519   ln_operator_splitting   = .true. ! Use first order operator splitting for thermodynamics 
     520   rn_bits_erosion_fraction = 0.    ! Fraction of erosion melt flux to divert to bergy bits 
     521   rn_sicn_shift           = 0.     ! Shift of sea-ice concn in erosion flux (0<sicn_shift<1) 
     522   ln_passive_mode         = .false.! iceberg - ocean decoupling 
     523   nn_test_icebergs        =  10    ! Create test icebergs of this class (-1 = no) 
     524   !                                ! Put a test iceberg at each gridpoint in box (lon1,lon2,lat1,lat2) 
     525   rn_test_box             = 108.0,  116.0, -66.0, -58.0 
     526   rn_speed_limit          = 0.     ! CFL speed limit for a berg 
     527 
     528   cn_dir      = './'      !  root directory for the calving data location 
     529   !___________!_________________________!___________________!___________!_____________!________!___________!__________________!__________!_______________! 
     530   !           !  file name              ! frequency (hours) ! variable  ! time interp.!  clim  ! 'yearly'/ ! weights filename ! rotation ! land/sea mask ! 
     531   !           !                         !  (if <0  months)  !   name    !   (logical) !  (T/F) ! 'monthly' !                  ! pairing  !    filename   ! 
     532   sn_icb     =  'calving'              ,         -1         ,'calvingmask',  .true.   , .true. , 'yearly'  , ''               , ''       , '' 
     533/ 
     534 
     535!!====================================================================== 
     536!!               ***  Lateral boundary condition  ***                 !! 
     537!!                                                                    !! 
     538!!   namlbc        lateral momentum boundary condition                  (default: no slip) 
     539!!   namagrif      agrif nested grid ( read by child model only )       ("key_agrif") 
     540!!   nam_tide      Tidal forcing                                        (default: NO) 
     541!!   nambdy        Unstructured open boundaries                         (default: NO) 
     542!!   nambdy_dta    Unstructured open boundaries - external data         (see  nambdy) 
     543!!   nambdy_tide   tidal forcing at open boundaries                     (default: NO) 
     544!!====================================================================== 
    482545! 
    483    cn_dir  = './'  !  root directory for the location of drag coefficient files 
    484 / 
    485 !----------------------------------------------------------------------- 
    486 &namberg       !   iceberg parameters                                   (default: No iceberg) 
    487 !----------------------------------------------------------------------- 
    488    ln_icebergs              = .false.              ! iceberg floats or not 
    489    ln_bergdia               = .true.               ! Calculate budgets 
    490    nn_verbose_level         = 1                    ! Turn on more verbose output if level > 0 
    491    nn_verbose_write         = 15                   ! Timesteps between verbose messages 
    492    nn_sample_rate           = 1                    ! Timesteps between sampling for trajectory storage 
    493                                                    ! Initial mass required for an iceberg of each class 
    494    rn_initial_mass          = 8.8e7, 4.1e8, 3.3e9, 1.8e10, 3.8e10, 7.5e10, 1.2e11, 2.2e11, 3.9e11, 7.4e11 
    495                                                    ! Proportion of calving mass to apportion to each class 
    496    rn_distribution          = 0.24, 0.12, 0.15, 0.18, 0.12, 0.07, 0.03, 0.03, 0.03, 0.02 
    497                                                    ! Ratio between effective and real iceberg mass (non-dim) 
    498                                                    ! i.e. number of icebergs represented at a point 
    499    rn_mass_scaling          = 2000, 200, 50, 20, 10, 5, 2, 1, 1, 1 
    500                                                    ! thickness of newly calved bergs (m) 
    501    rn_initial_thickness     = 40., 67., 133., 175., 250., 250., 250., 250., 250., 250. 
    502    rn_rho_bergs             = 850.                 ! Density of icebergs 
    503    rn_LoW_ratio             = 1.5                  ! Initial ratio L/W for newly calved icebergs 
    504    ln_operator_splitting    = .true.               ! Use first order operator splitting for thermodynamics 
    505    rn_bits_erosion_fraction = 0.                   ! Fraction of erosion melt flux to divert to bergy bits 
    506    rn_sicn_shift            = 0.                   ! Shift of sea-ice concn in erosion flux (0<sicn_shift<1) 
    507    ln_passive_mode          = .false.              ! iceberg - ocean decoupling 
    508    nn_test_icebergs         =  10                  ! Create test icebergs of this class (-1 = no) 
    509                                                    ! Put a test iceberg at each gridpoint in box (lon1,lon2,lat1,lat2) 
    510    rn_test_box              = 108.0,  116.0, -66.0, -58.0 
    511    rn_speed_limit           = 0.                   ! CFL speed limit for a berg 
    512  
    513 !         ! file name ! frequency (hours) !   variable   ! time interp. !  clim   ! 'yearly'/ ! weights  ! rotation ! land/sea mask ! 
    514 !         !           !  (if <0  months)  !     name     !   (logical)  !  (T/F ) ! 'monthly' ! filename ! pairing  ! filename      ! 
    515    sn_icb =  'calving',       -1          , 'calvingmask',  .true.      , .true.  , 'yearly'  , ''       , ''       , '' 
    516  
    517    cn_dir = './' 
    518 / 
    519  
    520 !!====================================================================== 
    521 !!               ***  Lateral boundary condition  ***                 !! 
    522 !!====================================================================== 
    523 !!   namlbc        lateral momentum boundary condition 
    524 !!   namagrif      agrif nested grid ( read by child model only )       ("key_agrif") 
    525 !!   nam_tide      Tidal forcing  
    526 !!   nambdy        Unstructured open boundaries                          
    527 !!   nambdy_dta    Unstructured open boundaries - external data          
    528 !!   nambdy_tide   tidal forcing at open boundaries                      
    529 !!====================================================================== 
    530 ! 
    531 !----------------------------------------------------------------------- 
    532 &namlbc        !   lateral momentum boundary condition 
     546!----------------------------------------------------------------------- 
     547&namlbc        !   lateral momentum boundary condition                  (default: no slip) 
    533548!----------------------------------------------------------------------- 
    534549   !                       !  free slip  !   partial slip  !   no slip   ! strong slip 
     
    542557   rn_sponge_tra = 2880.   !  coefficient for tracer   sponge layer [m2/s] 
    543558   rn_sponge_dyn = 2880.   !  coefficient for dynamics sponge layer [m2/s] 
    544    ln_chk_bathy  = .FALSE. ! 
    545 / 
    546 !----------------------------------------------------------------------- 
    547 &nam_tide      !   tide parameters 
    548 !----------------------------------------------------------------------- 
    549    ln_tide       = .false.                ! Activate tides 
     559   ln_chk_bathy  = .false. !  =T  check the parent bathymetry 
     560/ 
     561!----------------------------------------------------------------------- 
     562&nam_tide      !   tide parameters                                      (default: NO) 
     563!----------------------------------------------------------------------- 
     564   ln_tide     = .false.      ! Activate tides 
    550565      ln_tide_pot   = .true.                !  use tidal potential forcing 
    551566         ln_scal_load  = .false.               ! Use scalar approximation for 
     
    559574/ 
    560575!----------------------------------------------------------------------- 
    561 &nambdy        !  unstructured open boundaries                           
    562 !----------------------------------------------------------------------- 
    563     ln_bdy         = .false.              !  Use unstructured open boundaries 
    564     nb_bdy         = 0                    !  number of open boundary sets 
    565     ln_coords_file = .true.               !  =T : read bdy coordinates from file 
    566     cn_coords_file = 'coordinates.bdy.nc' !  bdy coordinates files 
    567     ln_mask_file   = .false.              !  =T : read mask from file 
    568     cn_mask_file   = ''                   !  name of mask file (if ln_mask_file=.TRUE.) 
    569     cn_dyn2d       = 'none'               ! 
    570     nn_dyn2d_dta   =  0                   !  = 0, bdy data are equal to the initial state 
    571                                           !  = 1, bdy data are read in 'bdydata   .nc' files 
    572                                           !  = 2, use tidal harmonic forcing data from files 
    573                                           !  = 3, use external data AND tidal harmonic forcing 
    574     cn_dyn3d      =  'none'               ! 
    575     nn_dyn3d_dta  =  0                    !  = 0, bdy data are equal to the initial state 
    576                                           !  = 1, bdy data are read in 'bdydata   .nc' files 
    577     cn_tra        =  'none'               ! 
    578     nn_tra_dta    =  0                    !  = 0, bdy data are equal to the initial state 
    579                                           !  = 1, bdy data are read in 'bdydata   .nc' files 
    580     cn_ice_lim      =  'none'             ! 
    581     nn_ice_lim_dta  =  0                  !  = 0, bdy data are equal to the initial state 
    582                                           !  = 1, bdy data are read in 'bdydata   .nc' files 
    583     rn_ice_tem      = 270.                !  lim3 only: arbitrary temperature of incoming sea ice 
    584     rn_ice_sal      = 10.                 !  lim3 only:      --   salinity           -- 
    585     rn_ice_age      = 30.                 !  lim3 only:      --   age                -- 
    586  
    587     ln_tra_dmp    =.false.                !  open boudaries conditions for tracers 
    588     ln_dyn3d_dmp  =.false.                !  open boundary condition for baroclinic velocities 
    589     rn_time_dmp   =  1.                   ! Damping time scale in days 
    590     rn_time_dmp_out =  1.                 ! Outflow damping time scale 
    591     nn_rimwidth   = 10                    !  width of the relaxation zone 
    592     ln_vol        = .false.               !  total volume correction (see nn_volctl parameter) 
    593     nn_volctl     = 1                     !  = 0, the total water flux across open boundaries is zero 
    594     nb_jpk_bdy    = -1                    ! number of levels in the bdy data (set < 0 if consistent with planned run) 
    595 / 
    596 !----------------------------------------------------------------------- 
    597 &nambdy_dta    !  open boundaries - external data                        
    598 !----------------------------------------------------------------------- 
    599 !              !  file name      ! frequency (hours) ! variable  ! time interp.!  clim   ! 'yearly'/ ! weights  ! rotation ! land/sea mask ! 
    600 !              !                 !  (if <0  months)  !   name    !  (logical)  !  (T/F ) ! 'monthly' ! filename ! pairing  ! filename      ! 
    601    bn_ssh      = 'amm12_bdyT_u2d',         24        , 'sossheig',    .true.   , .false. ,  'daily'  ,    ''    ,   ''     ,     '' 
    602    bn_u2d      = 'amm12_bdyU_u2d',         24        , 'vobtcrtx',    .true.   , .false. ,  'daily'  ,    ''    ,   ''     ,     '' 
    603    bn_v2d      = 'amm12_bdyV_u2d',         24        , 'vobtcrty',    .true.   , .false. ,  'daily'  ,    ''    ,   ''     ,     '' 
    604    bn_u3d      = 'amm12_bdyU_u3d',         24        , 'vozocrtx',    .true.   , .false. ,  'daily'  ,    ''    ,   ''     ,     '' 
    605    bn_v3d      = 'amm12_bdyV_u3d',         24        , 'vomecrty',    .true.   , .false. ,  'daily'  ,    ''    ,   ''     ,     '' 
    606    bn_tem      = 'amm12_bdyT_tra',         24        , 'votemper',    .true.   , .false. ,  'daily'  ,    ''    ,   ''     ,     '' 
    607    bn_sal      = 'amm12_bdyT_tra',         24        , 'vosaline',    .true.   , .false. ,  'daily'  ,    ''    ,   ''     ,     '' 
    608 ! for lim3 
    609 !   bn_a_i     = 'amm12_bdyT_ice',         24        , 'ileadfra',    .true.   , .false. ,  'daily'  ,    ''    ,   ''     ,     '' 
    610 !   bn_h_i     = 'amm12_bdyT_ice',         24        , 'iicethic',    .true.   , .false. ,  'daily'  ,    ''    ,   ''     ,     '' 
    611 !   bn_h_s     = 'amm12_bdyT_ice',         24        , 'isnowthi',    .true.   , .false. ,  'daily'  ,    ''    ,   ''     ,     '' 
    612  
    613    cn_dir      = 'bdydta/' !  root directory for the location of the bulk files 
    614    ln_full_vel = .false.   !   
    615 / 
    616 !----------------------------------------------------------------------- 
    617 &nambdy_tide   !  tidal forcing at open boundaries 
     576&nambdy        !  unstructured open boundaries                          (default: NO) 
     577!----------------------------------------------------------------------- 
     578   ln_bdy         = .false.   !  Use unstructured open boundaries 
     579   nb_bdy         = 0         !  number of open boundary sets 
     580   ln_coords_file = .true.    !  =T : read bdy coordinates from file 
     581      cn_coords_file = 'coordinates.bdy.nc'  !  bdy coordinates files 
     582   ln_mask_file   = .false.   !  =T : read mask from file 
     583      cn_mask_file= ''        !  name of mask file (if ln_mask_file=.TRUE.) 
     584   cn_dyn2d    = 'none'       ! 
     585   nn_dyn2d_dta   =  0        !  = 0, bdy data are equal to the initial state 
     586      !                       !  = 1, bdy data are read in 'bdydata   .nc' files 
     587      !                       !  = 2, use tidal harmonic forcing data from files 
     588      !                       !  = 3, use external data AND tidal harmonic forcing 
     589   cn_dyn3d      =  'none'    ! 
     590   nn_dyn3d_dta  =  0         !  = 0, bdy data are equal to the initial state 
     591   !                          !  = 1, bdy data are read in 'bdydata   .nc' files 
     592   cn_tra        =  'none'    ! 
     593   nn_tra_dta    =  0         !  = 0, bdy data are equal to the initial state 
     594   !                          !  = 1, bdy data are read in 'bdydata   .nc' files 
     595   cn_ice_lim    =  'none'    ! 
     596   nn_ice_lim_dta=  0         !  = 0, bdy data are equal to the initial state 
     597   !                          !  = 1, bdy data are read in 'bdydata   .nc' files 
     598   rn_ice_tem    = 270.       !  lim3 only: arbitrary temperature of incoming sea ice 
     599   rn_ice_sal    = 10.        !  lim3 only:      --   salinity           -- 
     600   rn_ice_age    = 30.        !  lim3 only:      --   age                -- 
     601   ! 
     602   ln_tra_dmp    =.false.     !  open boudaries conditions for tracers 
     603   ln_dyn3d_dmp  =.false.     !  open boundary condition for baroclinic velocities 
     604   rn_time_dmp   =  1.        !  Damping time scale in days 
     605   rn_time_dmp_out= 1.        !  Outflow damping time scale 
     606   nn_rimwidth   = 10         !  width of the relaxation zone 
     607   ln_vol        = .false.    !  total volume correction (see nn_volctl parameter) 
     608   nn_volctl     =  1         !  = 0, the total water flux across open boundaries is zero 
     609   nb_jpk_bdy    = -1         ! number of levels in the bdy data (set < 0 if consistent with planned run) 
     610/ 
     611!----------------------------------------------------------------------- 
     612&nambdy_dta    !  open boundaries - external data                       (see nam_bdy) 
     613!----------------------------------------------------------------------- 
     614   ln_full_vel = .false.      !  ??? 
     615 
     616   cn_dir      = 'bdydta/'    !  root directory for the BDY data location 
     617   !___________!_________________________!___________________!___________!_____________!________!___________!__________________!__________!_______________! 
     618   !           !  file name              ! frequency (hours) ! variable  ! time interp.!  clim  ! 'yearly'/ ! weights filename ! rotation ! land/sea mask ! 
     619   !           !                         !  (if <0  months)  !   name    !   (logical) !  (T/F) ! 'monthly' !                  ! pairing  !    filename   ! 
     620   bn_ssh      = 'amm12_bdyT_u2d'        ,         24        , 'sossheig',    .true.   , .false.,  'daily'  ,    ''            ,   ''     ,     '' 
     621   bn_u2d      = 'amm12_bdyU_u2d'        ,         24        , 'vobtcrtx',    .true.   , .false.,  'daily'  ,    ''            ,   ''     ,     '' 
     622   bn_v2d      = 'amm12_bdyV_u2d'        ,         24        , 'vobtcrty',    .true.   , .false.,  'daily'  ,    ''            ,   ''     ,     '' 
     623   bn_u3d      = 'amm12_bdyU_u3d'        ,         24        , 'vozocrtx',    .true.   , .false.,  'daily'  ,    ''            ,   ''     ,     '' 
     624   bn_v3d      = 'amm12_bdyV_u3d'        ,         24        , 'vomecrty',    .true.   , .false.,  'daily'  ,    ''            ,   ''     ,     '' 
     625   bn_tem      = 'amm12_bdyT_tra'        ,         24        , 'votemper',    .true.   , .false.,  'daily'  ,    ''            ,   ''     ,     '' 
     626   bn_sal      = 'amm12_bdyT_tra'        ,         24        , 'vosaline',    .true.   , .false.,  'daily'  ,    ''            ,   ''     ,     '' 
     627!* for lim3 
     628!   bn_a_i     = 'amm12_bdyT_ice'        ,         24        , 'ileadfra',    .true.   , .false.,  'daily'  ,    ''            ,   ''     ,     '' 
     629!   bn_h_i     = 'amm12_bdyT_ice'        ,         24        , 'iicethic',    .true.   , .false.,  'daily'  ,    ''            ,   ''     ,     '' 
     630!   bn_h_s     = 'amm12_bdyT_ice'        ,         24        , 'isnowthi',    .true.   , .false.,  'daily'  ,    ''            ,   ''     ,     '' 
     631/ 
     632!----------------------------------------------------------------------- 
     633&nambdy_tide   !  tidal forcing at open boundaries                      (default: NO) 
    618634!----------------------------------------------------------------------- 
    619635   filtide          = 'bdydta/amm12_bdytide_'   !  file name root of tidal forcing files 
     
    624640!!====================================================================== 
    625641!!                ***  Top/Bottom boundary condition  ***             !! 
    626 !!====================================================================== 
     642!!                                                                    !! 
    627643!!   namdrg        top/bottom drag coefficient                          (default: NO selection) 
    628 !!   namdrg_top    top    friction                                      (ln_isfcav=T) 
    629 !!   namdrg_bot    bottom friction                                       
     644!!   namdrg_top    top    friction                                      (ln_NONE=F & ln_isfcav=T) 
     645!!   namdrg_bot    bottom friction                                      (ln_NONE=F) 
    630646!!   nambbc        bottom temperature boundary condition                (default: NO) 
    631647!!   nambbl        bottom boundary layer scheme                         (default: NO) 
     
    643659/ 
    644660!----------------------------------------------------------------------- 
    645 &namdrg_top    !   TOP friction                                         (ln_isfcav=T) 
     661&namdrg_top    !   TOP friction                                         (ln_NONE=F & ln_isfcav=T) 
    646662!----------------------------------------------------------------------- 
    647663   rn_Cd0     =  1.e-3     !  drag coefficient [-] 
     
    654670/ 
    655671!----------------------------------------------------------------------- 
    656 &namdrg_bot    !   BOTTOM friction                                   
     672&namdrg_bot    !   BOTTOM friction                                      (ln_NONE=F) 
    657673!----------------------------------------------------------------------- 
    658674   rn_Cd0     =  1.e-3    !  drag coefficient [-] 
     
    667683&nambbc        !   bottom temperature boundary condition                (default: NO) 
    668684!----------------------------------------------------------------------- 
    669 !              !  file name      ! frequency (hours) ! variable  ! time interp.!  clim   ! 'yearly'/ ! weights  ! rotation ! land/sea mask ! 
    670 !              !                 !  (if <0  months)  !   name    !  (logical)  !  (T/F ) ! 'monthly' ! filename ! pairing  ! filename      ! 
    671    sn_qgh      ='geothermal_heating.nc',  -12.       , 'heatflow',   .false.   , .true.  , 'yearly'  ,   ''     ,   ''     ,   '' 
    672    ! 
    673685   ln_trabbc   = .false.   !  Apply a geothermal heating at the ocean bottom 
    674       nn_geoflx   =    2      !  geothermal heat flux: = 0 no flux 
    675       !                       !     = 1 constant flux 
    676       !                       !     = 2 variable flux (read in geothermal_heating.nc in mW/m2) 
    677       rn_geoflx_cst = 86.4e-3 !  Constant value of geothermal heat flux [W/m2] 
    678       cn_dir      = './'      !  root directory for the location of the runoff files  
     686      nn_geoflx   =    2      !  geothermal heat flux: = 1 constant flux 
     687      !                       !                        = 2 read variable flux [mW/m2] 
     688      rn_geoflx_cst = 86.4e-3 !  Constant value of geothermal heat flux       [mW/m2] 
     689 
     690   cn_dir      = './'      !  root directory for the geothermal data location 
     691   !___________!_________________________!___________________!___________!_____________!________!___________!__________________!__________!_______________! 
     692   !           !  file name              ! frequency (hours) ! variable  ! time interp.!  clim  ! 'yearly'/ ! weights filename ! rotation ! land/sea mask ! 
     693   !           !                         !  (if <0  months)  !   name    !   (logical) !  (T/F) ! 'monthly' !                  ! pairing  !    filename   ! 
     694   sn_qgh      ='geothermal_heating.nc'  ,       -12.        , 'heatflow',   .false.   , .true. , 'yearly'  ,   ''             ,   ''     ,   '' 
    679695/ 
    680696!----------------------------------------------------------------------- 
     
    689705 
    690706!!====================================================================== 
    691 !!                        Tracer (T & S) namelists 
    692 !!====================================================================== 
    693 !!   nameos           equation of state 
    694 !!   namtra_adv       advection scheme 
    695 !!   namtra_adv_mle   mixed layer eddy param. (Fox-Kemper param.) 
    696 !!   namtra_ldf       lateral diffusion scheme 
    697 !!   namtra_ldfeiv    eddy induced velocity param. 
    698 !!   namtra_dmp       T & S newtonian damping 
     707!!                        Tracer (T & S) namelists                    !! 
     708!!                                                                    !! 
     709!!   nameos           equation of state                                 (default: NO selection) 
     710!!   namtra_adv       advection scheme                                  (default: NO selection) 
     711!!   namtra_ldf       lateral diffusion scheme                          (default: NO selection) 
     712!!   namtra_adv_mle   mixed layer eddy param. (Fox-Kemper param.)       (default: NO) 
     713!!   namtra_eiv       eddy induced velocity param.                      (default: NO) 
     714!!   namtra_dmp       T & S newtonian damping                           (default: NO) 
    699715!!====================================================================== 
    700716! 
    701717!----------------------------------------------------------------------- 
    702 &nameos        !   ocean Equation Of Seawater                           (default: NO) 
     718&nameos        !   ocean Equation Of Seawater                           (default: NO selection) 
    703719!----------------------------------------------------------------------- 
    704720   ln_teos10   = .false.         !  = Use TEOS-10 
     
    733749/ 
    734750!----------------------------------------------------------------------- 
    735 &namtra_adv_mle !   mixed layer eddy parametrisation (Fox-Kemper param) (default: NO) 
     751&namtra_ldf    !   lateral diffusion scheme for tracers                 (default: NO selection) 
     752!----------------------------------------------------------------------- 
     753   !                       !  Operator type: 
     754   ln_traldf_NONE  = .false.   !  No explicit diffusion 
     755   ln_traldf_lap   = .false.   !    laplacian operator 
     756   ln_traldf_blp   = .false.   !  bilaplacian operator 
     757   ! 
     758   !                       !  Direction of action: 
     759   ln_traldf_lev   = .false.   !  iso-level 
     760   ln_traldf_hor   = .false.   !  horizontal  (geopotential) 
     761   ln_traldf_iso   = .false.   !  iso-neutral (standard operator) 
     762   ln_traldf_triad = .false.   !  iso-neutral (triad    operator) 
     763   ! 
     764   !                       !  iso-neutral options:         
     765   ln_traldf_msc   = .false.   !  Method of Stabilizing Correction      (both operators) 
     766   rn_slpmax       =  0.01     !  slope limit                           (both operators) 
     767   ln_triad_iso    = .false.   !  pure horizontal mixing in ML              (triad only) 
     768   rn_sw_triad     = 1         !  =1 switching triad ; =0 all 4 triads used (triad only) 
     769   ln_botmix_triad = .false.   !  lateral mixing on bottom                  (triad only) 
     770   ! 
     771   !                       !  Coefficients: 
     772   nn_aht_ijk_t    = 0         !  space/time variation of eddy coefficient: 
     773      !                             !   =-20 (=-30)    read in eddy_diffusivity_2D.nc (..._3D.nc) file 
     774      !                             !   =  0           constant  
     775      !                             !   = 10 F(k)      =ldf_c1d  
     776      !                             !   = 20 F(i,j)    =ldf_c2d  
     777      !                             !   = 21 F(i,j,t)  =Treguier et al. JPO 1997 formulation 
     778      !                             !   = 30 F(i,j,k)  =ldf_c2d * ldf_c1d 
     779      !                             !   = 31 F(i,j,k,t)=F(local velocity and grid-spacing) 
     780      !                        !  time invariant coefficients:  aht0 = 1/2  Ud*Ld   (lap case)  
     781      !                             !                           or   = 1/12 Ud*Ld^3 (blp case) 
     782      rn_Ud        = 0.01           !  lateral diffusive velocity [m/s] (nn_aht_ijk_t= 0, 10, 20, 30) 
     783      rn_Ld        = 200.e+3        !  lateral diffusive length   [m]   (nn_aht_ijk_t= 0, 10) 
     784/ 
     785!----------------------------------------------------------------------- 
     786&namtra_adv_mle !   mixed layer eddy parametrisation (Fox-Kemper)       (default: NO) 
    736787!----------------------------------------------------------------------- 
    737788   ln_mle      = .false.   ! (T) use the Mixed Layer Eddy (MLE) parameterisation 
     
    746797/ 
    747798!----------------------------------------------------------------------- 
    748 &namtra_ldf    !   lateral diffusion scheme for tracers                 (default: NO selection) 
    749 !----------------------------------------------------------------------- 
    750    !                       !  Operator type: 
    751    ln_traldf_NONE  =  .false.  !  No explicit diffusion 
    752    ln_traldf_lap   =  .false.  !    laplacian operator 
    753    ln_traldf_blp   =  .false.  !  bilaplacian operator 
    754    ! 
    755    !                       !  Direction of action: 
    756    ln_traldf_lev   =  .false.  !  iso-level 
    757    ln_traldf_hor   =  .false.  !  horizontal (geopotential) 
    758    ln_traldf_iso   =  .false.  !  iso-neutral (standard operator) 
    759    ln_traldf_triad =  .false.  !  iso-neutral (triad    operator) 
    760    ! 
    761    !                       !  iso-neutral options:         
    762    ln_traldf_msc   =  .false.  !  Method of Stabilizing Correction (both operators) 
    763    rn_slpmax       =   0.01    !  slope limit                      (both operators) 
    764    ln_triad_iso    =  .false.  !  pure horizontal mixing in ML              (triad only) 
    765    rn_sw_triad     =  1        !  =1 switching triad ; =0 all 4 triads used (triad only) 
    766    ln_botmix_triad =  .false.  !  lateral mixing on bottom                  (triad only) 
    767    ! 
    768    !                       !  Coefficients: 
    769    nn_aht_ijk_t    = 0         !  space/time variation of eddy coef 
    770    !                                !   =-20 (=-30)    read in eddy_diffusivity_2D.nc (..._3D.nc) file 
    771    !                                !   =  0           constant  
    772    !                                !   = 10 F(k)      =ldf_c1d  
    773    !                                !   = 20 F(i,j)    =ldf_c2d  
    774    !                                !   = 21 F(i,j,t)  =Treguier et al. JPO 1997 formulation 
    775    !                                !   = 30 F(i,j,k)  =ldf_c2d * ldf_c1d 
    776    !                                !   = 31 F(i,j,k,t)=F(local velocity and grid-spacing) 
    777    rn_aht_0        = 2000.     !  lateral eddy diffusivity   (lap. operator) [m2/s] 
    778    rn_bht_0        = 1.e+12    !  lateral eddy diffusivity (bilap. operator) [m4/s] 
    779 / 
    780 !----------------------------------------------------------------------- 
    781 &namtra_ldfeiv !   eddy induced velocity param.                         (default: NO) 
    782 !----------------------------------------------------------------------- 
    783    ln_ldfeiv     = .false. ! use eddy induced velocity parameterization 
    784       rn_aeiv_0     = 2000.   ! eddy induced velocity coefficient   [m2/s] 
    785       nn_aei_ijk_t  = 21      ! space/time variation of the eiv coeficient 
     799&namtra_eiv    !   eddy induced velocity param.                         (default: NO) 
     800!----------------------------------------------------------------------- 
     801   ln_ldfeiv   = .false.   ! use eddy induced velocity parameterization 
     802      ! 
     803      !                        !  Coefficients: 
     804      nn_aei_ijk_t    = 0           !  space/time variation of eddy coefficient: 
    786805      !                             !   =-20 (=-30)    read in eddy_induced_velocity_2D.nc (..._3D.nc) file 
    787806      !                             !   =  0           constant  
     
    789808      !                             !   = 20 F(i,j)    =ldf_c2d  
    790809      !                             !   = 21 F(i,j,t)  =Treguier et al. JPO 1997 formulation 
    791       !                             !   = 30 F(i,j,k)  =ldf_c2d + ldf_c1d 
    792       ln_ldfeiv_dia =.false.  ! diagnose eiv stream function and velocities 
     810      !                             !   = 30 F(i,j,k)  =ldf_c2d * ldf_c1d 
     811      !                        !  time invariant coefficients:  aei0 = 1/2  Ue*Le  
     812      rn_Ue        = 0.02           !  lateral diffusive velocity [m/s] (nn_aht_ijk_t= 0, 10, 20, 30) 
     813      rn_Le        = 200.e+3        !  lateral diffusive length   [m]   (nn_aht_ijk_t= 0, 10) 
     814      ! 
     815      ln_ldfeiv_dia =.false.   ! diagnose eiv stream function and velocities 
    793816/ 
    794817!----------------------------------------------------------------------- 
    795818&namtra_dmp    !   tracer: T & S newtonian damping                      (default: NO) 
    796819!----------------------------------------------------------------------- 
    797    ln_tradmp   =  .true.   !  add a damping term 
     820   ln_tradmp   =  .false.  !  add a damping term (using resto.nc coef.) 
    798821      nn_zdmp  =    0         !  vertical shape =0    damping throughout the water column 
    799822      !                       !                 =1 no damping in the mixing layer (kz  criteria) 
     
    804827!!====================================================================== 
    805828!!                      ***  Dynamics namelists  ***                  !! 
    806 !!====================================================================== 
    807 !!   nam_vvl       vertical coordinate options 
    808 !!   namdyn_adv    formulation of the momentum advection 
    809 !!   namdyn_vor    advection scheme 
    810 !!   namdyn_hpg    hydrostatic pressure gradient 
    811 !!   namdyn_spg    surface pressure gradient 
    812 !!   namdyn_ldf    lateral diffusion scheme 
     829!!                                                                    !! 
     830!!   nam_vvl       vertical coordinate options                          (default: z-star) 
     831!!   namdyn_adv    formulation of the momentum advection                (default: NO selection) 
     832!!   namdyn_vor    advection scheme                                     (default: NO selection) 
     833!!   namdyn_hpg    hydrostatic pressure gradient                        (default: NO selection) 
     834!!   namdyn_spg    surface pressure gradient                            (default: NO selection) 
     835!!   namdyn_ldf    lateral diffusion scheme                             (default: NO selection) 
     836!!   namdta_dyn    offline TOP: dynamics read in files                  (OFF_SRC only) 
    813837!!====================================================================== 
    814838! 
     
    837861/ 
    838862!----------------------------------------------------------------------- 
    839 &namdyn_vor    !   Vorticity / Coriolis scheme                          (default: NO) 
    840 !----------------------------------------------------------------------- 
    841    ln_dynvor_ene = .false. !  enstrophy conserving scheme 
    842    ln_dynvor_ens = .false. !  energy conserving scheme 
     863&namdyn_vor    !   Vorticity / Coriolis scheme                          (default: NO selection) 
     864!----------------------------------------------------------------------- 
     865   ln_dynvor_ene = .false. !  energy    conserving scheme 
     866   ln_dynvor_ens = .false. !  enstrophy conserving scheme 
    843867   ln_dynvor_mix = .false. !  mixed scheme 
    844868   ln_dynvor_een = .false. !  energy & enstrophy scheme 
    845       nn_een_e3f = 1          ! e3f = masked averaging of e3t divided by 4 (=0) or by the sum of mask (=1) 
     869      nn_een_e3f = 1          ! =0   e3f = mean masked e3t divided by 4 
     870      !                       ! =1   e3f = mean masked e3t divided by the sum of mask 
    846871   ln_dynvor_msk = .false. !  vorticity multiplied by fmask (=T) or not (=F) (all vorticity schemes)  ! PLEASE DO NOT ACTIVATE 
    847872/ 
     
    857882/ 
    858883!----------------------------------------------------------------------- 
    859 &namdyn_spg    !   surface pressure gradient                            (default: NO) 
     884&namdyn_spg    !   surface pressure gradient                            (default: NO selection) 
    860885!----------------------------------------------------------------------- 
    861886   ln_dynspg_exp  = .false.   ! explicit free surface 
     
    875900!----------------------------------------------------------------------- 
    876901   !                       !  Type of the operator : 
    877    ln_dynldf_NONE=  .false.    !  No operator (i.e. no explicit diffusion) 
    878    ln_dynldf_lap =  .false.    !    laplacian operator 
    879    ln_dynldf_blp =  .false.    !  bilaplacian operator 
     902   ln_dynldf_NONE= .false.     !  No operator (i.e. no explicit diffusion) 
     903   ln_dynldf_lap = .false.     !    laplacian operator 
     904   ln_dynldf_blp = .false.     !  bilaplacian operator 
    880905   !                       !  Direction of action  : 
    881    ln_dynldf_lev =  .false.    !  iso-level 
    882    ln_dynldf_hor =  .false.    !  horizontal (geopotential) 
    883    ln_dynldf_iso =  .false.    !  iso-neutral 
     906   ln_dynldf_lev = .false.     !  iso-level 
     907   ln_dynldf_hor = .false.     !  horizontal (geopotential) 
     908   ln_dynldf_iso = .false.     !  iso-neutral (lap only) 
    884909   !                       !  Coefficient 
    885    nn_ahm_ijk_t  = 0           !  space/time variation of eddy coef 
    886    !                                !  =-30  read in eddy_viscosity_3D.nc file 
    887    !                                !  =-20  read in eddy_viscosity_2D.nc file 
    888    !                                !  =  0  constant  
    889    !                                !  = 10  F(k)=c1d 
    890    !                                !  = 20  F(i,j)=F(grid spacing)=c2d 
    891    !                                !  = 30  F(i,j,k)=c2d*c1d 
    892    !                                !  = 31  F(i,j,k)=F(grid spacing and local velocity) 
    893    !                                !  = 32  F(i,j,k)=F(local gridscale and deformation rate) 
    894    ! Caution in 20 and 30 cases the coefficient have to be given for a 1 degree grid (~111km) 
    895    rn_ahm_0      =  40000.     !  horizontal laplacian eddy viscosity   [m2/s] 
    896    rn_ahm_b      =      0.     !  background eddy viscosity for ldf_iso [m2/s] 
    897    rn_bhm_0      = 1.e+12      !  horizontal bilaplacian eddy viscosity [m4/s] 
    898    !                       !  Smagorinsky settings (nn_ahm_ijk_t  = 32) : 
    899    rn_csmc       = 3.5         !  Smagorinsky constant of proportionality 
    900    rn_minfac     = 1.0         !  multiplier of theorectical lower limit 
    901    rn_maxfac     = 1.0         !  multiplier of theorectical upper limit 
    902 / 
    903 ! 
     910   nn_ahm_ijk_t  = 0           !  space/time variation of eddy coefficient : 
     911      !                             !  =-30  read in eddy_viscosity_3D.nc file 
     912      !                             !  =-20  read in eddy_viscosity_2D.nc file 
     913      !                             !  =  0  constant  
     914      !                             !  = 10  F(k)=c1d 
     915      !                             !  = 20  F(i,j)=F(grid spacing)=c2d 
     916      !                             !  = 30  F(i,j,k)=c2d*c1d 
     917      !                             !  = 31  F(i,j,k)=F(grid spacing and local velocity) 
     918      !                             !  = 32  F(i,j,k)=F(local gridscale and deformation rate) 
     919      !                        !  time invariant coefficients :  ahm = 1/2  Uv*Lv   (lap case)  
     920      !                             !                            or  = 1/12 Uv*Lv^3 (blp case) 
     921      rn_Uv      = 0.1              !  lateral viscous velocity [m/s] (nn_ahm_ijk_t= 0, 10, 20, 30) 
     922      rn_Lv      = 10.e+3           !  lateral viscous length   [m]   (nn_ahm_ijk_t= 0, 10) 
     923      !                       !  Smagorinsky settings  (nn_ahm_ijk_t= 32) : 
     924      rn_csmc       = 3.5         !  Smagorinsky constant of proportionality 
     925      rn_minfac     = 1.0         !  multiplier of theorectical lower limit 
     926      rn_maxfac     = 1.0         !  multiplier of theorectical upper limit 
     927      !                       !  iso-neutral laplacian operator (ln_dynldf_iso=T) : 
     928      rn_ahm_b      = 0.0         !  background eddy viscosity  [m2/s] 
     929/ 
     930!----------------------------------------------------------------------- 
     931&namdta_dyn    !   offline ocean input files                            (OFF_SRC only) 
     932!----------------------------------------------------------------------- 
     933   ln_dynrnf       =  .false.    !  runoffs option enabled (T) or not (F) 
     934   ln_dynrnf_depth =  .false.    !  runoffs is spread in vertical (T) or not (F) 
     935!   fwbcorr        = 3.786e-06   !  annual global mean of empmr for ssh correction 
     936 
     937   cn_dir      = './'      !  root directory for the ocean data location 
     938   !___________!_________________________!___________________!___________!_____________!________!___________!__________________!__________!_______________! 
     939   !           !  file name              ! frequency (hours) ! variable  ! time interp.!  clim  ! 'yearly'/ ! weights filename ! rotation ! land/sea mask ! 
     940   !           !                         !  (if <0  months)  !   name    !   (logical) !  (T/F) ! 'monthly' !                  ! pairing  !    filename   ! 
     941   sn_tem      = 'dyna_grid_T'           ,       120         , 'votemper'  ,  .true.   , .true. , 'yearly'  , ''               , ''       , '' 
     942   sn_sal      = 'dyna_grid_T'           ,       120         , 'vosaline'  ,  .true.   , .true. , 'yearly'  , ''               , ''       , '' 
     943   sn_mld      = 'dyna_grid_T'           ,       120         , 'somixhgt'  ,  .true.   , .true. , 'yearly'  , ''               , ''       , '' 
     944   sn_emp      = 'dyna_grid_T'           ,       120         , 'sowaflup'  ,  .true.   , .true. , 'yearly'  , ''               , ''       , '' 
     945   sn_fmf      = 'dyna_grid_T'           ,       120         , 'iowaflup'  ,  .true.   , .true. , 'yearly'  , ''               , ''       , '' 
     946   sn_ice      = 'dyna_grid_T'           ,       120         , 'soicecov'  ,  .true.   , .true. , 'yearly'  , ''               , ''       , '' 
     947   sn_qsr      = 'dyna_grid_T'           ,       120         , 'soshfldo'  ,  .true.   , .true. , 'yearly'  , ''               , ''       , '' 
     948   sn_wnd      = 'dyna_grid_T'           ,       120         , 'sowindsp'  ,  .true.   , .true. , 'yearly'  , ''               , ''       , '' 
     949   sn_uwd      = 'dyna_grid_U'           ,       120         , 'uocetr_eff',  .true.   , .true. , 'yearly'  , ''               , ''       , '' 
     950   sn_vwd      = 'dyna_grid_V'           ,       120         , 'vocetr_eff',  .true.   , .true. , 'yearly'  , ''               , ''       , '' 
     951   sn_wwd      = 'dyna_grid_W'           ,       120         , 'wocetr_eff',  .true.   , .true. , 'yearly'  , ''               , ''       , '' 
     952   sn_avt      = 'dyna_grid_W'           ,       120         , 'voddmavs'  ,  .true.   , .true. , 'yearly'  , ''               , ''       , '' 
     953   sn_ubl      = 'dyna_grid_U'           ,       120         , 'sobblcox'  ,  .true.   , .true. , 'yearly'  , ''               , ''       , '' 
     954   sn_vbl      = 'dyna_grid_V'           ,       120         , 'sobblcoy'  ,  .true.   , .true. , 'yearly'  , ''               , ''       , '' 
     955/ 
     956 
    904957!!====================================================================== 
    905958!!                     vertical physics namelists                     !! 
    906 !!====================================================================== 
    907 !!    namzdf        vertical physics 
     959!!                                                                    !! 
     960!!    namzdf        vertical physics manager                            (default: NO selection) 
    908961!!    namzdf_ric    richardson number vertical mixing                   (ln_zdfric=T) 
    909962!!    namzdf_tke    TKE vertical mixing                                 (ln_zdftke=T) 
    910963!!    namzdf_gls    GLS vertical mixing                                 (ln_zdfgls=T) 
     964!!    namzdf_osm    OSM vertical diffusion                              (ln_zdfosm=T) 
    911965!!    namzdf_iwm    tidal mixing parameterization                       (ln_zdfiwm=T) 
    912966!!====================================================================== 
    913967! 
    914968!----------------------------------------------------------------------- 
    915 &namzdf        !   vertical physics                                     (default: NO selection) 
     969&namzdf        !   vertical physics manager                             (default: NO selection) 
    916970!----------------------------------------------------------------------- 
    917971   !                       ! type of vertical closure (required) 
     
    10311085/ 
    10321086!!====================================================================== 
    1033 !!                  ***  Miscellaneous namelists  *** 
    1034 !!====================================================================== 
     1087!!                  ***  Diagnostics namelists  ***                   !! 
     1088!!                                                                    !! 
     1089!!   namtrd       dynamics and/or tracer trends                         (default NO) 
     1090!!   namptr       Poleward Transport Diagnostics                        (default NO) 
     1091!!   namhsb       Heat and salt budgets                                 (default NO) 
     1092!!   namdiu       Cool skin and warm layer models                       (default NO) 
     1093!!   namdiu       Cool skin and warm layer models                       (default NO) 
     1094!!   namflo       float parameters                                      ("key_float") 
     1095!!   nam_diaharm  Harmonic analysis of tidal constituents               ("key_diaharm") 
     1096!!   namdct       transports through some sections                      ("key_diadct") 
     1097!!   nam_diatmb   Top Middle Bottom Output                              (default NO) 
     1098!!   nam_dia25h   25h Mean Output                                       (default NO) 
     1099!!   namnc4       netcdf4 chunking and compression settings             ("key_netcdf4") 
     1100!!====================================================================== 
     1101! 
     1102!----------------------------------------------------------------------- 
     1103&namtrd        !   trend diagnostics                                    (default NO) 
     1104!----------------------------------------------------------------------- 
     1105   ln_glo_trd  = .false.   ! (T) global domain averaged diag for T, T^2, KE, and PE 
     1106   ln_dyn_trd  = .false.   ! (T) 3D momentum trend output 
     1107   ln_dyn_mxl  = .false.   ! (T) 2D momentum trends averaged over the mixed layer (not coded yet) 
     1108   ln_vor_trd  = .false.   ! (T) 2D barotropic vorticity trends (not coded yet) 
     1109   ln_KE_trd   = .false.   ! (T) 3D Kinetic   Energy     trends 
     1110   ln_PE_trd   = .false.   ! (T) 3D Potential Energy     trends 
     1111   ln_tra_trd  = .false.   ! (T) 3D tracer trend output 
     1112   ln_tra_mxl  = .false.   ! (T) 2D tracer trends averaged over the mixed layer (not coded yet) 
     1113   nn_trd      = 365       !  print frequency (ln_glo_trd=T) (unit=time step) 
     1114/ 
     1115!!gm   nn_ctls     =   0       !  control surface type in mixed-layer trends (0,1 or n<jpk) 
     1116!!gm   rn_ucf      =   1.      !  unit conversion factor (=1 -> /seconds ; =86400. -> /day) 
     1117!!gm   cn_trdrst_in      = "restart_mld"   ! suffix of ocean restart name (input) 
     1118!!gm   cn_trdrst_out     = "restart_mld"   ! suffix of ocean restart name (output) 
     1119!!gm   ln_trdmld_restart = .false.         !  restart for ML diagnostics 
     1120!!gm   ln_trdmld_instant = .false.         !  flag to diagnose trends of instantantaneous or mean ML T/S 
     1121!!gm 
     1122!----------------------------------------------------------------------- 
     1123&namptr        !   Poleward Transport Diagnostic                        (default NO) 
     1124!----------------------------------------------------------------------- 
     1125   ln_diaptr   = .false.   !  Poleward heat and salt transport (T) or not (F) 
     1126   ln_subbas   = .false.   !  Atlantic/Pacific/Indian basins computation (T) or not 
     1127/ 
     1128!----------------------------------------------------------------------- 
     1129&namhsb        !  Heat and salt budgets                                 (default NO) 
     1130!----------------------------------------------------------------------- 
     1131   ln_diahsb   = .false.   !  check the heat and salt budgets (T) or not (F) 
     1132/ 
     1133!----------------------------------------------------------------------- 
     1134&namdiu        !   Cool skin and warm layer models                      (default NO) 
     1135!----------------------------------------------------------------------- 
     1136   ln_diurnal      = .false.   ! 
     1137   ln_diurnal_only = .false.   ! 
     1138/ 
     1139!----------------------------------------------------------------------- 
     1140&namflo        !   float parameters                                     ("key_float") 
     1141!----------------------------------------------------------------------- 
     1142   jpnfl       = 1         !  total number of floats during the run 
     1143   jpnnewflo   = 0         !  number of floats for the restart 
     1144   ln_rstflo   = .false.   !  float restart (T) or not (F) 
     1145   nn_writefl  =      75   !  frequency of writing in float output file 
     1146   nn_stockfl  =    5475   !  frequency of creation of the float restart file 
     1147   ln_argo     = .false.   !  Argo type floats (stay at the surface each 10 days) 
     1148   ln_flork4   = .false.   !  trajectories computed with a 4th order Runge-Kutta (T) 
     1149   !                       !  or computed with Blanke' scheme (F) 
     1150   ln_ariane   = .true.    !  Input with Ariane tool convention(T) 
     1151   ln_flo_ascii= .true.    !  Output with Ariane tool netcdf convention(F) or ascii file (T) 
     1152/ 
     1153!----------------------------------------------------------------------- 
     1154&nam_diaharm   !   Harmonic analysis of tidal constituents              ("key_diaharm") 
     1155!----------------------------------------------------------------------- 
     1156    nit000_han = 1         ! First time step used for harmonic analysis 
     1157    nitend_han = 75        ! Last time step used for harmonic analysis 
     1158    nstep_han  = 15        ! Time step frequency for harmonic analysis 
     1159    tname(1)   = 'M2'      ! Name of tidal constituents 
     1160    tname(2)   = 'K1' 
     1161/ 
     1162!----------------------------------------------------------------------- 
     1163&namdct        ! transports through some sections                       ("key_diadct") 
     1164!----------------------------------------------------------------------- 
     1165    nn_dct     = 15        !  time step frequency for transports computing 
     1166    nn_dctwri  = 15        !  time step frequency for transports writing 
     1167    nn_secdebug= 112       !      0 : no section to debug 
     1168    !                      !     -1 : debug all section 
     1169    !                      !  0 < n : debug section number n 
     1170/ 
     1171!----------------------------------------------------------------------- 
     1172&nam_diatmb    !  Top Middle Bottom Output                              (default NO) 
     1173!----------------------------------------------------------------------- 
     1174   ln_diatmb   = .false.   !  Choose Top Middle and Bottom output or not 
     1175/ 
     1176!----------------------------------------------------------------------- 
     1177&nam_dia25h    !  25h Mean Output                                       (default NO) 
     1178!----------------------------------------------------------------------- 
     1179   ln_dia25h   = .false.   ! Choose 25h mean output or not 
     1180/ 
     1181!----------------------------------------------------------------------- 
     1182&namnc4        !   netcdf4 chunking and compression settings            ("key_netcdf4") 
     1183!----------------------------------------------------------------------- 
     1184   nn_nchunks_i=   4       !  number of chunks in i-dimension 
     1185   nn_nchunks_j=   4       !  number of chunks in j-dimension 
     1186   nn_nchunks_k=   31      !  number of chunks in k-dimension 
     1187   !                       !  setting nn_nchunks_k = jpk will give a chunk size of 1 in the vertical which 
     1188   !                       !  is optimal for postprocessing which works exclusively with horizontal slabs 
     1189   ln_nc4zip   = .true.    !  (T) use netcdf4 chunking and compression 
     1190   !                       !  (F) ignore chunking information and produce netcdf3-compatible files 
     1191/ 
     1192 
     1193!!====================================================================== 
     1194!!                  ***  Miscellaneous namelists  ***                 !! 
     1195!!                                                                    !! 
    10351196!!   nammpp            Massively Parallel Processing                    ("key_mpp_mpi") 
    1036 !!   namctl            Control prints  
    1037 !!   namsto            Stochastic parametrization of EOS 
     1197!!   namctl            Control prints                                   (default NO) 
     1198!!   namsto            Stochastic parametrization of EOS                (default NO) 
    10381199!!====================================================================== 
    10391200! 
     
    10501211/ 
    10511212!----------------------------------------------------------------------- 
    1052 &namctl        !   Control prints  
     1213&namctl        !   Control prints                                       (default: NO) 
    10531214!----------------------------------------------------------------------- 
    10541215   ln_ctl      = .false.   !  trends control print (expensive!) 
     
    10811242 
    10821243!!====================================================================== 
    1083 !!                  ***  Diagnostics namelists  *** 
    1084 !!====================================================================== 
    1085 !!   namtrd       dynamics and/or tracer trends                         (default F) 
    1086 !!   namptr       Poleward Transport Diagnostics                        (default F) 
    1087 !!   namhsb       Heat and salt budgets                                 (default F) 
    1088 !!   namdiu       Cool skin and warm layer models                       (default F) 
    1089 !!   namdiu       Cool skin and warm layer models                       (default F) 
    1090 !!   namflo       float parameters                                      ("key_float") 
    1091 !!   nam_diaharm  Harmonic analysis of tidal constituents               ("key_diaharm") 
    1092 !!   namdct       transports through some sections                      ("key_diadct") 
    1093 !!   nam_diatmb   Top Middle Bottom Output                              (default F) 
    1094 !!   nam_dia25h   25h Mean Output                                       (default F) 
    1095 !!   namnc4       netcdf4 chunking and compression settings             ("key_netcdf4") 
     1244!!               ***  Observation & Assimilation  ***                 !! 
     1245!!                                                                    !! 
     1246!!   namobs       observation and model comparison                      (default: NO) 
     1247!!   nam_asminc   assimilation increments                               ('key_asminc') 
    10961248!!====================================================================== 
    10971249! 
    10981250!----------------------------------------------------------------------- 
    1099 &namtrd        !   trend diagnostics                                    (default F) 
    1100 !----------------------------------------------------------------------- 
    1101    ln_glo_trd  = .false.   ! (T) global domain averaged diag for T, T^2, KE, and PE 
    1102    ln_dyn_trd  = .false.   ! (T) 3D momentum trend output 
    1103    ln_dyn_mxl  = .false.   ! (T) 2D momentum trends averaged over the mixed layer (not coded yet) 
    1104    ln_vor_trd  = .false.   ! (T) 2D barotropic vorticity trends (not coded yet) 
    1105    ln_KE_trd   = .false.   ! (T) 3D Kinetic   Energy     trends 
    1106    ln_PE_trd   = .false.   ! (T) 3D Potential Energy     trends 
    1107    ln_tra_trd  = .false.   ! (T) 3D tracer trend output 
    1108    ln_tra_mxl  = .false.   ! (T) 2D tracer trends averaged over the mixed layer (not coded yet) 
    1109    nn_trd      = 365       !  print frequency (ln_glo_trd=T) (unit=time step) 
    1110 / 
    1111 !!gm   nn_ctls     =   0       !  control surface type in mixed-layer trends (0,1 or n<jpk) 
    1112 !!gm   rn_ucf      =   1.      !  unit conversion factor (=1 -> /seconds ; =86400. -> /day) 
    1113 !!gm   cn_trdrst_in      = "restart_mld"   ! suffix of ocean restart name (input) 
    1114 !!gm   cn_trdrst_out     = "restart_mld"   ! suffix of ocean restart name (output) 
    1115 !!gm   ln_trdmld_restart = .false.         !  restart for ML diagnostics 
    1116 !!gm   ln_trdmld_instant = .false.         !  flag to diagnose trends of instantantaneous or mean ML T/S 
    1117 !!gm 
    1118 !----------------------------------------------------------------------- 
    1119 &namptr        !   Poleward Transport Diagnostic                        (default F) 
    1120 !----------------------------------------------------------------------- 
    1121    ln_diaptr   = .false.   !  Poleward heat and salt transport (T) or not (F) 
    1122    ln_subbas   = .false.   !  Atlantic/Pacific/Indian basins computation (T) or not 
    1123 / 
    1124 !----------------------------------------------------------------------- 
    1125 &namhsb        !  Heat and salt budgets                                 (default F) 
    1126 !----------------------------------------------------------------------- 
    1127    ln_diahsb   = .false.   !  check the heat and salt budgets (T) or not (F) 
    1128 / 
    1129 !----------------------------------------------------------------------- 
    1130 &namdiu        !   Cool skin and warm layer models                      (default F) 
    1131 !----------------------------------------------------------------------- 
    1132    ln_diurnal      = .false.   ! 
    1133    ln_diurnal_only = .false.   ! 
    1134 / 
    1135 !----------------------------------------------------------------------- 
    1136 &namflo        !   float parameters                                     ("key_float") 
    1137 !----------------------------------------------------------------------- 
    1138    jpnfl       = 1         !  total number of floats during the run 
    1139    jpnnewflo   = 0         !  number of floats for the restart 
    1140    ln_rstflo   = .false.   !  float restart (T) or not (F) 
    1141    nn_writefl  =      75   !  frequency of writing in float output file 
    1142    nn_stockfl  =    5475   !  frequency of creation of the float restart file 
    1143    ln_argo     = .false.   !  Argo type floats (stay at the surface each 10 days) 
    1144    ln_flork4   = .false.   !  trajectories computed with a 4th order Runge-Kutta (T) 
    1145    !                       !  or computed with Blanke' scheme (F) 
    1146    ln_ariane   = .true.    !  Input with Ariane tool convention(T) 
    1147    ln_flo_ascii= .true.    !  Output with Ariane tool netcdf convention(F) or ascii file (T) 
    1148 / 
    1149 !----------------------------------------------------------------------- 
    1150 &nam_diaharm   !   Harmonic analysis of tidal constituents              ("key_diaharm") 
    1151 !----------------------------------------------------------------------- 
    1152     nit000_han = 1         ! First time step used for harmonic analysis 
    1153     nitend_han = 75        ! Last time step used for harmonic analysis 
    1154     nstep_han  = 15        ! Time step frequency for harmonic analysis 
    1155     tname(1)   = 'M2'      ! Name of tidal constituents 
    1156     tname(2)   = 'K1' 
    1157 / 
    1158 !----------------------------------------------------------------------- 
    1159 &namdct        ! transports through some sections                       ("key_diadct") 
    1160 !----------------------------------------------------------------------- 
    1161     nn_dct     = 15        !  time step frequency for transports computing 
    1162     nn_dctwri  = 15        !  time step frequency for transports writing 
    1163     nn_secdebug= 112       !      0 : no section to debug 
    1164     !                      !     -1 : debug all section 
    1165     !                      !  0 < n : debug section number n 
    1166 / 
    1167 !----------------------------------------------------------------------- 
    1168 &nam_diatmb    !  Top Middle Bottom Output                              (default F) 
    1169 !----------------------------------------------------------------------- 
    1170    ln_diatmb   = .false.   !  Choose Top Middle and Bottom output or not 
    1171 / 
    1172 !----------------------------------------------------------------------- 
    1173 &nam_dia25h    !  25h Mean Output                                       (default F) 
    1174 !----------------------------------------------------------------------- 
    1175    ln_dia25h   = .false.   ! Choose 25h mean output or not 
    1176 / 
    1177 !----------------------------------------------------------------------- 
    1178 &namnc4        !   netcdf4 chunking and compression settings            ("key_netcdf4") 
    1179 !----------------------------------------------------------------------- 
    1180    nn_nchunks_i=   4       !  number of chunks in i-dimension 
    1181    nn_nchunks_j=   4       !  number of chunks in j-dimension 
    1182    nn_nchunks_k=   31      !  number of chunks in k-dimension 
    1183    !                       !  setting nn_nchunks_k = jpk will give a chunk size of 1 in the vertical which 
    1184    !                       !  is optimal for postprocessing which works exclusively with horizontal slabs 
    1185    ln_nc4zip   = .true.    !  (T) use netcdf4 chunking and compression 
    1186    !                       !  (F) ignore chunking information and produce netcdf3-compatible files 
    1187 / 
    1188  
    1189 !!====================================================================== 
    1190 !!               ***  Observation & Assimilation  *** 
    1191 !!====================================================================== 
    1192 !!   namobs       observation and model comparison 
    1193 !!   nam_asminc   assimilation increments                               ('key_asminc') 
    1194 !!====================================================================== 
    1195 ! 
    1196 !----------------------------------------------------------------------- 
    1197 &namobs        !  observation usage switch 
     1251&namobs        !  observation usage switch                              (default: NO) 
    11981252!----------------------------------------------------------------------- 
    11991253   ln_diaobs   = .false.             ! Logical switch for the observation operator 
     1254   ! 
    12001255   ln_t3d      = .false.             ! Logical switch for T profile observations 
    12011256   ln_s3d      = .false.             ! Logical switch for S profile observations 
     
    12461301   nn_2dint_sss = 0                  ! Horizontal interpolation method for SSS 
    12471302   nn_2dint_sic = 0                  ! Horizontal interpolation method for SIC 
    1248    nn_msshc    = 0                   ! MSSH correction scheme 
     1303   nn_msshc     = 0                  ! MSSH correction scheme 
    12491304   nn_profdavtypes = -1              ! Profile daily average types - array 
    12501305/ 
     
    12671322    nn_divdmp  = 0         !  Number of iterations of divergence damping operator 
    12681323/ 
    1269 !----------------------------------------------------------------------- 
    1270 &namdta_dyn    !   offline dynamics read in files                       ("key_offline") 
    1271 !----------------------------------------------------------------------- 
    1272 !          !  file name  ! frequency (hours) ! variable  ! time interp. !  clim  ! 'yearly'/ ! weights  ! rotation ! land/sea mask ! 
    1273 !          !             !  (if <0  months)  !   name    !   (logical)  !  (T/F) ! 'monthly' ! filename ! pairing  ! filename      ! 
    1274    sn_tem  = 'dyna_grid_T' ,    120            , 'votemper' ,  .true.    , .true. ,   'yearly'  , ''       , ''    , '' 
    1275    sn_sal  = 'dyna_grid_T' ,    120            , 'vosaline' ,  .true.    , .true. ,   'yearly'  , ''       , ''    , '' 
    1276    sn_mld  = 'dyna_grid_T' ,    120            , 'somixhgt' ,  .true.    , .true. ,   'yearly'  , ''       , ''    , '' 
    1277    sn_emp  = 'dyna_grid_T' ,    120            , 'sowaflup' ,  .true.    , .true. ,   'yearly'  , ''       , ''    , '' 
    1278    sn_fmf  = 'dyna_grid_T' ,    120            , 'iowaflup' ,  .true.    , .true. ,   'yearly'  , ''       , ''    , '' 
    1279    sn_ice  = 'dyna_grid_T' ,    120            , 'soicecov' ,  .true.    , .true. ,   'yearly'  , ''       , ''    , '' 
    1280    sn_qsr  = 'dyna_grid_T' ,    120            , 'soshfldo' ,  .true.    , .true. ,   'yearly'  , ''       , ''    , '' 
    1281    sn_wnd  = 'dyna_grid_T' ,    120            , 'sowindsp' ,  .true.    , .true. ,   'yearly'  , ''       , ''    , '' 
    1282    sn_uwd  = 'dyna_grid_U' ,    120            , 'uocetr_eff' ,  .true.    , .true. ,   'yearly'  , ''       , ''    , '' 
    1283    sn_vwd  = 'dyna_grid_V' ,    120            , 'vocetr_eff' ,  .true.    , .true. ,   'yearly'  , ''       , ''    , '' 
    1284    sn_wwd  = 'dyna_grid_W' ,    120            , 'wocetr_eff' ,  .true.    , .true. ,   'yearly'  , ''       , ''    , '' 
    1285    sn_avt  = 'dyna_grid_W' ,    120            , 'voddmavs' ,  .true.    , .true. ,   'yearly'  , ''       , ''    , '' 
    1286    sn_ubl  = 'dyna_grid_U' ,    120            , 'sobblcox' ,  .true.    , .true. ,   'yearly'  , ''       , ''    , '' 
    1287    sn_vbl  = 'dyna_grid_V' ,    120            , 'sobblcoy' ,  .true.    , .true. ,   'yearly'  , ''       , ''    , '' 
    1288 ! 
    1289    cn_dir          = './'       !  root directory for the location of the dynamical files 
    1290    ln_dynrnf       =  .false.   !  runoffs option enabled (T) or not (F) 
    1291    ln_dynrnf_depth =  .false.   ! runoffs is spread in vertical (T) or not (F) 
    1292 !   fwbcorr      = 3.786e-06    ! annual global mean of empmr for ssh correction 
    1293 / 
  • branches/2017/dev_merge_2017/NEMOGCM/CONFIG/SHARED/namelist_top_ref

    r9356 r9490  
    11!!>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
    2 !! NEMO/TOP1 :   - tracer run information                (namtrc_run) 
     2!! NEMO/TOP :   Reference namelist  
     3!!>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
     4!!               - tracer run information                (namtrc_run) 
    35!!               - tracer definition                     (namtrc    ) 
    46!!               - tracer data initialisation            (namtrc_dta) 
     
    2729!----------------------------------------------------------------------- 
    2830   jp_bgc        =  0           !  Number of passive tracers of the BGC model 
    29 ! 
     31   ! 
    3032   ln_pisces     =  .false.     !  Run PISCES BGC model  
    3133   ln_my_trc     =  .false.     !  Run MY_TRC BGC model 
     
    3537   ln_sf6        =  .false.     !  Run the SF6 passive tracer 
    3638   ln_c14        =  .false.     !  Run the Radiocarbon passive tracer 
    37 ! 
     39   ! 
    3840   ln_trcdta     =  .false.  !  Initialisation from data input file (T) or not (F) 
    3941   ln_trcdmp     =  .false.  !  add a damping termn (T) or not (F) 
    4042   ln_trcdmp_clo =  .false.  !  damping term (T) or not (F) on closed seas 
    41 ! 
     43   ! 
    4244   jp_dia3d      = 0         ! Number of 3D diagnostic variables 
    4345   jp_dia2d      = 0         ! Number of 2D diagnostic variables 
    44 !                !           !                                         !            !                               ! 
    45 !                !    name   !           title of the field            !   units    ! initial data from file or not !  
    46 !  sn_tracer(1)  = 'tracer  ' , 'Tracer  Concentration                 ',   ' - '    ,           .false. 
     46   !_____________!___________!_________________________________________!____________!________________! 
     47   !             !    name   !           title of the field            !   units    ! init from file !  
     48!  sn_tracer(1)  = 'tracer  ', 'Tracer  Concentration                 ',   ' - '    ,   .false. 
    4749/ 
    4850!----------------------------------------------------------------------- 
     
    5557&namtrc_dta      !    Initialisation from data input file 
    5658!----------------------------------------------------------------------- 
     59!                !  file name        ! frequency (hours) ! variable  ! time interp. !  clim  ! 'yearly'/ ! weights  ! rotation ! land/sea mask ! 
     60!                !                   !  (if <0  months)  !   name    !   (logical)  !  (T/F) ! 'monthly' ! filename ! pairing  ! filename      ! 
     61   sn_trcdta(1)  = 'data_TRC_nomask' ,        -12        ,  'TRC'    ,    .false.   , .true. , 'yearly'  , ''       , ''       , '' 
     62   ! 
    5763   cn_dir        =  './'     !  root directory for the location of the data files 
    58 !          !  file name  ! frequency (hours) ! variable  ! time interp. !  clim  ! 'yearly'/ ! weights  ! rotation ! land/sea mask ! 
    59 !          !             !  (if <0  months)  !   name    !   (logical)  !  (T/F) ! 'monthly' ! filename ! pairing  ! filename      ! 
    60    sn_trcdta(1)  = 'data_TRC_nomask'        ,        -12        ,  'TRC'     ,    .false.   , .true. , 'yearly'  , ''       , ''   , '' 
    6164/ 
    6265!----------------------------------------------------------------------- 
     
    7780/ 
    7881!----------------------------------------------------------------------- 
    79 &namtrc_ldf      !   lateral diffusion scheme for passive tracer  
     82&namtrc_ldf      !   lateral diffusion scheme for passive tracer        (default: NO selection) 
    8083!----------------------------------------------------------------------- 
    81 !                            !  Type of the operator:   
    82    ln_trcldf_lap   =  .true.     !    laplacian operator 
    83    ln_trcldf_blp   =  .false.    !  bilaplacian operator 
    84    !                         !  Direction of action: 
    85    ln_trcldf_lev   =  .false.    !  iso-level 
    86    ln_trcldf_hor   =  .false.    !  horizontal (geopotential) 
    87    ln_trcldf_iso   =  .true.     !  iso-neutral (standard operator) 
    88    ln_trcldf_triad =  .false.    !  iso-neutral (triad    operator) 
    89    !                         !  Coefficient  
    90    rn_ahtrc_0      = 2000.       !  lateral eddy diffusivity   (lap. operator) [m2/s] 
    91    rn_bhtrc_0      = 1.e+12      !  lateral eddy diffusivity (bilap. operator) [m4/s] 
    92    ! 
    93    rn_fact_lap      =     1.     !     enhanced zonal eddy diffusivity 
     84!                            !  Type of the operator: 
     85   ln_trcldf_NONE  =  .false.    !  No explicit diffusion 
     86   ln_trcldf_tra   =  .false.    !  use active tracer setting 
     87   !                         !  Coefficient (defined with namtra_ldf coefficient) 
     88   rn_ldf_multi    = 1.          !  multiplier of aht for TRC mixing coefficient 
     89   rn_fact_lap     = 1.          !  Equatorial enhanced zonal eddy diffusivity (lap only) 
    9490/ 
    9591!----------------------------------------------------------------------- 
     
    9995/ 
    10096!----------------------------------------------------------------------- 
    101 &namtrc_dmp      !   passive tracer newtonian damping    
     97&namtrc_dmp      !   passive tracer newtonian damping                   (ln_trcdmp=T) 
    10298!----------------------------------------------------------------------- 
    10399   nn_zdmp_tr    =    1      !  vertical   shape =0    damping throughout the water column 
  • branches/2017/dev_merge_2017/NEMOGCM/CONFIG/TEST_CASES/CANAL/EXP00/field_def_nemo-opa.xml

    r9403 r9490  
    469469         <field id="w_masstr"     long_name="vertical mass transport"             standard_name="upward_ocean_mass_transport"             unit="kg/s"   /> 
    470470         <field id="w_masstr2"    long_name="square of vertical mass transport"   standard_name="square_of_upward_ocean_mass_transport"   unit="kg2/s2" /> 
    471  
    472          <!-- aht2d and  aht2d_eiv --> 
    473          <field id="aht2d"        long_name="lateral eddy diffusivity"       standard_name="ocean_tracer_xy_laplacian_diffusivity"      unit="m2/s"   grid_ref="grid_W_2D" /> 
    474          <field id="aht2d_eiv"    long_name="EIV lateral eddy diffusivity"   standard_name="ocean_tracer_bolus_laplacian_diffusivity"   unit="m2/s"   grid_ref="grid_W_2D" /> 
    475471 
    476472      </field_group> 
  • branches/2017/dev_merge_2017/NEMOGCM/CONFIG/TEST_CASES/CANAL/EXP00/namelist_cfg

    r9412 r9490  
    11!!>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
    2 !! NEMO/OPA  Configuration namelist : used to overwrite defaults values defined in SHARED/namelist_ref 
     2!! NEMO/OPA  CANAL Configuration namelist : overwrite some defaults values defined in SHARED/namelist_ref 
    33!!>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
    44! 
    5 !----------------------------------------------------------------------- 
    6 &namusr_def    !   User defined :   VORTEX configuration: Flat bottom, beta-plane 
     5!!====================================================================== 
     6!!              ***  Domain & Run management namelists  ***           !! 
     7!!                                                                    !! 
     8!!   namrun       parameters of the run 
     9!!   namdom       space and time domain 
     10!!   namcfg       parameters of the configuration                       (default: user defined GYRE) 
     11!!   namwad       Wetting and drying                                    (default NO) 
     12!!   namtsd       data: temperature & salinity                          (default NO) 
     13!!====================================================================== 
     14! 
     15!----------------------------------------------------------------------- 
     16&namrun        !   parameters of the run 
     17!----------------------------------------------------------------------- 
     18   nn_no       =       0   !  job number (no more used...) 
     19   cn_exp      =   'CANAL' !  experience name 
     20   nn_it000    =       1   !  first time step 
     21   nn_itend    =     100   !  last time step  
     22   nn_istate   =       0   !  output the initial state (1) or not (0) 
     23   nn_stock    =   99999   !  frequency of creation of a restart file (modulo referenced to 1) 
     24   nn_write    =   99999   !  frequency of write in the output file   (modulo referenced to nn_it000) 
     25/ 
     26!----------------------------------------------------------------------- 
     27&namdom        !   time and space domain 
     28!----------------------------------------------------------------------- 
     29   ln_linssh   =  .false.  !  =T  linear free surface  ==>>  model level are fixed in time 
     30   rn_rdt      =   1440.   !  time step for the dynamics (and tracer if nn_acc=0) 
     31   rn_atfp     =   0.05    !  asselin time filter parameter 
     32/ 
     33!----------------------------------------------------------------------- 
     34&namusr_def    !   User defined :   CANAL configuration: Flat bottom, beta-plane 
    735!----------------------------------------------------------------------- 
    836   rn_domszx   =   3600.   !  x horizontal size         [km] 
     
    2654   nn_botcase  =      0    !  bottom definition (0:flat, 1:bump) 
    2755   nn_initcase =      1    !  initial condition case (0:rest, 1:zonal current, 2:current shear, 3: gaussian zonal current, 
    28                            !                          4: geostrophic zonal pulse, 5: vortex) 
     56      !                    !                          4: geostrophic zonal pulse, 5: vortex) 
    2957   ln_sshnoise =  .false.  !  add random noise on initial ssh 
    3058   rn_lambda   =     50.   ! gaussian lambda 
    3159/ 
    32 !----------------------------------------------------------------------- 
    33 &namrun        !   parameters of the run 
    34 !----------------------------------------------------------------------- 
    35    nn_no       =       0   !  job number (no more used...) 
    36    cn_exp      =   'CANAL' !  experience name 
    37    nn_it000    =       1   !  first time step 
    38    nn_itend    =     100   !  last time step  
    39    nn_istate   =       0   !  output the initial state (1) or not (0) 
    40    nn_stock    =   99999   !  frequency of creation of a restart file (modulo referenced to 1) 
    41    nn_write    =   99999   !  frequency of write in the output file   (modulo referenced to nn_it000) 
    42 / 
    43 !----------------------------------------------------------------------- 
    44 &namcfg        !   parameters of the configuration                      (default: user defined GYRE) 
    45 !----------------------------------------------------------------------- 
    46 / 
    47 !----------------------------------------------------------------------- 
    48 &namdom        !   time and space domain 
    49 !----------------------------------------------------------------------- 
    50    ln_linssh   =  .false.  !  =T  linear free surface  ==>>  model level are fixed in time 
    51    rn_rdt      =   1440.   !  time step for the dynamics (and tracer if nn_acc=0) 
    52    rn_atfp     =   0.05    !  asselin time filter parameter 
    53 / 
    54 !----------------------------------------------------------------------- 
    55 &namtsd        !   data : Temperature  & Salinity 
    56 !----------------------------------------------------------------------- 
    57    ln_tsd_init   = .false.   !  Initialisation of ocean T & S with T &S input data (T) or not (F) 
    58    ln_tsd_tradmp = .false.   !  damping of ocean T & S toward T &S input data (T) or not (F) 
    59 / 
    60 !----------------------------------------------------------------------- 
    61 &namwad        !   Wetting and drying  default is no WAD 
    62 !----------------------------------------------------------------------- 
    63 / 
    64 !----------------------------------------------------------------------- 
    65 &namcrs        !   coarsened grid (for outputs and/or TOP)              (ln_crs =T) 
    66 !----------------------------------------------------------------------- 
    67 / 
    68 !----------------------------------------------------------------------- 
    69 &namc1d        !   1D configuration options                             ("key_c1d") 
    70 !----------------------------------------------------------------------- 
    71 / 
    72 !----------------------------------------------------------------------- 
    73 &namc1d_dyndmp !   U & V newtonian damping                              ("key_c1d") 
    74 !----------------------------------------------------------------------- 
    75 / 
    76 !----------------------------------------------------------------------- 
    77 &namc1d_uvd    !   data: U & V currents                                 ("key_c1d") 
    78 !----------------------------------------------------------------------- 
    79 / 
     60 
     61!!====================================================================== 
     62!!            ***  Surface Boundary Condition namelists  ***          !! 
     63!!                                                                    !! 
     64!!   namsbc          surface boundary condition manager                 (default: NO selection) 
     65!!   namsbc_flx      flux               formulation                     (ln_flx     =T) 
     66!!   namsbc_blk      Bulk formulae formulation                          (ln_blk     =T) 
     67!!   namsbc_cpl      CouPLed            formulation                     ("key_oasis3" ) 
     68!!   namsbc_sas      Stand-Alone Surface module                         (SAS_SRC  only) 
     69!!   namsbc_iif      Ice-IF: use observed ice cover                     (nn_ice = 1   ) 
     70!!   namtra_qsr      penetrative solar radiation                        (ln_traqsr  =T) 
     71!!   namsbc_ssr      sea surface restoring term (for T and/or S)        (ln_ssr     =T) 
     72!!   namsbc_rnf      river runoffs                                      (ln_rnf     =T) 
     73!!   namsbc_apr      Atmospheric Pressure                               (ln_apr_dyn =T) 
     74!!   namsbc_isf      ice shelf melting/freezing                         (ln_isfcav  =T : read (ln_read_cfg=T) or set or usr_def_zgr ) 
     75!!   namsbc_iscpl    coupling option between land ice model and ocean   (ln_isfcav  =T) 
     76!!   namsbc_wave     external fields from wave model                    (ln_wave    =T) 
     77!!   namberg         iceberg floats                                     (ln_icebergs=T) 
     78!!====================================================================== 
     79! 
    8080!----------------------------------------------------------------------- 
    8181&namsbc        !   Surface Boundary Condition (surface module) 
    8282!----------------------------------------------------------------------- 
    8383  nn_fsbc     = 1         !  frequency of surface boundary condition computation 
    84                           !     (also = the frequency of sea-ice & iceberg model call) 
    8584  ln_usr      = .true.    !  user defined formulation                  (T => check usrdef_sbc) 
    86   ln_blk      = .false.   !  Bulk formulation                          (T => fill namsbc_blk ) 
    87   nn_ice      = 0         !  =0 no ice boundary condition    
    88   ln_traqsr   = .false.   !  Light penetration in the ocean            (T => fill namtra_qsr ) 
    89   ln_rnf      = .false.   !  runoffs                                   (T => fill namsbc_rnf) 
    90   ln_ssr      = .false.   !  Sea Surface Restoring on T and/or S       (T => fill namsbc_ssr) 
    91   nn_fwb      = 0         !  FreshWater Budget: =0 unchecked 
    92 / 
    93 !----------------------------------------------------------------------- 
    94 &namsbc_flx    !   surface boundary condition : flux formulation 
    95 !----------------------------------------------------------------------- 
    96 / 
    97 !----------------------------------------------------------------------- 
    98 &namsbc_blk   !   namsbc_blk  generic Bulk formula                      (ln_blk =T) 
    99 !----------------------------------------------------------------------- 
    100 / 
    101 !----------------------------------------------------------------------- 
    102 &namsbc_cpl    !   coupled ocean/atmosphere model                       ("key_oasis3") 
    103 !----------------------------------------------------------------------- 
    104 / 
    105 !----------------------------------------------------------------------- 
    106 &namsbc_sas    !   Stand-Alone Surface boundary condition 
    107 !----------------------------------------------------------------------- 
    108 / 
    109 !----------------------------------------------------------------------- 
    110 &namsbc_iif    !   Ice-IF : use observed ice cover                      (nn_ice = 1) 
    111 !----------------------------------------------------------------------- 
    112 / 
    113 !----------------------------------------------------------------------- 
    114 &namtra_qsr    !   penetrative solar radiation                          (ln_traqsr =T) 
    115 !----------------------------------------------------------------------- 
    116 / 
    117 !----------------------------------------------------------------------- 
    118 &namsbc_rnf    !   runoffs namelist surface boundary condition          (ln_rnf =T) 
    119 !----------------------------------------------------------------------- 
    120 / 
    121 !----------------------------------------------------------------------- 
    122 &namsbc_isf    !  Top boundary layer (ISF)                              (nn_isf >0) 
    123 !----------------------------------------------------------------------- 
    124 / 
    125 !----------------------------------------------------------------------- 
    126 &namsbc_iscpl  !   land ice / ocean coupling option                      
    127 !----------------------------------------------------------------------- 
    128 / 
    129 !----------------------------------------------------------------------- 
    130 &namsbc_apr    !   Atmospheric pressure used as ocean forcing           (ln_apr_dyn =T) 
    131 !----------------------------------------------------------------------- 
    132 / 
    133 !----------------------------------------------------------------------- 
    134 &namsbc_ssr    !   surface boundary condition : sea surface restoring   (ln_ssr =T) 
    135 !----------------------------------------------------------------------- 
    136 / 
    137 !----------------------------------------------------------------------- 
    138 &namsbc_wave   ! External fields from wave model                        (ln_wave=T) 
    139 !----------------------------------------------------------------------- 
    140 / 
    141 !----------------------------------------------------------------------- 
    142 &namberg       !   iceberg parameters                                   (default: No iceberg) 
    143 !----------------------------------------------------------------------- 
    144 / 
     85/ 
     86 
     87!!====================================================================== 
     88!!               ***  Lateral boundary condition  ***                 !! 
     89!!                                                                    !! 
     90!!   namlbc        lateral momentum boundary condition                  (default: no slip) 
     91!!   namagrif      agrif nested grid ( read by child model only )       ("key_agrif") 
     92!!   nam_tide      Tidal forcing                                        (default: NO) 
     93!!   nambdy        Unstructured open boundaries                         (default: NO) 
     94!!   nambdy_dta    Unstructured open boundaries - external data         (see  nambdy) 
     95!!   nambdy_tide   tidal forcing at open boundaries                     (default: NO) 
     96!!====================================================================== 
     97! 
    14598!----------------------------------------------------------------------- 
    14699&namlbc        !   lateral momentum boundary condition 
    147100!----------------------------------------------------------------------- 
    148    !                       !  free slip  !   partial slip  !   no slip   ! strong slip 
    149   rn_shlat     =    0.    !  shlat = 0  !  0 < shlat < 2  !  shlat = 2  !  2 < shlat 
    150 / 
    151 !----------------------------------------------------------------------- 
    152 &namagrif      !  AGRIF zoom                                            ("key_agrif") 
    153 !----------------------------------------------------------------------- 
    154    ln_spc_dyn    = .true.  !  use 0 as special value for dynamics 
    155    rn_sponge_tra =  800.   !  coefficient for tracer   sponge layer [m2/s] 
    156    rn_sponge_dyn =  800.   !  coefficient for dynamics sponge layer [m2/s] 
    157    ln_chk_bathy  = .FALSE. ! 
    158 / 
    159 !----------------------------------------------------------------------- 
    160 &nam_tide      !   tide parameters 
    161 !----------------------------------------------------------------------- 
    162 / 
    163 !----------------------------------------------------------------------- 
    164 &nambdy        !  unstructured open boundaries                           
    165 !----------------------------------------------------------------------- 
    166 / 
    167 !----------------------------------------------------------------------- 
    168 &nambdy_dta    !  open boundaries - external data                        
    169 !----------------------------------------------------------------------- 
    170 / 
    171 !----------------------------------------------------------------------- 
    172 &nambdy_tide   !  tidal forcing at open boundaries 
    173 !----------------------------------------------------------------------- 
    174 / 
     101  rn_shlat     =    0.    !  free slip 
     102/ 
     103!!====================================================================== 
     104!!                ***  Top/Bottom boundary condition  ***             !! 
     105!!                                                                    !! 
     106!!   namdrg        top/bottom drag coefficient                          (default: NO selection) 
     107!!   namdrg_top    top    friction                                      (ln_NONE=F & ln_isfcav=T) 
     108!!   namdrg_bot    bottom friction                                      (ln_NONE=F) 
     109!!   nambbc        bottom temperature boundary condition                (default: NO) 
     110!!   nambbl        bottom boundary layer scheme                         (default: NO) 
     111!!====================================================================== 
     112! 
    175113!----------------------------------------------------------------------- 
    176114&namdrg        !   top/bottom drag coefficient                          (default: NO selection) 
     
    178116   ln_NONE    = .true.    !  free-slip       : Cd = 0 
    179117/ 
    180 !----------------------------------------------------------------------- 
    181 &namdrg_top    !   TOP friction                                         (ln_isfcav=T) 
    182 !----------------------------------------------------------------------- 
    183 / 
    184 !----------------------------------------------------------------------- 
    185 &namdrg_bot    !   BOTTOM friction                                   
    186 !----------------------------------------------------------------------- 
    187 / 
    188 !----------------------------------------------------------------------- 
    189 &nambbc        !   bottom temperature boundary condition                (default: NO) 
    190 !----------------------------------------------------------------------- 
    191 / 
    192 !----------------------------------------------------------------------- 
    193 &nambbl        !   bottom boundary layer scheme                         (default: NO) 
    194 !----------------------------------------------------------------------- 
    195 / 
    196 !----------------------------------------------------------------------- 
    197 &nameos        !   ocean Equation Of Seawater                           (default: NO) 
     118 
     119!!====================================================================== 
     120!!                        Tracer (T & S) namelists                    !! 
     121!!                                                                    !! 
     122!!   nameos           equation of state                                 (default: NO selection) 
     123!!   namtra_adv       advection scheme                                  (default: NO selection) 
     124!!   namtra_ldf       lateral diffusion scheme                          (default: NO selection) 
     125!!   namtra_adv_mle   mixed layer eddy param. (Fox-Kemper param.)       (default: NO) 
     126!!   namtra_eiv       eddy induced velocity param.                      (default: NO) 
     127!!   namtra_dmp       T & S newtonian damping                           (default: NO) 
     128!!====================================================================== 
     129! 
     130!----------------------------------------------------------------------- 
     131&nameos        !   ocean Equation Of Seawater                           (default: NO selection) 
    198132!----------------------------------------------------------------------- 
    199133   ln_seos     = .true.         !  = Use simplified equation of state (S-EOS) 
     
    224158/ 
    225159!----------------------------------------------------------------------- 
    226 &namtra_adv_mle !   mixed layer eddy parametrisation (Fox-Kemper param) (default: NO) 
    227 !----------------------------------------------------------------------- 
    228 / 
    229 !----------------------------------------------------------------------- 
    230160&namtra_ldf    !   lateral diffusion scheme for tracers                 (default: NO selection) 
    231161!----------------------------------------------------------------------- 
    232   !                       !  Operator type: 
    233162   ln_traldf_NONE  =  .true.  !  No explicit diffusion 
    234    ln_traldf_lap   =  .false.  !    laplacian operator 
    235    ln_traldf_blp   =  .false.  !  bilaplacian operator 
    236    ! 
    237    !                       !  Direction of action: 
    238    ln_traldf_lev   =  .false.  !  iso-level 
    239    ln_traldf_hor   =  .false.  !  horizontal (geopotential) 
    240    ln_traldf_iso   =  .false.  !  iso-neutral (standard operator) 
    241    ln_traldf_triad =  .false.  !  iso-neutral (triad    operator) 
    242    ! 
    243    !                       !  iso-neutral options:         
    244    ln_traldf_msc   =  .false.  !  Method of Stabilizing Correction (both operators) 
    245    rn_slpmax       =   0.01    !  slope limit                      (both operators) 
    246    ln_triad_iso    =  .false.  !  pure horizontal mixing in ML              (triad only) 
    247    rn_sw_triad     =  1        !  =1 switching triad ; =0 all 4 triads used (triad only) 
    248    ln_botmix_triad =  .false.  !  lateral mixing on bottom                  (triad only) 
    249    ! 
    250    !                       !  Coefficients: 
    251    nn_aht_ijk_t    = 0         !  space/time variation of eddy coef 
    252    !                                !   =-20 (=-30)    read in eddy_diffusivity_2D.nc (..._3D.nc) file 
    253    !                                !   =  0           constant  
    254    !                                !   = 10 F(k)      =ldf_c1d  
    255    !                                !   = 20 F(i,j)    =ldf_c2d  
    256    !                                !   = 21 F(i,j,t)  =Treguier et al. JPO 1997 formulation 
    257    !                                !   = 30 F(i,j,k)  =ldf_c2d * ldf_c1d 
    258    !                                !   = 31 F(i,j,k,t)=F(local velocity and grid-spacing) 
    259    rn_aht_0        = 2000.     !  lateral eddy diffusivity   (lap. operator) [m2/s] 
    260    rn_bht_0        = 1.e+12    !  lateral eddy diffusivity (bilap. operator) [m4/s] 
    261 / 
    262 !----------------------------------------------------------------------- 
    263 &namtra_ldfeiv !   eddy induced velocity param.                         (default: NO) 
    264 !----------------------------------------------------------------------- 
    265 / 
    266 !----------------------------------------------------------------------- 
    267 &namtra_dmp    !   tracer: T & S newtonian damping                      (default: NO) 
    268 !----------------------------------------------------------------------- 
    269    ln_tradmp   =  .false.   !  add a damping termn (T) or not (F) 
    270 / 
    271 !----------------------------------------------------------------------- 
    272 &nam_vvl       !   vertical coordinate options                          (default: z-star) 
    273 !----------------------------------------------------------------------- 
    274    ln_vvl_zstar  = .true.           !  zstar vertical coordinate 
    275 / 
     163/ 
     164 
     165!!====================================================================== 
     166!!                      ***  Dynamics namelists  ***                  !! 
     167!!                                                                    !! 
     168!!   nam_vvl       vertical coordinate options                          (default: z-star) 
     169!!   namdyn_adv    formulation of the momentum advection                (default: NO selection) 
     170!!   namdyn_vor    advection scheme                                     (default: NO selection) 
     171!!   namdyn_hpg    hydrostatic pressure gradient                        (default: NO selection) 
     172!!   namdyn_spg    surface pressure gradient                            (default: NO selection) 
     173!!   namdyn_ldf    lateral diffusion scheme                             (default: NO selection) 
     174!!   namdta_dyn    offline TOP: dynamics read in files                  (OFF_SRC only) 
     175!!====================================================================== 
     176! 
    276177!----------------------------------------------------------------------- 
    277178&namdyn_adv    !   formulation of the momentum advection                (default: NO selection) 
     
    279180   ln_dynadv_NONE= .false. !  linear dynamics (no momentum advection) 
    280181   ln_dynadv_vec = .false. !  vector form (T) or flux form (F) 
    281    nn_dynkeg     = 0       ! scheme for grad(KE): =0   C2  ;  =1   Hollingsworth correction 
     182      nn_dynkeg     = 0       ! scheme for grad(KE): =0   C2  ;  =1   Hollingsworth correction 
    282183   ln_dynadv_cen2= .false. !  flux form - 2nd order centered scheme 
    283184   ln_dynadv_ubs = .true.  !  flux form - 3rd order UBS      scheme 
    284185/ 
    285186!----------------------------------------------------------------------- 
    286 &namdyn_vor    !   Vorticity / Coriolis scheme                          (default: NO) 
     187&namdyn_vor    !   Vorticity / Coriolis scheme                          (default: NO selection) 
    287188!----------------------------------------------------------------------- 
    288189   ln_dynvor_ene = .true.  !  energy conserving scheme 
     
    299200/ 
    300201!----------------------------------------------------------------------- 
    301 &namdyn_spg    !   surface pressure gradient                            (default: NO) 
     202&namdyn_spg    !   surface pressure gradient                            (default: NO selection) 
    302203!----------------------------------------------------------------------- 
    303204   ln_dynspg_exp  = .false.  
     
    324225   !                       !  Coefficient 
    325226   nn_ahm_ijk_t  = 20           !  space/time variation of eddy coef 
    326    !                                !  =-30  read in eddy_viscosity_3D.nc file 
    327    !                                !  =-20  read in eddy_viscosity_2D.nc file 
    328    !                                !  =  0  constant 
    329    !                                !  = 10  F(k)=c1d 
    330    !                                !  = 20  F(i,j)=F(grid spacing)=c2d 
    331    !                                !  = 30  F(i,j,k)=c2d*c1d 
    332    !                                !  = 31  F(i,j,k)=F(grid spacing and local velocity) 
    333    !                                !  = 32  F(i,j,k)=F(local gridscale and deformation rate) 
    334    ! Caution in 20 and 30 cases the coefficient have to be given for a 1 degree grid (~111km) 
    335    rn_ahm_0      =     0.01    !  horizontal laplacian eddy viscosity   [m2/s] 
    336    rn_ahm_b      =     0.      !  background eddy viscosity for ldf_iso [m2/s] 
    337    rn_bhm_0      =     1.e+12  !  horizontal bilaplacian eddy viscosity [m4/s] 
    338    !                       !  Smagorinsky settings (nn_ahm_ijk_t  = 32) : 
    339    rn_csmc       = 3.5         !  Smagorinsky constant of proportionality 
    340    rn_minfac     = 1.0         !  multiplier of theorectical lower limit 
    341    rn_maxfac     = 1.0         !  multiplier of theorectical upper limit 
    342 / 
     227      !                             !  =-30  read in eddy_viscosity_3D.nc file 
     228      !                             !  =-20  read in eddy_viscosity_2D.nc file 
     229      !                             !  =  0  constant  
     230      !                             !  = 10  F(k)=c1d 
     231      !                             !  = 20  F(i,j)=F(grid spacing)=c2d 
     232      !                             !  = 30  F(i,j,k)=c2d*c1d 
     233      !                             !  = 31  F(i,j,k)=F(grid spacing and local velocity) 
     234      !                             !  = 32  F(i,j,k)=F(local gridscale and deformation rate) 
     235      !                        !  time invariant coefficients :  ahm = 1/2  Uv*Lv   (lap case)  
     236      !                             !                            bhm = 1/12 Uv*Lv^3 (blp case) 
     237      rn_Uv      = 0.1              !  lateral viscous velocity [m/s] (nn_ahm_ijk_t= 0, 10, 20, 30) 
     238      rn_Lv      = 30.e+3           !  lateral viscous length   [m]   (nn_ahm_ijk_t= 0, 10) 
     239      !                       !  Smagorinsky settings  (nn_ahm_ijk_t= 32) : 
     240      rn_csmc       = 3.5         !  Smagorinsky constant of proportionality 
     241      rn_minfac     = 1.0         !  multiplier of theorectical lower limit 
     242      rn_maxfac     = 1.0         !  multiplier of theorectical upper limit 
     243      !                       !  iso-neutral laplacian operator (ln_dynldf_iso=T) : 
     244      rn_ahm_b      = 0.0         !  background eddy viscosity  [m2/s] 
     245/ 
     246!!====================================================================== 
     247!!                     vertical physics namelists                     !! 
     248!!                                                                    !! 
     249!!    namzdf        vertical physics manager                            (default: NO selection) 
     250!!    namzdf_ric    richardson number vertical mixing                   (ln_zdfric=T) 
     251!!    namzdf_tke    TKE vertical mixing                                 (ln_zdftke=T) 
     252!!    namzdf_gls    GLS vertical mixing                                 (ln_zdfgls=T) 
     253!!    namzdf_osm    OSM vertical diffusion                              (ln_zdfosm=T) 
     254!!    namzdf_iwm    tidal mixing parameterization                       (ln_zdfiwm=T) 
     255!!====================================================================== 
     256! 
    343257!----------------------------------------------------------------------- 
    344258&namzdf        !   vertical physics                                     (default: NO selection) 
    345259!----------------------------------------------------------------------- 
    346    !                       ! type of vertical closure 
    347260   ln_zdfcst   = .true.       !  constant mixing 
    348    ! 
    349    !                       ! convection 
    350    ln_zdfevd   = .false.      !  enhanced vertical diffusion 
    351    ln_zdfnpc   = .false.      !  Non-Penetrative Convective algorithm 
    352    ! 
    353261   !                       ! coefficients 
    354262   rn_avm0     =   1.e-4      !  vertical eddy viscosity   [m2/s]       (background Kz if ln_zdfcst=F) 
     
    357265   nn_havtb    =    0         !  horizontal shape for avtb (=1) or not (=0) 
    358266/ 
    359 !----------------------------------------------------------------------- 
    360 &namzdf_ric    !   richardson number dependent vertical diffusion       (ln_zdfric =T) 
    361 !----------------------------------------------------------------------- 
    362 / 
    363 !----------------------------------------------------------------------- 
    364 &namzdf_tke    !   turbulent eddy kinetic dependent vertical diffusion  (ln_zdftke =T) 
    365 !----------------------------------------------------------------------- 
    366 / 
    367 !----------------------------------------------------------------------- 
    368 &namzdf_gls    !   GLS vertical diffusion                               (ln_zdfgls =T) 
    369 !----------------------------------------------------------------------- 
    370 / 
    371 !----------------------------------------------------------------------- 
    372 &namzdf_osm    !   OSM vertical diffusion                               (ln_zdfosm =T) 
    373 !----------------------------------------------------------------------- 
    374 / 
    375 !----------------------------------------------------------------------- 
    376 &namzdf_iwm    !    internal wave-driven mixing parameterization        (ln_zdfiwm =T) 
    377 !----------------------------------------------------------------------- 
    378 / 
    379 !----------------------------------------------------------------------- 
    380 &nammpp        !   Massively Parallel Processing                        ("key_mpp_mpi") 
    381 !----------------------------------------------------------------------- 
    382 / 
    383 !----------------------------------------------------------------------- 
    384 &namctl        !   Control prints  
    385 !----------------------------------------------------------------------- 
    386 / 
    387 !----------------------------------------------------------------------- 
    388 &namsto        ! Stochastic parametrization of EOS                      (default: NO) 
    389 !----------------------------------------------------------------------- 
    390 / 
     267 
     268!!====================================================================== 
     269!!                  ***  Diagnostics namelists  ***                   !! 
     270!!                                                                    !! 
     271!!   namtrd       dynamics and/or tracer trends                         (default NO) 
     272!!   namptr       Poleward Transport Diagnostics                        (default NO) 
     273!!   namhsb       Heat and salt budgets                                 (default NO) 
     274!!   namdiu       Cool skin and warm layer models                       (default NO) 
     275!!   namdiu       Cool skin and warm layer models                       (default NO) 
     276!!   namflo       float parameters                                      ("key_float") 
     277!!   nam_diaharm  Harmonic analysis of tidal constituents               ("key_diaharm") 
     278!!   namdct       transports through some sections                      ("key_diadct") 
     279!!   nam_diatmb   Top Middle Bottom Output                              (default NO) 
     280!!   nam_dia25h   25h Mean Output                                       (default NO) 
     281!!   namnc4       netcdf4 chunking and compression settings             ("key_netcdf4") 
     282!!====================================================================== 
     283! 
    391284!----------------------------------------------------------------------- 
    392285&namtrd        !   trend diagnostics                                    (default F) 
     
    402295   nn_trd      = 365       !  print frequency (ln_glo_trd=T) (unit=time step) 
    403296/ 
    404 !----------------------------------------------------------------------- 
    405 &namptr        !   Poleward Transport Diagnostic                        (default F) 
    406 !----------------------------------------------------------------------- 
    407 / 
    408 !----------------------------------------------------------------------- 
    409 &namhsb        !  Heat and salt budgets                                 (default F) 
    410 !----------------------------------------------------------------------- 
    411 / 
    412 !----------------------------------------------------------------------- 
    413 &namdiu        !   Cool skin and warm layer models                      (default F) 
    414 !----------------------------------------------------------------------- 
    415 / 
    416 !----------------------------------------------------------------------- 
    417 &namflo        !   float parameters                                     ("key_float") 
    418 !----------------------------------------------------------------------- 
    419 / 
    420 !----------------------------------------------------------------------- 
    421 &nam_diaharm   !   Harmonic analysis of tidal constituents              ("key_diaharm") 
    422 !----------------------------------------------------------------------- 
    423 / 
    424 !----------------------------------------------------------------------- 
    425 &namdct        ! transports through some sections                       ("key_diadct") 
    426 !----------------------------------------------------------------------- 
    427 / 
    428 !----------------------------------------------------------------------- 
    429 &nam_diatmb    !  Top Middle Bottom Output                              (default F) 
    430 !----------------------------------------------------------------------- 
    431 / 
    432 !----------------------------------------------------------------------- 
    433 &nam_dia25h    !  25h Mean Output                                       (default F) 
    434 !----------------------------------------------------------------------- 
    435 / 
    436 !----------------------------------------------------------------------- 
    437 &namnc4        !   netcdf4 chunking and compression settings            ("key_netcdf4") 
    438 !----------------------------------------------------------------------- 
    439 / 
    440 !----------------------------------------------------------------------- 
    441 &namobs        !  observation usage switch 
    442 !----------------------------------------------------------------------- 
    443 / 
    444 !----------------------------------------------------------------------- 
    445 &nam_asminc    !   assimilation increments                              ('key_asminc') 
    446 !----------------------------------------------------------------------- 
    447 / 
    448 !----------------------------------------------------------------------- 
    449 &namdta_dyn    !   offline dynamics read in files                       ("key_offline") 
    450 !----------------------------------------------------------------------- 
    451 / 
  • branches/2017/dev_merge_2017/NEMOGCM/CONFIG/TEST_CASES/ISOMIP/EXP00/namelist_cfg

    r9356 r9490  
    11!!>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
    2 !! NEMO/OPA  : ISOMIP Configuration namelist to overwrite reference dynamical namelist 
     2!! NEMO/OPA  : ISOMIP Configuration namelist : overwrite reference dynamical namelist 
    33!!>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
    4 !----------------------------------------------------------------------- 
    5 &namusr_def    !   ISOMIP user defined namelist   
    6 !----------------------------------------------------------------------- 
    7    ln_zps      = .true.    ! z-partial-step coordinate 
    8    ln_zco      = .false.   ! z-full-step coordinate 
    9    ln_sco      = .false.   ! s-coordinate 
    10    rn_e1deg    =   0.3     !  zonal      grid-spacing (degrees) 
    11    rn_e2deg    =   0.1     !  meridional grid-spacing (degrees) 
    12    rn_e3       =   30.     !  vertical resolution 
    13 / 
     4 
     5!!====================================================================== 
     6!!              ***  Domain & Run management namelists  ***           !! 
     7!!                                                                    !! 
     8!!   namrun       parameters of the run 
     9!!   namdom       space and time domain 
     10!!   namcfg       parameters of the configuration                       (default: use namusr_def in namelist_cfg) 
     11!!   namusr_def   user defined configuration 
     12!!====================================================================== 
     13! 
    1414!----------------------------------------------------------------------- 
    1515&namrun        !   parameters of the run 
     
    2626/ 
    2727!----------------------------------------------------------------------- 
    28 &namcfg        !   parameters of the configuration                      (default: user defined GYRE) 
    29 !----------------------------------------------------------------------- 
    30    ln_read_cfg = .false.   !  (=T) read the domain configuration file 
    31       !                    !  (=F) user defined configuration  ==>>>  see usrdef(_...) modules 
    32       cn_domcfg = "ISOMIP_zps_domcfg"         ! domain configuration filename 
    33       ! 
    34    ln_write_cfg= .false.   !  (=T) create the domain configuration file 
    35       cn_domcfg_out = "ISOMIP_cfg_out"    ! filename of the created file 
     28&namusr_def    !   ISOMIP user defined namelist   
     29!----------------------------------------------------------------------- 
     30   ln_zps      = .true.    ! z-partial-step coordinate 
     31   ln_zco      = .false.   ! z-full-step coordinate 
     32   ln_sco      = .false.   ! s-coordinate 
     33   rn_e1deg    =   0.3     !  zonal      grid-spacing (degrees) 
     34   rn_e2deg    =   0.1     !  meridional grid-spacing (degrees) 
     35   rn_e3       =   30.     !  vertical resolution 
    3636/ 
    3737!----------------------------------------------------------------------- 
    3838&namdom        !   time and space domain 
    3939!----------------------------------------------------------------------- 
    40    ln_linssh   = .false.    !  =T  linear free surface  ==>>  model level are fixed in time 
    41    ! 
     40   ln_linssh   = .false.   !  =T  linear free surface  ==>>  model level are fixed in time 
    4241   rn_rdt      = 1800.     !  time step for the dynamics (and tracer if nn_acc=0) 
    43    ! 
    44    ln_meshmask = .false.   !  =T create a mesh file 
    45 / 
    46 !----------------------------------------------------------------------- 
    47 &namtsd        !   data : Temperature  & Salinity 
    48 !----------------------------------------------------------------------- 
    49    cn_dir        = './'      !  root directory for the location of the runoff files 
    50    ln_tsd_init   = .false.   !  Initialisation of ocean T & S with T &S input data (T) or not (F) 
    51    ln_tsd_tradmp = .false.   !  damping of ocean T & S toward T &S input data (T) or not (F) 
    52 / 
    53 !----------------------------------------------------------------------- 
    54 &namwad        !   Wetting and drying  default is no WAD 
    55 !----------------------------------------------------------------------- 
    56 / 
    57 !----------------------------------------------------------------------- 
    58 &namcrs        !   coarsened grid (for outputs and/or TOP)              (ln_crs =T) 
    59 !----------------------------------------------------------------------- 
    60 / 
    61 !----------------------------------------------------------------------- 
    62 &namc1d        !   1D configuration options                             ("key_c1d") 
    63 !----------------------------------------------------------------------- 
    64 / 
    65 !----------------------------------------------------------------------- 
    66 &namc1d_dyndmp !   U & V newtonian damping                              ("key_c1d") 
    67 !----------------------------------------------------------------------- 
    68 / 
    69 !----------------------------------------------------------------------- 
    70 &namc1d_uvd    !   data: U & V currents                                 ("key_c1d") 
    71 !----------------------------------------------------------------------- 
    72 / 
     42/ 
     43 
     44!!====================================================================== 
     45!!            ***  Surface Boundary Condition namelists  ***          !! 
     46!!                                                                    !! 
     47!!   namsbc          surface boundary condition manager                 (default: NO selection) 
     48!!   namsbc_flx      flux               formulation                     (ln_flx     =T) 
     49!!   namsbc_blk      Bulk formulae formulation                          (ln_blk     =T) 
     50!!   namsbc_cpl      CouPLed            formulation                     ("key_oasis3" ) 
     51!!   namsbc_sas      Stand-Alone Surface module                         (SAS_SRC  only) 
     52!!   namsbc_iif      Ice-IF: use observed ice cover                     (nn_ice = 1   ) 
     53!!   namtra_qsr      penetrative solar radiation                        (ln_traqsr  =T) 
     54!!   namsbc_ssr      sea surface restoring term (for T and/or S)        (ln_ssr     =T) 
     55!!   namsbc_rnf      river runoffs                                      (ln_rnf     =T) 
     56!!   namsbc_apr      Atmospheric Pressure                               (ln_apr_dyn =T) 
     57!!   namsbc_isf      ice shelf melting/freezing                         (ln_isfcav  =T : read (ln_read_cfg=T) or set or usr_def_zgr ) 
     58!!   namsbc_iscpl    coupling option between land ice model and ocean   (ln_isfcav  =T) 
     59!!====================================================================== 
     60! 
    7361!----------------------------------------------------------------------- 
    7462&namsbc        !   Surface Boundary Condition (surface module) 
    7563!----------------------------------------------------------------------- 
    7664   nn_fsbc     = 1         !  frequency of surface boundary condition computation 
    77    !                       !     (also = the frequency of sea-ice model call) 
    78    ln_blk      = .false.    !  Bulk formulation                          (T => fill namsbc_blk ) 
    7965   ln_usr      = .true.    !  user defined formulation                  (T => check usrdef_sbc) 
    80    nn_ice      = 0         !  =0 no ice boundary condition   , 
    81                            !  =1 use observed ice-cover      ,  
    82                            !  =2 ice-model used                 
    83    ln_ice_embd = .false.   !  =F levitating ice with mass and salt exchange but no presure effect 
    84                            !  =T embedded sea-ice (full salt and mass exchanges and pressure) 
    85                      ! Misc. options of sbc : 
    86    ln_traqsr   = .false.   !  Light penetration (T) or not (F) 
    87    ln_rnf      = .false.   !  runoffs                                   (T => fill namsbc_rnf) 
    8866   ln_isf      = .true.    !  ice shelf melting/freezing                (T => fill namsbc_isf) 
    89    ln_ssr      = .false.   !  Sea Surface Restoring on T and/or S       (T => fill namsbc_ssr) 
    90    nn_fwb      = 0         !  FreshWater Budget: =0 unchecked 
    91                            !     =1 global mean of e-p-r set to zero at each time step 
    92                            !     =2 annual global mean of e-p-r set to zero 
    93 / 
    94 !----------------------------------------------------------------------- 
    95 &namsbc_flx    !   surface boundary condition : flux formulation 
    96 !----------------------------------------------------------------------- 
    97 / 
    98 !----------------------------------------------------------------------- 
    99 &namsbc_blk   !   namsbc_blk  generic Bulk formula                      (ln_blk =T) 
    100 !----------------------------------------------------------------------- 
    101 / 
    102 !----------------------------------------------------------------------- 
    103 &namsbc_cpl    !   coupled ocean/atmosphere model                       ("key_oasis3") 
    104 !----------------------------------------------------------------------- 
    105 / 
    106 !----------------------------------------------------------------------- 
    107 &namsbc_sas    !   Stand-Alone Surface boundary condition 
    108 !----------------------------------------------------------------------- 
    109 / 
    110 !----------------------------------------------------------------------- 
    111 &namsbc_iif    !   Ice-IF : use observed ice cover                      (nn_ice = 1) 
    112 !----------------------------------------------------------------------- 
    113 / 
    114 !----------------------------------------------------------------------- 
    115 &namtra_qsr    !   penetrative solar radiation                          (ln_traqsr =T) 
    116 !----------------------------------------------------------------------- 
    117 / 
    118 !----------------------------------------------------------------------- 
    119 &namsbc_rnf    !   runoffs namelist surface boundary condition          (ln_rnf =T) 
    120 !----------------------------------------------------------------------- 
    12167/ 
    12268!----------------------------------------------------------------------- 
     
    156102!----------------------------------------------------------------------- 
    157103/ 
    158 !----------------------------------------------------------------------- 
    159 &namsbc_apr    !   Atmospheric pressure used as ocean forcing           (ln_apr_dyn =T) 
    160 !----------------------------------------------------------------------- 
    161 / 
    162 !----------------------------------------------------------------------- 
    163 &namsbc_ssr    !   surface boundary condition : sea surface restoring   (ln_ssr =T) 
    164 !----------------------------------------------------------------------- 
    165 / 
    166 !----------------------------------------------------------------------- 
    167 &namsbc_wave   ! External fields from wave model                        (ln_wave=T) 
    168 !----------------------------------------------------------------------- 
    169 / 
    170 !----------------------------------------------------------------------- 
    171 &namberg       !   iceberg parameters                                   (default: No iceberg) 
    172 !----------------------------------------------------------------------- 
    173 / 
     104 
     105!!====================================================================== 
     106!!               ***  Lateral boundary condition  ***                 !! 
     107!!                                                                    !! 
     108!!   namlbc        lateral momentum boundary condition                  (default: no slip) 
     109!!   namagrif      agrif nested grid ( read by child model only )       ("key_agrif") 
     110!!   nam_tide      Tidal forcing                                        (default: NO) 
     111!!   nambdy        Unstructured open boundaries                         (default: NO) 
     112!!   nambdy_dta    Unstructured open boundaries - external data         (see  nambdy) 
     113!!   nambdy_tide   tidal forcing at open boundaries                     (default: NO) 
     114!!====================================================================== 
     115! 
    174116!----------------------------------------------------------------------- 
    175117&namlbc        !   lateral momentum boundary condition 
    176118!----------------------------------------------------------------------- 
    177                            !  free slip  !   partial slip  !   no slip   ! strong slip 
    178    rn_shlat    =    0.     !  shlat = 0  !  0 < shlat < 2  !  shlat = 2  !  2 < shlat 
    179    ln_vorlat   = .false.   !  consistency of vorticity boundary condition with analytical eqs. 
    180 / 
    181 !----------------------------------------------------------------------- 
    182 &namagrif      !  AGRIF zoom                                            ("key_agrif") 
    183 !----------------------------------------------------------------------- 
    184 / 
    185 !----------------------------------------------------------------------- 
    186 &nam_tide      !   tide parameters 
    187 !----------------------------------------------------------------------- 
    188 / 
    189 !----------------------------------------------------------------------- 
    190 &nambdy        !  unstructured open boundaries                           
    191 !----------------------------------------------------------------------- 
    192 / 
    193 !----------------------------------------------------------------------- 
    194 &nambdy_dta    !  open boundaries - external data                        
    195 !----------------------------------------------------------------------- 
    196 / 
    197 !----------------------------------------------------------------------- 
    198 &nambdy_tide   !  tidal forcing at open boundaries 
    199 !----------------------------------------------------------------------- 
    200 / 
     119   rn_shlat    =    0.     !  free slip 
     120/ 
     121!!====================================================================== 
     122!!                ***  Top/Bottom boundary condition  ***             !! 
     123!!                                                                    !! 
     124!!   namdrg        top/bottom drag coefficient                          (default: NO selection) 
     125!!   namdrg_top    top    friction                                      (ln_NONE=F & ln_isfcav=T) 
     126!!   namdrg_bot    bottom friction                                      (ln_NONE=F) 
     127!!   nambbc        bottom temperature boundary condition                (default: NO) 
     128!!   nambbl        bottom boundary layer scheme                         (default: NO) 
     129!!====================================================================== 
     130! 
    201131!----------------------------------------------------------------------- 
    202132&namdrg        !   top/bottom drag coefficient                          (default: NO selection) 
     
    231161      rn_boost=  50.         !  local boost factor  [-] 
    232162/ 
    233 !----------------------------------------------------------------------- 
    234 &nambbc        !   bottom temperature boundary condition                (default: NO) 
    235 !----------------------------------------------------------------------- 
    236    ln_trabbc   = .false.   !  Apply a geothermal heating at the ocean bottom 
    237 / 
    238 !----------------------------------------------------------------------- 
    239 &nambbl        !   bottom boundary layer scheme                         (default: NO) 
    240 !----------------------------------------------------------------------- 
    241    nn_bbl_ldf  =  0      !  diffusive bbl (=1)   or not (=0) 
    242    nn_bbl_adv  =  0      !  advective bbl (=1/2) or not (=0) 
    243 / 
     163 
     164!!====================================================================== 
     165!!                        Tracer (T & S) namelists                    !! 
     166!!                                                                    !! 
     167!!   nameos           equation of state                                 (default: NO selection) 
     168!!   namtra_adv       advection scheme                                  (default: NO selection) 
     169!!   namtra_ldf       lateral diffusion scheme                          (default: NO selection) 
     170!!   namtra_adv_mle   mixed layer eddy param. (Fox-Kemper param.)       (default: NO) 
     171!!   namtra_eiv       eddy induced velocity param.                      (default: NO) 
     172!!   namtra_dmp       T & S newtonian damping                           (default: NO) 
     173!!====================================================================== 
     174! 
    244175!----------------------------------------------------------------------- 
    245176&nameos        !   ocean Equation Of Seawater                           (default: NO) 
    246177!----------------------------------------------------------------------- 
    247    ln_teos10   = .false.         !  = Use TEOS-10 equation of state 
    248178   ln_eos80    = .true.          !  = Use EOS80 equation of state 
    249179/ 
     
    256186/ 
    257187!----------------------------------------------------------------------- 
    258 &namtra_adv_mle !   mixed layer eddy parametrisation (Fox-Kemper param) (default: NO) 
    259 !----------------------------------------------------------------------- 
    260 / 
    261 !----------------------------------------------------------------------- 
    262188&namtra_ldf    !   lateral diffusion scheme for tracers                 (default: NO selection) 
    263189!----------------------------------------------------------------------- 
    264    !                       !  Operator type: 
    265190   ln_traldf_lap   =  .true.   !    laplacian operator 
    266    ln_traldf_blp   =  .false.  !  bilaplacian operator 
    267    !                       !  Direction of action: 
    268    ln_traldf_lev   =  .false.  !  iso-level 
    269191   ln_traldf_hor   =  .true.   !  horizontal (geopotential) 
    270    ln_traldf_iso   =  .false.  !  iso-neutral (standard operator) 
    271    ln_traldf_triad =  .false.  !  iso-neutral (triad    operator) 
    272    ! 
    273    !                       !  iso-neutral options:         
    274    ln_traldf_msc   =  .false.  !  Method of Stabilizing Correction (both operators) 
    275    rn_slpmax       =   0.01    !  slope limit                      (both operators) 
    276    ln_triad_iso    =  .false.  !  pure horizontal mixing in ML     (triad only) 
    277    rn_sw_triad     =  1        !  =1 switching triad ; =0 all 4 triads used (triad only) 
    278    ln_botmix_triad =  .false.  !  lateral mixing on bottom         (triad only) 
    279    ! 
    280192   !                       !  Coefficients: 
    281    nn_aht_ijk_t    = 0         !  space/time variation of eddy coef 
    282    !                                !   =-20 (=-30)    read in eddy_induced_velocity_2D.nc (..._3D.nc) file 
    283    !                                !   =  0           constant  
    284    !                                !   = 10 F(k)      =ldf_c1d  
    285    !                                !   = 20 F(i,j)    =ldf_c2d  
    286    !                                !   = 21 F(i,j,t)  =Treguier et al. JPO 1997 formulation 
    287    !                                !   = 30 F(i,j,k)  =ldf_c2d * ldf_c1d 
    288    !                                !   = 31 F(i,j,k,t)=F(local velocity and grid-spacing) 
    289    rn_aht_0        =  100.     !  lateral eddy diffusivity   (lap. operator) [m2/s] 
    290    rn_bht_0        = 1.e+12    !  lateral eddy diffusivity (bilap. operator) [m4/s] 
    291 / 
    292 !----------------------------------------------------------------------- 
    293 &namtra_ldfeiv !   eddy induced velocity param.                         (default: NO) 
    294 !----------------------------------------------------------------------- 
    295    ln_ldfeiv     =.false.   ! use eddy induced velocity parameterization 
    296 / 
    297 !----------------------------------------------------------------------- 
    298 &namtra_dmp    !   tracer: T & S newtonian damping                      (default: NO) 
    299 !----------------------------------------------------------------------- 
    300    ln_tradmp   =  .false.  !  add a damping termn (T) or not (F) 
    301 / 
    302 !----------------------------------------------------------------------- 
    303 &nam_vvl       !   vertical coordinate options                          (default: z-star) 
    304 !----------------------------------------------------------------------- 
    305 / 
     193   nn_aht_ijk_t    = 0         !  =  0   constant = 1/2  Ud*Ld   (lap case)  
     194      rn_Ud        = 0.02           !  lateral diffusive velocity [m/s] 
     195      rn_Ld        = 10.e+3         !  lateral diffusive length   [m] 
     196/ 
     197 
     198!!====================================================================== 
     199!!                      ***  Dynamics namelists  ***                  !! 
     200!!                                                                    !! 
     201!!   nam_vvl       vertical coordinate options                          (default: z-star) 
     202!!   namdyn_adv    formulation of the momentum advection                (default: NO selection) 
     203!!   namdyn_vor    advection scheme                                     (default: NO selection) 
     204!!   namdyn_hpg    hydrostatic pressure gradient                        (default: NO selection) 
     205!!   namdyn_spg    surface pressure gradient                            (default: NO selection) 
     206!!   namdyn_ldf    lateral diffusion scheme                             (default: NO selection) 
     207!!   namdta_dyn    offline TOP: dynamics read in files                  (OFF_SRC only) 
     208!!====================================================================== 
     209! 
    306210!----------------------------------------------------------------------- 
    307211&namdyn_adv    !   formulation of the momentum advection                (default: NO selection) 
    308212!----------------------------------------------------------------------- 
    309213   ln_dynadv_vec = .true.  !  vector form (T) or flux form (F) 
    310    nn_dynkeg     = 0       ! scheme for grad(KE): =0   C2  ;  =1   Hollingsworth correction 
    311    ln_dynadv_cen2= .false. !  flux form - 2nd order centered scheme 
    312    ln_dynadv_ubs = .false. !  flux form - 3rd order UBS      scheme 
     214      nn_dynkeg  = 0          ! scheme for grad(KE): =0   C2  ;  =1   Hollingsworth correction 
    313215/ 
    314216!----------------------------------------------------------------------- 
    315217&namdyn_vor    !   Vorticity / Coriolis scheme                          (default: NO) 
    316218!----------------------------------------------------------------------- 
    317    ln_dynvor_ene = .true.  !  enstrophy conserving scheme 
    318    ln_dynvor_ens = .false. !  energy conserving scheme 
    319    ln_dynvor_mix = .false. !  mixed scheme 
    320    ln_dynvor_een = .false. !  energy & enstrophy scheme 
    321       nn_een_e3f = 1             !  e3f = masked averaging of e3t divided by 4 (=0) or by the sum of mask (=1) 
     219   ln_dynvor_ene = .true.  !  energy conserving scheme 
    322220/ 
    323221!----------------------------------------------------------------------- 
    324222&namdyn_hpg    !   Hydrostatic pressure gradient option                 (default: NO selection) 
    325223!----------------------------------------------------------------------- 
    326    ln_hpg_zps  = .false.   !  z-coordinate - partial steps (interpolation) 
    327224   ln_hpg_isf  = .true.    !  s-coordinate adapted for isf (standard jacobian formulation) 
    328225/ 
    329226!----------------------------------------------------------------------- 
    330 &namdyn_spg    !   surface pressure gradient                            (default: NO) 
     227&namdyn_spg    !   surface pressure gradient                            (default: NO selection) 
    331228!----------------------------------------------------------------------- 
    332229   ln_dynspg_ts  = .true.  !  split-explicit free surface 
     
    335232&namdyn_ldf    !   lateral diffusion on momentum                        (default: NO selection) 
    336233!----------------------------------------------------------------------- 
    337    !                       !  Type of the operator : 
    338    !                           !  no diffusion: set ln_dynldf_lap=..._blp=F  
    339234   ln_dynldf_lap =  .true.     !    laplacian operator 
    340    ln_dynldf_blp =  .false.    !  bilaplacian operator 
    341    !                       !  Direction of action  : 
    342    ln_dynldf_lev =  .false.    !  iso-level 
    343    ln_dynldf_hor =  .true.     !  horizontal (geopotential) 
    344    ln_dynldf_iso =  .false.    !  iso-neutral 
    345    !                       !  Coefficient 
    346    nn_ahm_ijk_t  = 0           !  space/time variation of eddy coef 
    347    !                                !  =-30  read in eddy_viscosity_3D.nc file 
    348    !                                !  =-20  read in eddy_viscosity_2D.nc file 
    349    !                                !  =  0  constant  
    350    !                                !  = 10  F(k)=c1d 
    351    !                                !  = 20  F(i,j)=F(grid spacing)=c2d 
    352    !                                !  = 30  F(i,j,k)=c2d*c1d 
    353    !                                !  = 31  F(i,j,k)=F(grid spacing and local velocity) 
    354    rn_ahm_0      =    600.     !  horizontal laplacian eddy viscosity   [m2/s] 
    355    rn_ahm_b      =      0.     !  background eddy viscosity for ldf_iso [m2/s] 
    356    rn_bhm_0      = 1.e+12      !  horizontal bilaplacian eddy viscosity [m4/s] 
    357    ! 
    358    ! Caution in 20 and 30 cases the coefficient have to be given for a 1 degree grid (~111km) 
    359 / 
     235   ln_dynldf_lev =  .true.     !  iso-level 
     236   nn_ahm_ijk_t  = 0           !  = 0  constant = 1/2  Uv*Lv   (lap case)  
     237      rn_Uv      = 0.12             !  lateral viscous velocity [m/s] 
     238      rn_Lv      = 10.e+3           !  lateral viscous length   [m] 
     239/ 
     240 
     241!!====================================================================== 
     242!!                     vertical physics namelists                     !! 
     243!!                                                                    !! 
     244!!    namzdf        vertical physics manager                            (default: NO selection) 
     245!!    namzdf_ric    richardson number vertical mixing                   (ln_zdfric=T) 
     246!!    namzdf_tke    TKE vertical mixing                                 (ln_zdftke=T) 
     247!!    namzdf_gls    GLS vertical mixing                                 (ln_zdfgls=T) 
     248!!    namzdf_osm    OSM vertical diffusion                              (ln_zdfosm=T) 
     249!!    namzdf_iwm    tidal mixing parameterization                       (ln_zdfiwm=T) 
     250!!====================================================================== 
     251! 
    360252!----------------------------------------------------------------------- 
    361253&namzdf        !   vertical physics                                     (default: NO selection) 
     
    363255   !                       ! type of vertical closure 
    364256   ln_zdfcst   = .true.       !  constant mixing 
    365    ln_zdfric   = .false.      !  local Richardson dependent formulation (T =>   fill namzdf_ric) 
    366    ln_zdftke   = .false.      !  Turbulent Kinetic Energy closure       (T =>   fill namzdf_tke) 
    367    ln_zdfgls   = .false.      !  Generic Length Scale closure           (T =>   fill namzdf_gls) 
    368    ln_zdfosm   = .false.      !  OSMOSIS BL closure                     (T =>   fill namzdf_osm) 
    369    ! 
    370    !                       ! convection 
    371257   ln_zdfevd   = .true.       !  enhanced vertical diffusion 
    372258      nn_evdm     =    1         ! apply on tracer (=0) or on tracer and momentum (=1) 
    373259      rn_evd      =   0.1        ! mixing coefficient [m2/s] 
    374    ln_zdfnpc   = .false.      !  Non-Penetrative Convective algorithm 
    375       nn_npc      =    1         ! frequency of application of npc 
    376       nn_npcp     =  365         ! npc control print frequency 
    377    ! 
    378    ln_zdfddm   = .false.   ! double diffusive mixing 
    379    ! 
    380    !                       ! gravity wave-driven vertical mixing 
    381    ln_zdfiwm   = .false.      ! internal wave-induced mixing            (T =>   fill namzdf_iwm) 
    382    ln_zdfswm   = .false.      ! surface  wave-induced mixing            (T => ln_wave=ln_sdw=T ) 
    383    ! 
    384260   !                       ! coefficients 
    385    rn_avm0     =   1.e-3     !  vertical eddy viscosity   [m2/s]       (background Kz if ln_zdfcst=F) 
    386    rn_avt0     =   5.e-5     !  vertical eddy diffusivity [m2/s]       (background Kz if ln_zdfcst=F) 
    387    nn_avb      =    0         !  profile for background avt & avm (=1) or not (=0) 
    388    nn_havtb    =    0         !  horizontal shape for avtb (=1) or not (=0) 
    389 / 
    390 !----------------------------------------------------------------------- 
    391 &namzdf_ric    !   richardson number dependent vertical diffusion       (ln_zdfric =T) 
    392 !----------------------------------------------------------------------- 
    393 / 
    394 !----------------------------------------------------------------------- 
    395 &namzdf_tke    !   turbulent eddy kinetic dependent vertical diffusion  (ln_zdftke =T) 
    396 !----------------------------------------------------------------------- 
    397 / 
    398 !----------------------------------------------------------------------- 
    399 &namzdf_gls    !   GLS vertical diffusion                               (ln_zdfgls =T) 
    400 !----------------------------------------------------------------------- 
    401 / 
    402 !----------------------------------------------------------------------- 
    403 &namzdf_osm    !   OSM vertical diffusion                               (ln_zdfosm =T) 
    404 !----------------------------------------------------------------------- 
    405 / 
    406 !----------------------------------------------------------------------- 
    407 &namzdf_iwm    !    internal wave-driven mixing parameterization        (ln_zdfiwm =T) 
    408 !----------------------------------------------------------------------- 
    409 / 
    410 !----------------------------------------------------------------------- 
    411 &nammpp        !   Massively Parallel Processing                        ("key_mpp_mpi") 
    412 !----------------------------------------------------------------------- 
    413 / 
    414 !----------------------------------------------------------------------- 
    415 &namctl        !   Control prints  
    416 !----------------------------------------------------------------------- 
    417 / 
    418 !----------------------------------------------------------------------- 
    419 &namsto        ! Stochastic parametrization of EOS                      (default: NO) 
    420 !----------------------------------------------------------------------- 
    421 / 
    422 !----------------------------------------------------------------------- 
    423 &namtrd        !   trend diagnostics                                    (default F) 
    424 !----------------------------------------------------------------------- 
    425 / 
    426 !----------------------------------------------------------------------- 
    427 &namptr        !   Poleward Transport Diagnostic                        (default F) 
    428 !----------------------------------------------------------------------- 
    429 / 
    430 !----------------------------------------------------------------------- 
    431 &namhsb        !  Heat and salt budgets                                 (default F) 
    432 !----------------------------------------------------------------------- 
    433 / 
    434 !----------------------------------------------------------------------- 
    435 &namdiu        !   Cool skin and warm layer models                      (default F) 
    436 !----------------------------------------------------------------------- 
    437 / 
    438 !----------------------------------------------------------------------- 
    439 &namflo        !   float parameters                                     ("key_float") 
    440 !----------------------------------------------------------------------- 
    441 / 
    442 !----------------------------------------------------------------------- 
    443 &nam_diaharm   !   Harmonic analysis of tidal constituents              ("key_diaharm") 
    444 !----------------------------------------------------------------------- 
    445 / 
    446 !----------------------------------------------------------------------- 
    447 &namdct        ! transports through some sections                       ("key_diadct") 
    448 !----------------------------------------------------------------------- 
    449 / 
    450 !----------------------------------------------------------------------- 
    451 &nam_diatmb    !  Top Middle Bottom Output                              (default F) 
    452 !----------------------------------------------------------------------- 
    453 / 
    454 !----------------------------------------------------------------------- 
    455 &nam_dia25h    !  25h Mean Output                                       (default F) 
    456 !----------------------------------------------------------------------- 
    457 / 
    458 !----------------------------------------------------------------------- 
    459 &namnc4        !   netcdf4 chunking and compression settings            ("key_netcdf4") 
    460 !----------------------------------------------------------------------- 
    461 / 
    462 !----------------------------------------------------------------------- 
    463 &namobs        !  observation usage switch 
    464 !----------------------------------------------------------------------- 
    465 / 
    466 !----------------------------------------------------------------------- 
    467 &nam_asminc    !   assimilation increments                              ('key_asminc') 
    468 !----------------------------------------------------------------------- 
    469 / 
    470 !----------------------------------------------------------------------- 
    471 &namdta_dyn    !   offline dynamics read in files                       ("key_offline") 
    472 !----------------------------------------------------------------------- 
    473 / 
     261   rn_avm0     =   1.e-3     !  vertical eddy viscosity   [m2/s] 
     262   rn_avt0     =   5.e-5     !  vertical eddy diffusivity [m2/s] 
     263/ 
  • branches/2017/dev_merge_2017/NEMOGCM/CONFIG/TEST_CASES/LOCK_EXCHANGE/EXP00/namelist_FCT2_flux_cen2_cfg

    r9169 r9490  
    102102/ 
    103103!----------------------------------------------------------------------- 
    104 &namtra_adv_mle !   mixed layer eddy parametrisation (Fox-Kemper param) (default: NO) 
    105 !----------------------------------------------------------------------- 
    106 / 
    107 !----------------------------------------------------------------------- 
    108104&namtra_ldf    !   lateral diffusion scheme for tracers 
    109105!----------------------------------------------------------------------- 
     
    113109   ln_traldf_blp   =  .false.  !  bilaplacian operator 
    114110/ 
    115 !----------------------------------------------------------------------- 
    116 &namtra_ldfeiv !   eddy induced velocity param.                         (default: NO) 
    117 !----------------------------------------------------------------------- 
    118 / 
    119 !----------------------------------------------------------------------- 
    120 &namtra_dmp    !   tracer: T & S newtonian damping                       (default: YES) 
    121 !----------------------------------------------------------------------- 
    122    ln_tradmp   =  .false.   !  add a damping termn (T) or not (F) 
    123 / 
     111 
     112!!====================================================================== 
     113!!                      ***  Dynamics namelists  ***                  !! 
     114!!====================================================================== 
     115! 
    124116!----------------------------------------------------------------------- 
    125117&namdyn_adv    !   formulation of the momentum advection 
     
    175167   !                       !  Coefficient 
    176168   nn_ahm_ijk_t  = 0         !  space/time variation of eddy coef 
    177    !                                !  =-30  read in eddy_viscosity_3D.nc file 
    178    !                                !  =-20  read in eddy_viscosity_2D.nc file 
    179    !                                !  =  0  constant  
    180    !                                !  = 10  F(k)=c1d 
    181    !                                !  = 20  F(i,j)=F(grid spacing)=c2d 
    182    !                                !  = 30  F(i,j,k)=c2d*c1d 
    183    !                                !  = 31  F(i,j,k)=F(grid spacing and local velocity) 
    184    rn_ahm_0      =     0.01    !  horizontal laplacian eddy viscosity   [m2/s] 
    185    rn_ahm_b      =     0.      !  background eddy viscosity for ldf_iso [m2/s] 
    186    rn_bhm_0      =     1.e+12  !  horizontal bilaplacian eddy viscosity [m4/s] 
    187 / 
     169      !                             !  =  0  constant  
     170      !                        !  time invariant coefficients :  ahm = 1/2  Uv*Lv   (lap case)  
     171      !                             !                            bhm = 1/12 Uv*Lv^3 (blp case) 
     172      rn_Uv      = 4.e-5            !  lateral viscous velocity [m/s] (nn_ahm_ijk_t= 0, 10, 20, 30) 
     173      rn_Lv      = 500.             !  lateral viscous length   [m]   (nn_ahm_ijk_t= 0, 10) 
     174/ 
     175 
    188176!!====================================================================== 
    189177!!                     vertical physics namelists                     !! 
    190178!!====================================================================== 
     179! 
    191180!----------------------------------------------------------------------- 
    192181&namzdf        !   vertical physics                                     (default: NO selection) 
  • branches/2017/dev_merge_2017/NEMOGCM/CONFIG/TEST_CASES/LOCK_EXCHANGE/EXP00/namelist_FCT2_flux_ubs_cfg

    r9169 r9490  
    102102/ 
    103103!----------------------------------------------------------------------- 
    104 &namtra_adv_mle !   mixed layer eddy parametrisation (Fox-Kemper param) (default: NO) 
    105 !----------------------------------------------------------------------- 
    106 / 
    107 !----------------------------------------------------------------------- 
    108104&namtra_ldf    !   lateral diffusion scheme for tracers 
    109105!----------------------------------------------------------------------- 
     
    113109   ln_traldf_blp   =  .false.  !  bilaplacian operator 
    114110/ 
    115 !----------------------------------------------------------------------- 
    116 &namtra_ldfeiv !   eddy induced velocity param.                         (default: NO) 
    117 !----------------------------------------------------------------------- 
    118 / 
    119 !----------------------------------------------------------------------- 
    120 &namtra_dmp    !   tracer: T & S newtonian damping                       (default: YES) 
    121 !----------------------------------------------------------------------- 
    122    ln_tradmp   =  .false.   !  add a damping termn (T) or not (F) 
    123 / 
     111 
     112!!====================================================================== 
     113!!                      ***  Dynamics namelists  ***                  !! 
     114!!====================================================================== 
     115! 
    124116!----------------------------------------------------------------------- 
    125117&namdyn_adv    !   formulation of the momentum advection 
     
    175167   !                       !  Coefficient 
    176168   nn_ahm_ijk_t  = 0           !  space/time variation of eddy coef  
    177    !                                !  =-30  read in eddy_viscosity_3D.nc file  
    178    !                                !  =-20  read in eddy_viscosity_2D.nc file  
    179    !                                !  =  0  constant  
    180    !                                !  = 10  F(k)=c1d 
    181    !                                !  = 20  F(i,j)=F(grid spacing)=c2d 
    182    !                                !  = 30  F(i,j,k)=c2d*c1d 
    183    !                                !  = 31  F(i,j,k)=F(grid spacing and local velocity) 
    184    !                                !  = 32  F(i,j,k)=F(local gridscale and deformation rate) 
    185    ! Caution in 20 and 30 cases the coefficient have to be given for a 1 degree grid (~111km) 
    186    rn_ahm_0      =     0.01    !  horizontal laplacian eddy viscosity   [m2/s] 
    187    rn_ahm_b      =     0.      !  background eddy viscosity for ldf_iso [m2/s] 
    188    rn_bhm_0      =     1.e+12  !  horizontal bilaplacian eddy viscosity [m4/s] 
    189    !                       !  Smagorinsky settings (nn_ahm_ijk_t  = 32) : 
    190    rn_csmc       = 3.5         !  Smagorinsky constant of proportionality 
    191    rn_minfac     = 1.0         !  multiplier of theorectical lower limit 
    192    rn_maxfac     = 1.0         !  multiplier of theorectical upper limit 
     169      !                             !  =  0  constant  
     170      !                        !  time invariant coefficients :  ahm = 1/2  Uv*Lv   (lap case)  
     171      !                             !                            bhm = 1/12 Uv*Lv^3 (blp case) 
     172      rn_Uv      = 4.e-5            !  lateral viscous velocity [m/s] (nn_ahm_ijk_t= 0, 10, 20, 30) 
     173      rn_Lv      = 500.             !  lateral viscous length   [m]   (nn_ahm_ijk_t= 0, 10) 
    193174/ 
    194175!!====================================================================== 
  • branches/2017/dev_merge_2017/NEMOGCM/CONFIG/TEST_CASES/LOCK_EXCHANGE/EXP00/namelist_FCT2_vect_eenH_cfg

    r9169 r9490  
    102102/ 
    103103!----------------------------------------------------------------------- 
    104 &namtra_adv_mle !   mixed layer eddy parametrisation (Fox-Kemper param) (default: NO) 
    105 !----------------------------------------------------------------------- 
    106 / 
    107 !----------------------------------------------------------------------- 
    108104&namtra_ldf    !   lateral diffusion scheme for tracers 
    109105!----------------------------------------------------------------------- 
     
    113109   ln_traldf_blp   =  .false.  !  bilaplacian operator 
    114110/ 
    115 !----------------------------------------------------------------------- 
    116 &namtra_ldfeiv !   eddy induced velocity param.                         (default: NO) 
    117 !----------------------------------------------------------------------- 
    118 / 
    119 !----------------------------------------------------------------------- 
    120 &namtra_dmp    !   tracer: T & S newtonian damping                       (default: YES) 
    121 !----------------------------------------------------------------------- 
    122    ln_tradmp   =  .false.   !  add a damping termn (T) or not (F) 
    123 / 
     111 
     112!!====================================================================== 
     113!!                      ***  Dynamics namelists  ***                  !! 
     114!!====================================================================== 
     115! 
    124116!----------------------------------------------------------------------- 
    125117&namdyn_adv    !   formulation of the momentum advection 
     
    175167   !                       !  Coefficient 
    176168   nn_ahm_ijk_t  = 0         !  space/time variation of eddy coef 
    177    !                                !  =-30  read in eddy_viscosity_3D.nc file 
    178    !                                !  =-20  read in eddy_viscosity_2D.nc file 
    179    !                                !  =  0  constant  
    180    !                                !  = 10  F(k)=c1d 
    181    !                                !  = 20  F(i,j)=F(grid spacing)=c2d 
    182    !                                !  = 30  F(i,j,k)=c2d*c1d 
    183    !                                !  = 31  F(i,j,k)=F(grid spacing and local velocity) 
    184    rn_ahm_0      =     0.01    !  horizontal laplacian eddy viscosity   [m2/s] 
    185    rn_ahm_b      =     0.      !  background eddy viscosity for ldf_iso [m2/s] 
    186    rn_bhm_0      =     1.e+12  !  horizontal bilaplacian eddy viscosity [m4/s] 
    187 / 
     169      !                             !  =  0  constant  
     170      !                        !  time invariant coefficients :  ahm = 1/2  Uv*Lv   (lap case)  
     171      !                             !                            bhm = 1/12 Uv*Lv^3 (blp case) 
     172      rn_Uv      = 4.e-5            !  lateral viscous velocity [m/s] (nn_ahm_ijk_t= 0, 10, 20, 30) 
     173      rn_Lv      = 500.             !  lateral viscous length   [m]   (nn_ahm_ijk_t= 0, 10) 
     174/ 
     175 
    188176!!====================================================================== 
    189177!!                     vertical physics namelists                     !! 
  • branches/2017/dev_merge_2017/NEMOGCM/CONFIG/TEST_CASES/LOCK_EXCHANGE/EXP00/namelist_FCT2_vect_een_cfg

    r9169 r9490  
    102102/ 
    103103!----------------------------------------------------------------------- 
    104 &namtra_adv_mle !   mixed layer eddy parametrisation (Fox-Kemper param) (default: NO) 
    105 !----------------------------------------------------------------------- 
    106 / 
    107 !----------------------------------------------------------------------- 
    108104&namtra_ldf    !   lateral diffusion scheme for tracers 
    109105!----------------------------------------------------------------------- 
     
    113109   ln_traldf_blp   =  .false.  !  bilaplacian operator 
    114110/ 
    115 !----------------------------------------------------------------------- 
    116 &namtra_ldfeiv !   eddy induced velocity param.                         (default: NO) 
    117 !----------------------------------------------------------------------- 
    118 / 
    119 !----------------------------------------------------------------------- 
    120 &namtra_dmp    !   tracer: T & S newtonian damping                       (default: YES) 
    121 !----------------------------------------------------------------------- 
    122    ln_tradmp   =  .false.   !  add a damping termn (T) or not (F) 
    123 / 
     111 
     112!!====================================================================== 
     113!!                      ***  Dynamics namelists  ***                  !! 
     114!!====================================================================== 
     115! 
    124116!----------------------------------------------------------------------- 
    125117&namdyn_adv    !   formulation of the momentum advection 
     
    175167   !                       !  Coefficient 
    176168   nn_ahm_ijk_t  = 0         !  space/time variation of eddy coef 
    177    !                                !  =-30  read in eddy_viscosity_3D.nc file 
    178    !                                !  =-20  read in eddy_viscosity_2D.nc file 
    179    !                                !  =  0  constant  
    180    !                                !  = 10  F(k)=c1d 
    181    !                                !  = 20  F(i,j)=F(grid spacing)=c2d 
    182    !                                !  = 30  F(i,j,k)=c2d*c1d 
    183    !                                !  = 31  F(i,j,k)=F(grid spacing and local velocity) 
    184    rn_ahm_0      =     0.01    !  horizontal laplacian eddy viscosity   [m2/s] 
    185    rn_ahm_b      =     0.      !  background eddy viscosity for ldf_iso [m2/s] 
    186    rn_bhm_0      =     1.e+12  !  horizontal bilaplacian eddy viscosity [m4/s] 
     169      !                             !  =  0  constant  
     170      !                        !  time invariant coefficients :  ahm = 1/2  Uv*Lv   (lap case)  
     171      !                             !                            bhm = 1/12 Uv*Lv^3 (blp case) 
     172      rn_Uv      = 4.e-5            !  lateral viscous velocity [m/s] (nn_ahm_ijk_t= 0, 10, 20, 30) 
     173      rn_Lv      = 500.             !  lateral viscous length   [m]   (nn_ahm_ijk_t= 0, 10) 
    187174/ 
    188175!!====================================================================== 
  • branches/2017/dev_merge_2017/NEMOGCM/CONFIG/TEST_CASES/LOCK_EXCHANGE/EXP00/namelist_FCT2_vect_ene_cfg

    r9169 r9490  
    102102/ 
    103103!----------------------------------------------------------------------- 
    104 &namtra_adv_mle !   mixed layer eddy parametrisation (Fox-Kemper param) (default: NO) 
    105 !----------------------------------------------------------------------- 
    106 / 
    107 !----------------------------------------------------------------------- 
    108104&namtra_ldf    !   lateral diffusion scheme for tracers 
    109105!----------------------------------------------------------------------- 
     
    113109   ln_traldf_blp   =  .false.  !  bilaplacian operator 
    114110/ 
    115 !----------------------------------------------------------------------- 
    116 &namtra_ldfeiv !   eddy induced velocity param.                         (default: NO) 
    117 !----------------------------------------------------------------------- 
    118 / 
    119 !----------------------------------------------------------------------- 
    120 &namtra_dmp    !   tracer: T & S newtonian damping                       (default: YES) 
    121 !----------------------------------------------------------------------- 
    122    ln_tradmp   =  .false.   !  add a damping termn (T) or not (F) 
    123 / 
     111 
     112!!====================================================================== 
     113!!                      ***  Dynamics namelists  ***                  !! 
     114!!====================================================================== 
     115! 
    124116!----------------------------------------------------------------------- 
    125117&namdyn_adv    !   formulation of the momentum advection 
     
    175167   !                       !  Coefficient 
    176168   nn_ahm_ijk_t  = 0         !  space/time variation of eddy coef 
    177    !                                !  =-30  read in eddy_viscosity_3D.nc file 
    178    !                                !  =-20  read in eddy_viscosity_2D.nc file 
    179    !                                !  =  0  constant  
    180    !                                !  = 10  F(k)=c1d 
    181    !                                !  = 20  F(i,j)=F(grid spacing)=c2d 
    182    !                                !  = 30  F(i,j,k)=c2d*c1d 
    183    !                                !  = 31  F(i,j,k)=F(grid spacing and local velocity) 
    184    rn_ahm_0      =     0.01    !  horizontal laplacian eddy viscosity   [m2/s] 
    185    rn_ahm_b      =     0.      !  background eddy viscosity for ldf_iso [m2/s] 
    186    rn_bhm_0      =     1.e+12  !  horizontal bilaplacian eddy viscosity [m4/s] 
     169      !                             !  =  0  constant  
     170      !                        !  time invariant coefficients :  ahm = 1/2  Uv*Lv   (lap case)  
     171      !                             !                            bhm = 1/12 Uv*Lv^3 (blp case) 
     172      rn_Uv      = 4.e-5            !  lateral viscous velocity [m/s] (nn_ahm_ijk_t= 0, 10, 20, 30) 
     173      rn_Lv      = 500.             !  lateral viscous length   [m]   (nn_ahm_ijk_t= 0, 10) 
    187174/ 
    188175!!====================================================================== 
  • branches/2017/dev_merge_2017/NEMOGCM/CONFIG/TEST_CASES/LOCK_EXCHANGE/EXP00/namelist_FCT2_vect_ens_cfg

    r9169 r9490  
    102102/ 
    103103!----------------------------------------------------------------------- 
    104 &namtra_adv_mle !   mixed layer eddy parametrisation (Fox-Kemper param) (default: NO) 
    105 !----------------------------------------------------------------------- 
    106 / 
    107 !----------------------------------------------------------------------- 
    108104&namtra_ldf    !   lateral diffusion scheme for tracers 
    109105!----------------------------------------------------------------------- 
     
    113109   ln_traldf_blp   =  .false.  !  bilaplacian operator 
    114110/ 
    115 !----------------------------------------------------------------------- 
    116 &namtra_ldfeiv !   eddy induced velocity param.                         (default: NO) 
    117 !----------------------------------------------------------------------- 
    118 / 
    119 !----------------------------------------------------------------------- 
    120 &namtra_dmp    !   tracer: T & S newtonian damping                       (default: YES) 
    121 !----------------------------------------------------------------------- 
    122    ln_tradmp   =  .false.   !  add a damping termn (T) or not (F) 
    123 / 
     111 
     112!!====================================================================== 
     113!!                      ***  Dynamics namelists  ***                  !! 
     114!!====================================================================== 
     115! 
    124116!----------------------------------------------------------------------- 
    125117&namdyn_adv    !   formulation of the momentum advection 
     
    175167   !                       !  Coefficient 
    176168   nn_ahm_ijk_t  = 0         !  space/time variation of eddy coef 
    177    !                                !  =-30  read in eddy_viscosity_3D.nc file 
    178    !                                !  =-20  read in eddy_viscosity_2D.nc file 
    179    !                                !  =  0  constant  
    180    !                                !  = 10  F(k)=c1d 
    181    !                                !  = 20  F(i,j)=F(grid spacing)=c2d 
    182    !                                !  = 30  F(i,j,k)=c2d*c1d 
    183    !                                !  = 31  F(i,j,k)=F(grid spacing and local velocity) 
    184    rn_ahm_0      =     0.01    !  horizontal laplacian eddy viscosity   [m2/s] 
    185    rn_ahm_b      =     0.      !  background eddy viscosity for ldf_iso [m2/s] 
    186    rn_bhm_0      =     1.e+12  !  horizontal bilaplacian eddy viscosity [m4/s] 
    187 / 
     169      !                             !  =  0  constant  
     170      !                        !  time invariant coefficients :  ahm = 1/2  Uv*Lv   (lap case)  
     171      !                             !                            bhm = 1/12 Uv*Lv^3 (blp case) 
     172      rn_Uv      = 4.e-5            !  lateral viscous velocity [m/s] (nn_ahm_ijk_t= 0, 10, 20, 30) 
     173      rn_Lv      = 500.             !  lateral viscous length   [m]   (nn_ahm_ijk_t= 0, 10) 
     174/ 
     175 
    188176!!====================================================================== 
    189177!!                     vertical physics namelists                     !! 
  • branches/2017/dev_merge_2017/NEMOGCM/CONFIG/TEST_CASES/LOCK_EXCHANGE/EXP00/namelist_FCT4_flux_cen2_cfg

    r9169 r9490  
    102102/ 
    103103!----------------------------------------------------------------------- 
    104 &namtra_adv_mle !   mixed layer eddy parametrisation (Fox-Kemper param) (default: NO) 
    105 !----------------------------------------------------------------------- 
    106 / 
    107 !----------------------------------------------------------------------- 
    108104&namtra_ldf    !   lateral diffusion scheme for tracers 
    109105!----------------------------------------------------------------------- 
     
    113109   ln_traldf_blp   =  .false.  !  bilaplacian operator 
    114110/ 
    115 !----------------------------------------------------------------------- 
    116 &namtra_ldfeiv !   eddy induced velocity param.                         (default: NO) 
    117 !----------------------------------------------------------------------- 
    118 / 
    119 !----------------------------------------------------------------------- 
    120 &namtra_dmp    !   tracer: T & S newtonian damping                       (default: YES) 
    121 !----------------------------------------------------------------------- 
    122    ln_tradmp   =  .false.   !  add a damping termn (T) or not (F) 
    123 / 
     111 
     112!!====================================================================== 
     113!!                      ***  Dynamics namelists  ***                  !! 
     114!!====================================================================== 
     115! 
    124116!----------------------------------------------------------------------- 
    125117&namdyn_adv    !   formulation of the momentum advection 
     
    175167   !                       !  Coefficient 
    176168   nn_ahm_ijk_t  = 0         !  space/time variation of eddy coef 
    177    !                                !  =-30  read in eddy_viscosity_3D.nc file 
    178    !                                !  =-20  read in eddy_viscosity_2D.nc file 
    179    !                                !  =  0  constant  
    180    !                                !  = 10  F(k)=c1d 
    181    !                                !  = 20  F(i,j)=F(grid spacing)=c2d 
    182    !                                !  = 30  F(i,j,k)=c2d*c1d 
    183    !                                !  = 31  F(i,j,k)=F(grid spacing and local velocity) 
    184    rn_ahm_0      =     0.01    !  horizontal laplacian eddy viscosity   [m2/s] 
    185    rn_ahm_b      =     0.      !  background eddy viscosity for ldf_iso [m2/s] 
    186    rn_bhm_0      =     1.e+12  !  horizontal bilaplacian eddy viscosity [m4/s] 
    187 / 
     169      !                             !  =  0  constant  
     170      !                        !  time invariant coefficients :  ahm = 1/2  Uv*Lv   (lap case)  
     171      !                             !                            bhm = 1/12 Uv*Lv^3 (blp case) 
     172      rn_Uv      = 4.e-5            !  lateral viscous velocity [m/s] (nn_ahm_ijk_t= 0, 10, 20, 30) 
     173      rn_Lv      = 500.             !  lateral viscous length   [m]   (nn_ahm_ijk_t= 0, 10) 
     174/ 
     175 
    188176!!====================================================================== 
    189177!!                     vertical physics namelists                     !! 
  • branches/2017/dev_merge_2017/NEMOGCM/CONFIG/TEST_CASES/LOCK_EXCHANGE/EXP00/namelist_FCT4_flux_ubs_cfg

    r9169 r9490  
    102102/ 
    103103!----------------------------------------------------------------------- 
    104 &namtra_adv_mle !   mixed layer eddy parametrisation (Fox-Kemper param) (default: NO) 
    105 !----------------------------------------------------------------------- 
    106 / 
    107 !----------------------------------------------------------------------- 
    108104&namtra_ldf    !   lateral diffusion scheme for tracers 
    109105!----------------------------------------------------------------------- 
     
    113109   ln_traldf_blp   =  .false.  !  bilaplacian operator 
    114110/ 
    115 !----------------------------------------------------------------------- 
    116 &namtra_ldfeiv !   eddy induced velocity param.                         (default: NO) 
    117 !----------------------------------------------------------------------- 
    118 / 
    119 !----------------------------------------------------------------------- 
    120 &namtra_dmp    !   tracer: T & S newtonian damping                       (default: YES) 
    121 !----------------------------------------------------------------------- 
    122    ln_tradmp   =  .false.   !  add a damping termn (T) or not (F) 
    123 / 
     111 
     112!!====================================================================== 
     113!!                      ***  Dynamics namelists  ***                  !! 
     114!!====================================================================== 
     115! 
    124116!----------------------------------------------------------------------- 
    125117&namdyn_adv    !   formulation of the momentum advection 
     
    175167   !                       !  Coefficient 
    176168   nn_ahm_ijk_t  = 0           !  space/time variation of eddy coef  
    177    !                                !  =-30  read in eddy_viscosity_3D.nc file  
    178    !                                !  =-20  read in eddy_viscosity_2D.nc file  
    179    !                                !  =  0  constant  
    180    !                                !  = 10  F(k)=c1d 
    181    !                                !  = 20  F(i,j)=F(grid spacing)=c2d 
    182    !                                !  = 30  F(i,j,k)=c2d*c1d 
    183    !                                !  = 31  F(i,j,k)=F(grid spacing and local velocity) 
    184    !                                !  = 32  F(i,j,k)=F(local gridscale and deformation rate) 
    185    ! Caution in 20 and 30 cases the coefficient have to be given for a 1 degree grid (~111km) 
    186    rn_ahm_0      =     0.01    !  horizontal laplacian eddy viscosity   [m2/s] 
    187    rn_ahm_b      =     0.      !  background eddy viscosity for ldf_iso [m2/s] 
    188    rn_bhm_0      =     1.e+12  !  horizontal bilaplacian eddy viscosity [m4/s] 
    189    !                       !  Smagorinsky settings (nn_ahm_ijk_t  = 32) : 
    190    rn_csmc       = 3.5         !  Smagorinsky constant of proportionality 
    191    rn_minfac     = 1.0         !  multiplier of theorectical lower limit 
    192    rn_maxfac     = 1.0         !  multiplier of theorectical upper limit 
    193 / 
     169      !                             !  =  0  constant  
     170      !                        !  time invariant coefficients :  ahm = 1/2  Uv*Lv   (lap case)  
     171      !                             !                            bhm = 1/12 Uv*Lv^3 (blp case) 
     172      rn_Uv      = 4.e-5            !  lateral viscous velocity [m/s] (nn_ahm_ijk_t= 0, 10, 20, 30) 
     173      rn_Lv      = 500.             !  lateral viscous length   [m]   (nn_ahm_ijk_t= 0, 10) 
     174/ 
     175 
    194176!!====================================================================== 
    195177!!                     vertical physics namelists                     !! 
  • branches/2017/dev_merge_2017/NEMOGCM/CONFIG/TEST_CASES/LOCK_EXCHANGE/EXP00/namelist_FCT4_vect_eenH_cfg

    r9169 r9490  
    102102/ 
    103103!----------------------------------------------------------------------- 
    104 &namtra_adv_mle !   mixed layer eddy parametrisation (Fox-Kemper param) (default: NO) 
    105 !----------------------------------------------------------------------- 
    106 / 
    107 !----------------------------------------------------------------------- 
    108104&namtra_ldf    !   lateral diffusion scheme for tracers 
    109105!----------------------------------------------------------------------- 
     
    113109   ln_traldf_blp   =  .false.  !  bilaplacian operator 
    114110/ 
    115 !----------------------------------------------------------------------- 
    116 &namtra_ldfeiv !   eddy induced velocity param.                         (default: NO) 
    117 !----------------------------------------------------------------------- 
    118 / 
    119 !----------------------------------------------------------------------- 
    120 &namtra_dmp    !   tracer: T & S newtonian damping                       (default: YES) 
    121 !----------------------------------------------------------------------- 
    122    ln_tradmp   =  .false.   !  add a damping termn (T) or not (F) 
    123 / 
     111 
     112!!====================================================================== 
     113!!                      ***  Dynamics namelists  ***                  !! 
     114!!====================================================================== 
     115! 
    124116!----------------------------------------------------------------------- 
    125117&namdyn_adv    !   formulation of the momentum advection 
     
    175167   !                       !  Coefficient 
    176168   nn_ahm_ijk_t  = 0         !  space/time variation of eddy coef 
    177    !                                !  =-30  read in eddy_viscosity_3D.nc file 
    178    !                                !  =-20  read in eddy_viscosity_2D.nc file 
    179    !                                !  =  0  constant  
    180    !                                !  = 10  F(k)=c1d 
    181    !                                !  = 20  F(i,j)=F(grid spacing)=c2d 
    182    !                                !  = 30  F(i,j,k)=c2d*c1d 
    183    !                                !  = 31  F(i,j,k)=F(grid spacing and local velocity) 
    184    rn_ahm_0      =     0.01    !  horizontal laplacian eddy viscosity   [m2/s] 
    185    rn_ahm_b      =     0.      !  background eddy viscosity for ldf_iso [m2/s] 
    186    rn_bhm_0      =     1.e+12  !  horizontal bilaplacian eddy viscosity [m4/s] 
     169      !                             !  =  0  constant  
     170      !                        !  time invariant coefficients :  ahm = 1/2  Uv*Lv   (lap case)  
     171      !                             !                            bhm = 1/12 Uv*Lv^3 (blp case) 
     172      rn_Uv      = 4.e-5            !  lateral viscous velocity [m/s] (nn_ahm_ijk_t= 0, 10, 20, 30) 
     173      rn_Lv      = 500.             !  lateral viscous length   [m]   (nn_ahm_ijk_t= 0, 10) 
    187174/ 
    188175!!====================================================================== 
  • branches/2017/dev_merge_2017/NEMOGCM/CONFIG/TEST_CASES/LOCK_EXCHANGE/EXP00/namelist_FCT4_vect_een_cfg

    r9169 r9490  
    102102/ 
    103103!----------------------------------------------------------------------- 
    104 &namtra_adv_mle !   mixed layer eddy parametrisation (Fox-Kemper param) (default: NO) 
    105 !----------------------------------------------------------------------- 
    106 / 
    107 !----------------------------------------------------------------------- 
    108104&namtra_ldf    !   lateral diffusion scheme for tracers 
    109105!----------------------------------------------------------------------- 
     
    113109   ln_traldf_blp   =  .false.  !  bilaplacian operator 
    114110/ 
    115 !----------------------------------------------------------------------- 
    116 &namtra_ldfeiv !   eddy induced velocity param.                         (default: NO) 
    117 !----------------------------------------------------------------------- 
    118 / 
    119 !----------------------------------------------------------------------- 
    120 &namtra_dmp    !   tracer: T & S newtonian damping                       (default: YES) 
    121 !----------------------------------------------------------------------- 
    122    ln_tradmp   =  .false.   !  add a damping termn (T) or not (F) 
    123 / 
     111 
     112!!====================================================================== 
     113!!                      ***  Dynamics namelists  ***                  !! 
     114!!====================================================================== 
     115! 
    124116!----------------------------------------------------------------------- 
    125117&namdyn_adv    !   formulation of the momentum advection 
     
    175167   !                       !  Coefficient 
    176168   nn_ahm_ijk_t  = 0         !  space/time variation of eddy coef 
    177    !                                !  =-30  read in eddy_viscosity_3D.nc file 
    178    !                                !  =-20  read in eddy_viscosity_2D.nc file 
    179    !                                !  =  0  constant  
    180    !                                !  = 10  F(k)=c1d 
    181    !                                !  = 20  F(i,j)=F(grid spacing)=c2d 
    182    !                                !  = 30  F(i,j,k)=c2d*c1d 
    183    !                                !  = 31  F(i,j,k)=F(grid spacing and local velocity) 
    184    rn_ahm_0      =     0.01    !  horizontal laplacian eddy viscosity   [m2/s] 
    185    rn_ahm_b      =     0.      !  background eddy viscosity for ldf_iso [m2/s] 
    186    rn_bhm_0      =     1.e+12  !  horizontal bilaplacian eddy viscosity [m4/s] 
    187 / 
     169      !                             !  =  0  constant  
     170      !                        !  time invariant coefficients :  ahm = 1/2  Uv*Lv   (lap case)  
     171      !                             !                            bhm = 1/12 Uv*Lv^3 (blp case) 
     172      rn_Uv      = 4.e-5            !  lateral viscous velocity [m/s] (nn_ahm_ijk_t= 0, 10, 20, 30) 
     173      rn_Lv      = 500.             !  lateral viscous length   [m]   (nn_ahm_ijk_t= 0, 10) 
     174/ 
     175 
    188176!!====================================================================== 
    189177!!                     vertical physics namelists                     !! 
  • branches/2017/dev_merge_2017/NEMOGCM/CONFIG/TEST_CASES/LOCK_EXCHANGE/EXP00/namelist_FCT4_vect_ene_cfg

    r9169 r9490  
    102102/ 
    103103!----------------------------------------------------------------------- 
    104 &namtra_adv_mle !   mixed layer eddy parametrisation (Fox-Kemper param) (default: NO) 
    105 !----------------------------------------------------------------------- 
    106 / 
    107 !----------------------------------------------------------------------- 
    108104&namtra_ldf    !   lateral diffusion scheme for tracers 
    109105!----------------------------------------------------------------------- 
     
    113109   ln_traldf_blp   =  .false.  !  bilaplacian operator 
    114110/ 
    115 !----------------------------------------------------------------------- 
    116 &namtra_ldfeiv !   eddy induced velocity param.                         (default: NO) 
    117 !----------------------------------------------------------------------- 
    118 / 
    119 !----------------------------------------------------------------------- 
    120 &namtra_dmp    !   tracer: T & S newtonian damping                       (default: YES) 
    121 !----------------------------------------------------------------------- 
    122    ln_tradmp   =  .false.   !  add a damping termn (T) or not (F) 
    123 / 
     111 
     112!!====================================================================== 
     113!!                      ***  Dynamics namelists  ***                  !! 
     114!!====================================================================== 
     115! 
    124116!----------------------------------------------------------------------- 
    125117&namdyn_adv    !   formulation of the momentum advection 
     
    175167   !                       !  Coefficient 
    176168   nn_ahm_ijk_t  = 0         !  space/time variation of eddy coef 
    177    !                                !  =-30  read in eddy_viscosity_3D.nc file 
    178    !                                !  =-20  read in eddy_viscosity_2D.nc file 
    179    !                                !  =  0  constant  
    180    !                                !  = 10  F(k)=c1d 
    181    !                                !  = 20  F(i,j)=F(grid spacing)=c2d 
    182    !                                !  = 30  F(i,j,k)=c2d*c1d 
    183    !                                !  = 31  F(i,j,k)=F(grid spacing and local velocity) 
    184    rn_ahm_0      =     0.01    !  horizontal laplacian eddy viscosity   [m2/s] 
    185    rn_ahm_b      =     0.      !  background eddy viscosity for ldf_iso [m2/s] 
    186    rn_bhm_0      =     1.e+12  !  horizontal bilaplacian eddy viscosity [m4/s] 
    187 / 
     169      !                             !  =  0  constant  
     170      !                        !  time invariant coefficients :  ahm = 1/2  Uv*Lv   (lap case)  
     171      !                             !                            bhm = 1/12 Uv*Lv^3 (blp case) 
     172      rn_Uv      = 4.e-5            !  lateral viscous velocity [m/s] (nn_ahm_ijk_t= 0, 10, 20, 30) 
     173      rn_Lv      = 500.             !  lateral viscous length   [m]   (nn_ahm_ijk_t= 0, 10) 
     174/ 
     175 
    188176!!====================================================================== 
    189177!!                     vertical physics namelists                     !! 
    190178!!====================================================================== 
     179! 
    191180!----------------------------------------------------------------------- 
    192181&namzdf        !   vertical physics                                     (default: NO selection) 
  • branches/2017/dev_merge_2017/NEMOGCM/CONFIG/TEST_CASES/LOCK_EXCHANGE/EXP00/namelist_FCT4_vect_ens_cfg

    r9169 r9490  
    102102/ 
    103103!----------------------------------------------------------------------- 
    104 &namtra_adv_mle !   mixed layer eddy parametrisation (Fox-Kemper param) (default: NO) 
    105 !----------------------------------------------------------------------- 
    106 / 
    107 !----------------------------------------------------------------------- 
    108104&namtra_ldf    !   lateral diffusion scheme for tracers 
    109105!----------------------------------------------------------------------- 
     
    113109   ln_traldf_blp   =  .false.  !  bilaplacian operator 
    114110/ 
    115 !----------------------------------------------------------------------- 
    116 &namtra_ldfeiv !   eddy induced velocity param.                         (default: NO) 
    117 !----------------------------------------------------------------------- 
    118 / 
    119 !----------------------------------------------------------------------- 
    120 &namtra_dmp    !   tracer: T & S newtonian damping                       (default: YES) 
    121 !----------------------------------------------------------------------- 
    122    ln_tradmp   =  .false.   !  add a damping termn (T) or not (F) 
    123 / 
     111 
     112!!====================================================================== 
     113!!                      ***  Dynamics namelists  ***                  !! 
     114!!====================================================================== 
     115! 
    124116!----------------------------------------------------------------------- 
    125117&namdyn_adv    !   formulation of the momentum advection 
     
    175167   !                       !  Coefficient 
    176168   nn_ahm_ijk_t  = 0         !  space/time variation of eddy coef 
    177    !                                !  =-30  read in eddy_viscosity_3D.nc file 
    178    !                                !  =-20  read in eddy_viscosity_2D.nc file 
    179    !                                !  =  0  constant  
    180    !                                !  = 10  F(k)=c1d 
    181    !                                !  = 20  F(i,j)=F(grid spacing)=c2d 
    182    !                                !  = 30  F(i,j,k)=c2d*c1d 
    183    !                                !  = 31  F(i,j,k)=F(grid spacing and local velocity) 
    184    rn_ahm_0      =     0.01    !  horizontal laplacian eddy viscosity   [m2/s] 
    185    rn_ahm_b      =     0.      !  background eddy viscosity for ldf_iso [m2/s] 
    186    rn_bhm_0      =     1.e+12  !  horizontal bilaplacian eddy viscosity [m4/s] 
    187 / 
     169      !                             !  =  0  constant  
     170      !                        !  time invariant coefficients :  ahm = 1/2  Uv*Lv   (lap case)  
     171      !                             !                            bhm = 1/12 Uv*Lv^3 (blp case) 
     172      rn_Uv      = 4.e-5            !  lateral viscous velocity [m/s] (nn_ahm_ijk_t= 0, 10, 20, 30) 
     173      rn_Lv      = 500.             !  lateral viscous length   [m]   (nn_ahm_ijk_t= 0, 10) 
     174/ 
     175 
    188176!!====================================================================== 
    189177!!                     vertical physics namelists                     !! 
  • branches/2017/dev_merge_2017/NEMOGCM/CONFIG/TEST_CASES/OVERFLOW/EXP00/namelist_sco_FCT2_flux_cen-ahm1000_cfg

    r9269 r9490  
    110110/ 
    111111!----------------------------------------------------------------------- 
    112 &namtra_adv_mle !   mixed layer eddy parametrisation (Fox-Kemper param) (default: NO) 
    113 !----------------------------------------------------------------------- 
    114 / 
    115 !----------------------------------------------------------------------- 
    116112&namtra_ldf    !   lateral diffusion scheme for tracers 
    117113!----------------------------------------------------------------------- 
     
    121117   ln_traldf_blp   =  .false.  !  bilaplacian operator 
    122118/ 
    123 !----------------------------------------------------------------------- 
    124 &namtra_ldfeiv !   eddy induced velocity param.                         (default: NO) 
    125 !----------------------------------------------------------------------- 
    126 / 
    127 !----------------------------------------------------------------------- 
    128 &namtra_dmp    !   tracer: T & S newtonian damping                       (default: YES) 
    129 !----------------------------------------------------------------------- 
    130    ln_tradmp   =  .false.   !  add a damping termn (T) or not (F) 
    131 / 
     119 
     120!!====================================================================== 
     121!!                      ***  Dynamics namelists  ***                  !! 
     122!!====================================================================== 
     123! 
    132124!----------------------------------------------------------------------- 
    133125&namdyn_adv    !   formulation of the momentum advection                (default: NO selection) 
     
    184176   !                       !  Coefficient 
    185177   nn_ahm_ijk_t  = 0           !  space/time variation of eddy coef 
    186    !                                !  =-30  read in eddy_viscosity_3D.nc file 
    187    !                                !  =-20  read in eddy_viscosity_2D.nc file 
    188    !                                !  =  0  constant 
    189    !                                !  = 10  F(k)=c1d 
    190    !                                !  = 20  F(i,j)=F(grid spacing)=c2d 
    191    !                                !  = 30  F(i,j,k)=c2d*c1d 
    192    !                                !  = 31  F(i,j,k)=F(grid spacing and local velocity) 
    193    !                                !  = 32  F(i,j,k)=F(local gridscale and deformation rate) 
    194    ! Caution in 20 and 30 cases the coefficient have to be given for a 1 degree grid (~111km) 
    195    rn_ahm_0      =   1000.     !  horizontal laplacian eddy viscosity   [m2/s] 
    196    rn_ahm_b      =      0.     !  background eddy viscosity for ldf_iso [m2/s] 
    197    rn_bhm_0      = 1.e+12      !  horizontal bilaplacian eddy viscosity [m4/s] 
    198    !                       !  Smagorinsky settings (nn_ahm_ijk_t  = 32) : 
    199    rn_csmc       = 3.5         !  Smagorinsky constant of proportionality 
    200    rn_minfac     = 1.0         !  multiplier of theorectical lower limit 
    201    rn_maxfac     = 1.0         !  multiplier of theorectical upper limit 
    202 / 
     178      !                             !  =  0  constant  
     179      !                        !  time invariant coefficients :  ahm = 1/2  Uv*Lv   (lap case)  
     180      !                             !                            bhm = 1/12 Uv*Lv^3 (blp case) 
     181      rn_Uv      = 2.0              !  lateral viscous velocity [m/s] (nn_ahm_ijk_t= 0, 10, 20, 30) 
     182      rn_Lv      = 1000.            !  lateral viscous length   [m]   (nn_ahm_ijk_t= 0, 10) 
     183/ 
     184 
    203185!!====================================================================== 
    204186!!                     vertical physics namelists                     !! 
  • branches/2017/dev_merge_2017/NEMOGCM/CONFIG/TEST_CASES/OVERFLOW/EXP00/namelist_sco_FCT2_flux_ubs_cfg

    r9019 r9490  
    110110/ 
    111111!----------------------------------------------------------------------- 
    112 &namtra_adv_mle !   mixed layer eddy parametrisation (Fox-Kemper param) (default: NO) 
    113 !----------------------------------------------------------------------- 
    114 / 
    115 !----------------------------------------------------------------------- 
    116112&namtra_ldf    !   lateral diffusion scheme for tracers 
    117113!----------------------------------------------------------------------- 
     
    121117   ln_traldf_blp   =  .false.  !  bilaplacian operator 
    122118/ 
    123 !----------------------------------------------------------------------- 
    124 &namtra_ldfeiv !   eddy induced velocity param.                         (default: NO) 
    125 !----------------------------------------------------------------------- 
    126 / 
    127 !----------------------------------------------------------------------- 
    128 &namtra_dmp    !   tracer: T & S newtonian damping                       (default: YES) 
    129 !----------------------------------------------------------------------- 
    130    ln_tradmp   =  .false.   !  add a damping termn (T) or not (F) 
    131 / 
     119 
     120!!====================================================================== 
     121!!                      ***  Dynamics namelists  ***                  !! 
     122!!====================================================================== 
     123! 
    132124!----------------------------------------------------------------------- 
    133125&namdyn_adv    !   formulation of the momentum advection                (default: NO selection) 
     
    184176   !                       !  Coefficient 
    185177   nn_ahm_ijk_t  = 0           !  space/time variation of eddy coef 
    186    !                                !  =-30  read in eddy_viscosity_3D.nc file 
    187    !                                !  =-20  read in eddy_viscosity_2D.nc file 
    188    !                                !  =  0  constant 
    189    !                                !  = 10  F(k)=c1d 
    190    !                                !  = 20  F(i,j)=F(grid spacing)=c2d 
    191    !                                !  = 30  F(i,j,k)=c2d*c1d 
    192    !                                !  = 31  F(i,j,k)=F(grid spacing and local velocity) 
    193    !                                !  = 32  F(i,j,k)=F(local gridscale and deformation rate) 
    194    ! Caution in 20 and 30 cases the coefficient have to be given for a 1 degree grid (~111km) 
    195    rn_ahm_0      =   1000.     !  horizontal laplacian eddy viscosity   [m2/s] 
    196    rn_ahm_b      =      0.     !  background eddy viscosity for ldf_iso [m2/s] 
    197    rn_bhm_0      = 1.e+12      !  horizontal bilaplacian eddy viscosity [m4/s] 
    198    !                       !  Smagorinsky settings (nn_ahm_ijk_t  = 32) : 
    199    rn_csmc       = 3.5         !  Smagorinsky constant of proportionality 
    200    rn_minfac     = 1.0         !  multiplier of theorectical lower limit 
    201    rn_maxfac     = 1.0         !  multiplier of theorectical upper limit 
    202 / 
     178      !                             !  =  0  constant  
     179      !                        !  time invariant coefficients :  ahm = 1/2  Uv*Lv   (lap case)  
     180      !                             !                            bhm = 1/12 Uv*Lv^3 (blp case) 
     181      rn_Uv      = 2.0              !  lateral viscous velocity [m/s] (nn_ahm_ijk_t= 0, 10, 20, 30) 
     182      rn_Lv      = 1000.            !  lateral viscous length   [m]   (nn_ahm_ijk_t= 0, 10) 
     183/ 
     184 
    203185!!====================================================================== 
    204186!!                     vertical physics namelists                     !! 
  • branches/2017/dev_merge_2017/NEMOGCM/CONFIG/TEST_CASES/OVERFLOW/EXP00/namelist_sco_FCT4_flux_cen-ahm1000_cfg

    r9269 r9490  
    110110/ 
    111111!----------------------------------------------------------------------- 
    112 &namtra_adv_mle !   mixed layer eddy parametrisation (Fox-Kemper param) (default: NO) 
    113 !----------------------------------------------------------------------- 
    114 / 
    115 !----------------------------------------------------------------------- 
    116112&namtra_ldf    !   lateral diffusion scheme for tracers 
    117113!----------------------------------------------------------------------- 
     
    121117   ln_traldf_blp   =  .false.  !  bilaplacian operator 
    122118/ 
    123 !----------------------------------------------------------------------- 
    124 &namtra_ldfeiv !   eddy induced velocity param.                         (default: NO) 
    125 !----------------------------------------------------------------------- 
    126 / 
    127 !----------------------------------------------------------------------- 
    128 &namtra_dmp    !   tracer: T & S newtonian damping                       (default: YES) 
    129 !----------------------------------------------------------------------- 
    130    ln_tradmp   =  .false.   !  add a damping termn (T) or not (F) 
    131 / 
     119 
     120!!====================================================================== 
     121!!                      ***  Dynamics namelists  ***                  !! 
     122!!====================================================================== 
     123! 
    132124!----------------------------------------------------------------------- 
    133125&namdyn_adv    !   formulation of the momentum advection                (default: NO selection) 
     
    184176   !                       !  Coefficient 
    185177   nn_ahm_ijk_t  = 0           !  space/time variation of eddy coef 
    186    !                                !  =-30  read in eddy_viscosity_3D.nc file 
    187    !                                !  =-20  read in eddy_viscosity_2D.nc file 
    188    !                                !  =  0  constant 
    189    !                                !  = 10  F(k)=c1d 
    190    !                                !  = 20  F(i,j)=F(grid spacing)=c2d 
    191    !                                !  = 30  F(i,j,k)=c2d*c1d 
    192    !                                !  = 31  F(i,j,k)=F(grid spacing and local velocity) 
    193    !                                !  = 32  F(i,j,k)=F(local gridscale and deformation rate) 
    194    ! Caution in 20 and 30 cases the coefficient have to be given for a 1 degree grid (~111km) 
    195    rn_ahm_0      =   1000.     !  horizontal laplacian eddy viscosity   [m2/s] 
    196    rn_ahm_b      =      0.     !  background eddy viscosity for ldf_iso [m2/s] 
    197    rn_bhm_0      = 1.e+12      !  horizontal bilaplacian eddy viscosity [m4/s] 
    198    !                       !  Smagorinsky settings (nn_ahm_ijk_t  = 32) : 
    199    rn_csmc       = 3.5         !  Smagorinsky constant of proportionality 
    200    rn_minfac     = 1.0         !  multiplier of theorectical lower limit 
    201    rn_maxfac     = 1.0         !  multiplier of theorectical upper limit 
    202 / 
     178      !                             !  =  0  constant  
     179      !                        !  time invariant coefficients :  ahm = 1/2  Uv*Lv   (lap case)  
     180      !                             !                            bhm = 1/12 Uv*Lv^3 (blp case) 
     181      rn_Uv      = 2.0              !  lateral viscous velocity [m/s] (nn_ahm_ijk_t= 0, 10, 20, 30) 
     182      rn_Lv      = 1000.            !  lateral viscous length   [m]   (nn_ahm_ijk_t= 0, 10) 
     183/ 
     184 
    203185!!====================================================================== 
    204186!!                     vertical physics namelists                     !! 
  • branches/2017/dev_merge_2017/NEMOGCM/CONFIG/TEST_CASES/OVERFLOW/EXP00/namelist_sco_FCT4_flux_ubs_cfg

    r9269 r9490  
    110110/ 
    111111!----------------------------------------------------------------------- 
    112 &namtra_adv_mle !   mixed layer eddy parametrisation (Fox-Kemper param) (default: NO) 
    113 !----------------------------------------------------------------------- 
    114 / 
    115 !----------------------------------------------------------------------- 
    116112&namtra_ldf    !   lateral diffusion scheme for tracers 
    117113!----------------------------------------------------------------------- 
     
    121117   ln_traldf_blp   =  .false.  !  bilaplacian operator 
    122118/ 
    123 !----------------------------------------------------------------------- 
    124 &namtra_ldfeiv !   eddy induced velocity param.                         (default: NO) 
    125 !----------------------------------------------------------------------- 
    126 / 
    127 !----------------------------------------------------------------------- 
    128 &namtra_dmp    !   tracer: T & S newtonian damping                       (default: YES) 
    129 !----------------------------------------------------------------------- 
    130    ln_tradmp   =  .false.   !  add a damping termn (T) or not (F) 
    131 / 
     119 
     120!!====================================================================== 
     121!!                      ***  Dynamics namelists  ***                  !! 
     122!!====================================================================== 
     123! 
    132124!----------------------------------------------------------------------- 
    133125&namdyn_adv    !   formulation of the momentum advection                (default: NO selection) 
     
    184176   !                       !  Coefficient 
    185177   nn_ahm_ijk_t  = 0           !  space/time variation of eddy coef 
    186    !                                !  =-30  read in eddy_viscosity_3D.nc file 
    187    !                                !  =-20  read in eddy_viscosity_2D.nc file 
    188    !                                !  =  0  constant 
    189    !                                !  = 10  F(k)=c1d 
    190    !                                !  = 20  F(i,j)=F(grid spacing)=c2d 
    191    !                                !  = 30  F(i,j,k)=c2d*c1d 
    192    !                                !  = 31  F(i,j,k)=F(grid spacing and local velocity) 
    193    !                                !  = 32  F(i,j,k)=F(local gridscale and deformation rate) 
    194    ! Caution in 20 and 30 cases the coefficient have to be given for a 1 degree grid (~111km) 
    195    rn_ahm_0      =   1000.     !  horizontal laplacian eddy viscosity   [m2/s] 
    196    rn_ahm_b      =      0.     !  background eddy viscosity for ldf_iso [m2/s] 
    197    rn_bhm_0      = 1.e+12      !  horizontal bilaplacian eddy viscosity [m4/s] 
    198    !                       !  Smagorinsky settings (nn_ahm_ijk_t  = 32) : 
    199    rn_csmc       = 3.5         !  Smagorinsky constant of proportionality 
    200    rn_minfac     = 1.0         !  multiplier of theorectical lower limit 
    201    rn_maxfac     = 1.0         !  multiplier of theorectical upper limit 
    202 / 
     178      !                             !  =  0  constant  
     179      !                        !  time invariant coefficients :  ahm = 1/2  Uv*Lv   (lap case)  
     180      !                             !                            bhm = 1/12 Uv*Lv^3 (blp case) 
     181      rn_Uv      = 2.0              !  lateral viscous velocity [m/s] (nn_ahm_ijk_t= 0, 10, 20, 30) 
     182      rn_Lv      = 1000.            !  lateral viscous length   [m]   (nn_ahm_ijk_t= 0, 10) 
     183/ 
     184 
    203185!!====================================================================== 
    204186!!                     vertical physics namelists                     !! 
  • branches/2017/dev_merge_2017/NEMOGCM/CONFIG/TEST_CASES/OVERFLOW/EXP00/namelist_zps_FCT2_flux_ubs_cfg

    r9019 r9490  
    110110/ 
    111111!----------------------------------------------------------------------- 
    112 &namtra_adv_mle !   mixed layer eddy parametrisation (Fox-Kemper param) (default: NO) 
    113 !----------------------------------------------------------------------- 
    114 / 
    115 !----------------------------------------------------------------------- 
    116112&namtra_ldf    !   lateral diffusion scheme for tracers 
    117113!----------------------------------------------------------------------- 
     
    121117   ln_traldf_blp   =  .false.  !  bilaplacian operator 
    122118/ 
    123 !----------------------------------------------------------------------- 
    124 &namtra_ldfeiv !   eddy induced velocity param.                         (default: NO) 
    125 !----------------------------------------------------------------------- 
    126 / 
    127 !----------------------------------------------------------------------- 
    128 &namtra_dmp    !   tracer: T & S newtonian damping                       (default: YES) 
    129 !----------------------------------------------------------------------- 
    130    ln_tradmp   =  .false.   !  add a damping termn (T) or not (F) 
    131 / 
     119 
     120!!====================================================================== 
     121!!                      ***  Dynamics namelists  ***                  !! 
     122!!====================================================================== 
     123! 
    132124!----------------------------------------------------------------------- 
    133125&namdyn_adv    !   formulation of the momentum advection                (default: NO selection) 
     
    184176   !                       !  Coefficient 
    185177   nn_ahm_ijk_t  = 0           !  space/time variation of eddy coef 
    186    !                                !  =-30  read in eddy_viscosity_3D.nc file 
    187    !                                !  =-20  read in eddy_viscosity_2D.nc file 
    188    !                                !  =  0  constant 
    189    !                                !  = 10  F(k)=c1d 
    190    !                                !  = 20  F(i,j)=F(grid spacing)=c2d 
    191    !                                !  = 30  F(i,j,k)=c2d*c1d 
    192    !                                !  = 31  F(i,j,k)=F(grid spacing and local velocity) 
    193    !                                !  = 32  F(i,j,k)=F(local gridscale and deformation rate) 
    194    ! Caution in 20 and 30 cases the coefficient have to be given for a 1 degree grid (~111km) 
    195    rn_ahm_0      =   1000.     !  horizontal laplacian eddy viscosity   [m2/s] 
    196    rn_ahm_b      =      0.     !  background eddy viscosity for ldf_iso [m2/s] 
    197    rn_bhm_0      = 1.e+12      !  horizontal bilaplacian eddy viscosity [m4/s] 
    198    !                       !  Smagorinsky settings (nn_ahm_ijk_t  = 32) : 
    199    rn_csmc       = 3.5         !  Smagorinsky constant of proportionality 
    200    rn_minfac     = 1.0         !  multiplier of theorectical lower limit 
    201    rn_maxfac     = 1.0         !  multiplier of theorectical upper limit 
    202 / 
     178      !                             !  =  0  constant  
     179      !                        !  time invariant coefficients :  ahm = 1/2  Uv*Lv   (lap case)  
     180      !                             !                            bhm = 1/12 Uv*Lv^3 (blp case) 
     181      rn_Uv      = 2.0              !  lateral viscous velocity [m/s] (nn_ahm_ijk_t= 0, 10, 20, 30) 
     182      rn_Lv      = 1000.            !  lateral viscous length   [m]   (nn_ahm_ijk_t= 0, 10) 
     183/ 
     184 
    203185!!====================================================================== 
    204186!!                     vertical physics namelists                     !! 
  • branches/2017/dev_merge_2017/NEMOGCM/CONFIG/TEST_CASES/OVERFLOW/EXP00/namelist_zps_FCT4_flux_ubs_cfg

    r9019 r9490  
    110110/ 
    111111!----------------------------------------------------------------------- 
    112 &namtra_adv_mle !   mixed layer eddy parametrisation (Fox-Kemper param) (default: NO) 
    113 !----------------------------------------------------------------------- 
    114 / 
    115 !----------------------------------------------------------------------- 
    116112&namtra_ldf    !   lateral diffusion scheme for tracers 
    117113!----------------------------------------------------------------------- 
     
    121117   ln_traldf_blp   =  .false.  !  bilaplacian operator 
    122118/ 
    123 !----------------------------------------------------------------------- 
    124 &namtra_ldfeiv !   eddy induced velocity param.                         (default: NO) 
    125 !----------------------------------------------------------------------- 
    126 / 
    127 !----------------------------------------------------------------------- 
    128 &namtra_dmp    !   tracer: T & S newtonian damping                       (default: YES) 
    129 !----------------------------------------------------------------------- 
    130    ln_tradmp   =  .false.   !  add a damping termn (T) or not (F) 
    131 / 
     119 
     120!!====================================================================== 
     121!!                      ***  Dynamics namelists  ***                  !! 
     122!!====================================================================== 
     123! 
    132124!----------------------------------------------------------------------- 
    133125&namdyn_adv    !   formulation of the momentum advection                (default: NO selection) 
     
    184176   !                       !  Coefficient 
    185177   nn_ahm_ijk_t  = 0           !  space/time variation of eddy coef 
    186    !                                !  =-30  read in eddy_viscosity_3D.nc file 
    187    !                                !  =-20  read in eddy_viscosity_2D.nc file 
    188    !                                !  =  0  constant 
    189    !                                !  = 10  F(k)=c1d 
    190    !                                !  = 20  F(i,j)=F(grid spacing)=c2d 
    191    !                                !  = 30  F(i,j,k)=c2d*c1d 
    192    !                                !  = 31  F(i,j,k)=F(grid spacing and local velocity) 
    193    !                                !  = 32  F(i,j,k)=F(local gridscale and deformation rate) 
    194    ! Caution in 20 and 30 cases the coefficient have to be given for a 1 degree grid (~111km) 
    195    rn_ahm_0      =   1000.     !  horizontal laplacian eddy viscosity   [m2/s] 
    196    rn_ahm_b      =      0.     !  background eddy viscosity for ldf_iso [m2/s] 
    197    rn_bhm_0      = 1.e+12      !  horizontal bilaplacian eddy viscosity [m4/s] 
    198    !                       !  Smagorinsky settings (nn_ahm_ijk_t  = 32) : 
    199    rn_csmc       = 3.5         !  Smagorinsky constant of proportionality 
    200    rn_minfac     = 1.0         !  multiplier of theorectical lower limit 
    201    rn_maxfac     = 1.0         !  multiplier of theorectical upper limit 
    202 / 
     178      !                             !  =  0  constant  
     179      !                        !  time invariant coefficients :  ahm = 1/2  Uv*Lv   (lap case)  
     180      !                             !                            bhm = 1/12 Uv*Lv^3 (blp case) 
     181      rn_Uv      = 2.0              !  lateral viscous velocity [m/s] (nn_ahm_ijk_t= 0, 10, 20, 30) 
     182      rn_Lv      = 1000.            !  lateral viscous length   [m]   (nn_ahm_ijk_t= 0, 10) 
     183/ 
     184 
    203185!!====================================================================== 
    204186!!                     vertical physics namelists                     !! 
  • branches/2017/dev_merge_2017/NEMOGCM/CONFIG/TEST_CASES/OVERFLOW/EXP00/namelist_zps_FCT4_vect_een_cfg

    r9019 r9490  
    110110/ 
    111111!----------------------------------------------------------------------- 
    112 &namtra_adv_mle !   mixed layer eddy parametrisation (Fox-Kemper param) (default: NO) 
    113 !----------------------------------------------------------------------- 
    114 / 
    115 !----------------------------------------------------------------------- 
    116112&namtra_ldf    !   lateral diffusion scheme for tracers 
    117113!----------------------------------------------------------------------- 
     
    121117   ln_traldf_blp   =  .false.  !  bilaplacian operator 
    122118/ 
    123 !----------------------------------------------------------------------- 
    124 &namtra_ldfeiv !   eddy induced velocity param.                         (default: NO) 
    125 !----------------------------------------------------------------------- 
    126 / 
    127 !----------------------------------------------------------------------- 
    128 &namtra_dmp    !   tracer: T & S newtonian damping                       (default: YES) 
    129 !----------------------------------------------------------------------- 
    130    ln_tradmp   =  .false.   !  add a damping termn (T) or not (F) 
    131 / 
     119 
     120!!====================================================================== 
     121!!                      ***  Dynamics namelists  ***                  !! 
     122!!====================================================================== 
     123! 
    132124!----------------------------------------------------------------------- 
    133125&namdyn_adv    !   formulation of the momentum advection                (default: NO selection) 
     
    184176   !                       !  Coefficient 
    185177   nn_ahm_ijk_t  = 0           !  space/time variation of eddy coef 
    186    !                                !  =-30  read in eddy_viscosity_3D.nc file 
    187    !                                !  =-20  read in eddy_viscosity_2D.nc file 
    188    !                                !  =  0  constant 
    189    !                                !  = 10  F(k)=c1d 
    190    !                                !  = 20  F(i,j)=F(grid spacing)=c2d 
    191    !                                !  = 30  F(i,j,k)=c2d*c1d 
    192    !                                !  = 31  F(i,j,k)=F(grid spacing and local velocity) 
    193    !                                !  = 32  F(i,j,k)=F(local gridscale and deformation rate) 
    194    ! Caution in 20 and 30 cases the coefficient have to be given for a 1 degree grid (~111km) 
    195    rn_ahm_0      =    100.     !  horizontal laplacian eddy viscosity   [m2/s] 
    196    rn_ahm_b      =      0.     !  background eddy viscosity for ldf_iso [m2/s] 
    197    rn_bhm_0      = 1.e+12      !  horizontal bilaplacian eddy viscosity [m4/s] 
    198    !                       !  Smagorinsky settings (nn_ahm_ijk_t  = 32) : 
    199    rn_csmc       = 3.5         !  Smagorinsky constant of proportionality 
    200    rn_minfac     = 1.0         !  multiplier of theorectical lower limit 
    201    rn_maxfac     = 1.0         !  multiplier of theorectical upper limit 
    202 / 
     178      !                             !  =  0  constant  
     179      !                        !  time invariant coefficients :  ahm = 1/2  Uv*Lv   (lap case)  
     180      !                             !                            bhm = 1/12 Uv*Lv^3 (blp case) 
     181      rn_Uv      = 2.0              !  lateral viscous velocity [m/s] (nn_ahm_ijk_t= 0, 10, 20, 30) 
     182      rn_Lv      = 1000.            !  lateral viscous length   [m]   (nn_ahm_ijk_t= 0, 10) 
     183/ 
     184 
    203185!!====================================================================== 
    204186!!                     vertical physics namelists                     !! 
  • branches/2017/dev_merge_2017/NEMOGCM/CONFIG/TEST_CASES/SAS_BIPER/EXP00/1_namelist_cfg

    r9356 r9490  
    1717   nn_istate   =       1      !  output the initial state (1) or not (0) 
    1818/ 
     19 
     20!!====================================================================== 
     21!!                      ***  Domain namelists  *** 
     22!!====================================================================== 
    1923!----------------------------------------------------------------------- 
    2024&namcfg        !   parameters of the configuration                      (default: user defined GYRE) 
     
    3337   ln_meshmask = .true.   !  =T  create a mesh file 
    3438/ 
    35 !----------------------------------------------------------------------- 
    36 &namtsd        !   data : Temperature  & Salinity 
    37 !----------------------------------------------------------------------- 
    38 / 
    39 !----------------------------------------------------------------------- 
    40 &namwad        !   Wetting and drying  default is no WAD 
    41 !----------------------------------------------------------------------- 
    42 / 
    43 !----------------------------------------------------------------------- 
    44 &namcrs        !   coarsened grid (for outputs and/or TOP)              (ln_crs =T) 
    45 !----------------------------------------------------------------------- 
    46 / 
    47 !----------------------------------------------------------------------- 
    48 &namc1d        !   1D configuration options                             ("key_c1d") 
    49 !----------------------------------------------------------------------- 
    50 / 
    51 !----------------------------------------------------------------------- 
    52 &namc1d_dyndmp !   U & V newtonian damping                              ("key_c1d") 
    53 !----------------------------------------------------------------------- 
    54 / 
    55 !----------------------------------------------------------------------- 
    56 &namc1d_uvd    !   data: U & V currents                                 ("key_c1d") 
    57 !----------------------------------------------------------------------- 
    58 / 
    59 !----------------------------------------------------------------------- 
    60 &namsbc        !   Surface Boundary Condition (surface module) 
    61 !----------------------------------------------------------------------- 
    62    ln_usr      = .true.   !  user defined formulation                  (T => check usrdef_sbc) 
    63    ln_blk      = .false.  !  Bulk formulation                          (T => fill namsbc_blk ) 
     39 
     40!!====================================================================== 
     41!!            ***  Surface Boundary Condition namelists  *** 
     42!!====================================================================== 
     43! 
     44!----------------------------------------------------------------------- 
     45&namsbc        !   Surface Boundary Condition (surface module)          (default: NO selection) 
     46!----------------------------------------------------------------------- 
     47   ln_usr      = .true.   !  user defined formulation                   (T => check usrdef_sbc) 
     48   ln_blk      = .false.  !  Bulk formulation                           (T => fill namsbc_blk ) 
    6449   nn_fsbc     =  1       !  frequency of surface boundary condition computation 
    6550   nn_ice      =  2       !  sea-ice model 
    6651/ 
    6752!----------------------------------------------------------------------- 
    68 &namsbc_flx    !   surface boundary condition : flux formulation 
     53&namsbc_flx    !   surface boundary condition : flux formulation        (ln_flx=T) 
    6954!----------------------------------------------------------------------- 
    7055/ 
     
    8065&namsbc_sas    !   Stand-Alone Surface boundary condition 
    8166!----------------------------------------------------------------------- 
    82    l_sasread   = .false.   ! Read fields in a file if .TRUE. , or initialize to 0. in sbcssm.F90 if .FALSE. 
     67   l_sasread   = .false.   !  =T Read in file ;  =F set all to 0. (see sbcssm.F90) 
    8368/ 
    8469!----------------------------------------------------------------------- 
     
    119104   ln_bergdia               = .false.               ! Calculate budgets 
    120105/ 
     106 
     107!!====================================================================== 
     108!!               ***  Lateral boundary condition  ***                 !! 
     109!!====================================================================== 
     110! 
    121111!----------------------------------------------------------------------- 
    122112&namlbc        !   lateral momentum boundary condition 
     
    130120/ 
    131121!----------------------------------------------------------------------- 
    132 &nam_tide      !   tide parameters 
    133 !----------------------------------------------------------------------- 
    134 / 
    135 !----------------------------------------------------------------------- 
    136122&nambdy        !  unstructured open boundaries                           
    137123!----------------------------------------------------------------------- 
     
    141127!----------------------------------------------------------------------- 
    142128/ 
    143 !----------------------------------------------------------------------- 
    144 &nambdy_tide   !  tidal forcing at open boundaries 
    145 !----------------------------------------------------------------------- 
    146 / 
    147 !----------------------------------------------------------------------- 
    148 &namdrg        !   top/bottom drag coefficient                          (default: NO selection) 
    149 !----------------------------------------------------------------------- 
    150    ln_NONE    = .true.     !  free-slip       : Cd = 0                   
    151 / 
    152 !----------------------------------------------------------------------- 
    153 &namdrg_top    !   TOP friction                                         (ln_isfcav=T) 
    154 !----------------------------------------------------------------------- 
    155 / 
    156 !----------------------------------------------------------------------- 
    157 &namdrg_bot    !   BOTTOM friction                                   
    158 !----------------------------------------------------------------------- 
    159 / 
    160 !----------------------------------------------------------------------- 
    161 &nambbc        !   bottom temperature boundary condition                (default: NO) 
    162 !----------------------------------------------------------------------- 
    163 / 
    164 !----------------------------------------------------------------------- 
    165 &nambbl        !   bottom boundary layer scheme                         (default: NO) 
    166 !----------------------------------------------------------------------- 
    167 / 
    168 !----------------------------------------------------------------------- 
    169 &nameos        !   ocean Equation Of Seawater                           (default: NO) 
     129!!====================================================================== 
     130!!                        Tracer (T & S) namelists 
     131!!====================================================================== 
     132!----------------------------------------------------------------------- 
     133&nameos        !   ocean Equation Of Seawater                           (default: NO selection) 
    170134!----------------------------------------------------------------------- 
    171135   ln_teos10    = .true.         !  = Use TEOS-10 equation of state 
    172136/ 
    173 !----------------------------------------------------------------------- 
    174 &namtra_adv    !   advection scheme for tracer                          (default: NO selection) 
    175 !----------------------------------------------------------------------- 
    176    ln_traadv_fct =  .true.    !  FCT scheme 
    177       nn_fct_h   =  4               !  =2/4, horizontal 2nd / 4th order  
    178       nn_fct_v   =  2               !  =2/4, vertical   2nd / COMPACT 4th order  
    179 / 
    180 !----------------------------------------------------------------------- 
    181 &namtra_adv_mle !   mixed layer eddy parametrisation (Fox-Kemper param) (default: NO) 
    182 !----------------------------------------------------------------------- 
    183 / 
    184 !---------------------------------------------------------------------------------- 
    185 &namtra_ldf    !   lateral diffusion scheme for tracers 
    186 !---------------------------------------------------------------------------------- 
    187    !                       !  Operator type: 
    188    ln_traldf_lap   =  .true.   !    laplacian operator 
    189    ln_traldf_blp   =  .false.  !  bilaplacian operator 
    190    !                       !  Direction of action: 
    191    ln_traldf_lev   =  .false.  !  iso-level 
    192    ln_traldf_hor   =  .false.  !  horizontal (geopotential) 
    193    ln_traldf_iso   =  .true.   !  iso-neutral (Standard operator) 
    194    ln_traldf_triad =  .false.  !  iso-neutral (Triads   operator) 
    195    ! 
    196    !                       !  iso-neutral options:         
    197    ln_traldf_msc   =  .true.   !  Method of Stabilizing Correction (both operators) 
    198    rn_slpmax       =   0.01    !  slope limit                      (both operators) 
    199    ln_triad_iso    =  .false.  !  pure horizontal mixing in ML              (triad only) 
    200    rn_sw_triad     =  1        !  =1 switching triad ; =0 all 4 triads used (triad only) 
    201    ln_botmix_triad =  .false.  !  lateral mixing on bottom                  (triad only) 
    202    ! 
    203    !                       !  Coefficients: 
    204    nn_aht_ijk_t    = 20        !  space/time variation of eddy coef 
    205    !                                !   =-20 (=-30)    read in eddy_diffusivity_2D.nc (..._3D.nc) file 
    206    !                                !   =  0           constant  
    207    !                                !   = 10 F(k)      =ldf_c1d  
    208    !                                !   = 20 F(i,j)    =ldf_c2d  
    209    !                                !   = 21 F(i,j,t)  =Treguier et al. JPO 1997 formulation 
    210    !                                !   = 30 F(i,j,k)  =ldf_c2d + ldf_c1d 
    211    !                                !   = 31 F(i,j,k,t)=F(local velocity) 
    212    rn_aht_0        = 2000.     !  lateral eddy diffusivity   (lap. operator) [m2/s] 
    213    rn_bht_0        = 1.e+12    !  lateral eddy diffusivity (bilap. operator) [m4/s] 
    214 / 
    215 !---------------------------------------------------------------------------------- 
    216 &namtra_ldfeiv !   eddy induced velocity param. 
    217 !---------------------------------------------------------------------------------- 
    218    ln_ldfeiv     =.true.   ! use eddy induced velocity parameterization 
    219    ln_ldfeiv_dia =.true.   ! diagnose eiv stream function and velocities 
    220    rn_aeiv_0     = 2000.   ! eddy induced velocity coefficient   [m2/s] 
    221    nn_aei_ijk_t  = 21      ! space/time variation of the eiv coeficient 
    222    !                                !   =-20 (=-30)    read in eddy_induced_velocity_2D.nc (..._3D.nc) file 
    223    !                                !   =  0           constant  
    224    !                                !   = 10 F(k)      =ldf_c1d  
    225    !                                !   = 20 F(i,j)    =ldf_c2d  
    226    !                                !   = 21 F(i,j,t)  =Treguier et al. JPO 1997 formulation 
    227    !                                !   = 30 F(i,j,k)  =ldf_c2d + ldf_c1d 
    228 / 
    229 !----------------------------------------------------------------------- 
    230 &namtra_dmp    !   tracer: T & S newtonian damping                      (default: NO) 
    231 !----------------------------------------------------------------------- 
    232 / 
     137 
     138!!====================================================================== 
     139!!                      ***  Dynamics namelists  ***                  !! 
     140!!====================================================================== 
     141! 
    233142!----------------------------------------------------------------------- 
    234143&nam_vvl       !   vertical coordinate options                          (default: z-star) 
     
    238147&namdyn_adv    !   formulation of the momentum advection                (default: NO selection) 
    239148!----------------------------------------------------------------------- 
    240    ln_dynadv_NONE= .false. !  linear dynamics (no momentum advection) 
    241    ln_dynadv_vec = .true. !  vector form - 2nd centered scheme 
    242      nn_dynkeg     = 0        ! grad(KE) scheme: =0   C2  ;  =1   Hollingsworth correction 
    243    ln_dynadv_cen2= .false. !  flux form - 2nd order centered scheme 
    244    ln_dynadv_ubs = .false. !  flux form - 3rd order UBS      scheme 
    245 / 
    246 !----------------------------------------------------------------------- 
    247 &namdyn_vor    !   option of physics/algorithm (not control by CPP keys) 
    248 !----------------------------------------------------------------------- 
    249    ln_dynvor_ene = .false. !  enstrophy conserving scheme 
    250    ln_dynvor_ens = .false. !  energy conserving scheme 
    251    ln_dynvor_mix = .false. !  mixed scheme 
    252    ln_dynvor_een = .true.  !  energy & enstrophy scheme 
    253       nn_een_e3f = 0             !  e3f = masked averaging of e3t divided by 4 (=0) or by the sum of mask (=1) 
     149   ln_dynadv_NONE= .true. !  linear dynamics (no momentum advection) 
     150/ 
     151!----------------------------------------------------------------------- 
     152&namdyn_vor    !   Vorticity / Coriolis scheme                          (default: NO selection) 
     153!----------------------------------------------------------------------- 
    254154/ 
    255155!----------------------------------------------------------------------- 
     
    264164/ 
    265165!----------------------------------------------------------------------- 
    266 &namdyn_ldf    !   lateral diffusion on momentum 
    267 !----------------------------------------------------------------------- 
    268    !                       !  Type of the operator : 
    269    !                           !  no diffusion: set ln_dynldf_lap=..._blp=F  
    270    ln_dynldf_lap =  .true.     !    laplacian operator 
    271    ln_dynldf_blp =  .false.    !  bilaplacian operator 
    272    !                       !  Direction of action  : 
    273    ln_dynldf_lev =  .true.     !  iso-level 
    274    ln_dynldf_hor =  .false.    !  horizontal (geopotential) 
    275    ln_dynldf_iso =  .false.    !  iso-neutral 
    276    !                       !  Coefficient 
    277    nn_ahm_ijk_t  = -30         !  space/time variation of eddy coef 
    278    !                                !  =-30  read in eddy_viscosity_3D.nc file 
    279    !                                !  =-20  read in eddy_viscosity_2D.nc file 
    280    !                                !  =  0  constant  
    281    !                                !  = 10  F(k)=c1d 
    282    !                                !  = 20  F(i,j)=F(grid spacing)=c2d 
    283    !                                !  = 30  F(i,j,k)=c2d*c1d 
    284    !                                !  = 31  F(i,j,k)=F(grid spacing and local velocity) 
    285    rn_ahm_0      =  40000.     !  horizontal laplacian eddy viscosity   [m2/s] 
    286    rn_ahm_b      =      0.     !  background eddy viscosity for ldf_iso [m2/s] 
    287    rn_bhm_0      = 1.e+12      !  horizontal bilaplacian eddy viscosity [m4/s] 
    288    ! 
    289    ! Caution in 20 and 30 cases the coefficient have to be given for a 1 degree grid (~111km) 
     166&namdyn_ldf    !   lateral diffusion on momentum                        (default: NO selection) 
     167!----------------------------------------------------------------------- 
     168   ln_dynldf_NONE= .true.     !  No operator (i.e. no explicit diffusion) 
    290169/ 
    291170!----------------------------------------------------------------------- 
  • branches/2017/dev_merge_2017/NEMOGCM/CONFIG/TEST_CASES/SAS_BIPER/EXP00/namelist_cfg

    r9458 r9490  
    8080&namsbc_sas    !   Stand-Alone Surface boundary condition 
    8181!----------------------------------------------------------------------- 
    82    l_sasread   = .false.   ! Read fields in a file if .TRUE. , or initialize to 0. in sbcssm.F90 if .FALSE. 
     82   l_sasread   = .false.   =T Read in file ;  =F set all to 0. (see sbcssm.F90) 
    8383/ 
    8484!----------------------------------------------------------------------- 
     
    178178      nn_fct_v   =  2               !  =2/4, vertical   2nd / COMPACT 4th order  
    179179/ 
    180 !----------------------------------------------------------------------- 
    181 &namtra_adv_mle !   mixed layer eddy parametrisation (Fox-Kemper param) (default: NO) 
    182 !----------------------------------------------------------------------- 
    183 / 
    184180!---------------------------------------------------------------------------------- 
    185181&namtra_ldf    !   lateral diffusion scheme for tracers 
    186182!---------------------------------------------------------------------------------- 
    187    !                       !  Operator type: 
    188    ln_traldf_lap   =  .true.   !    laplacian operator 
    189    ln_traldf_blp   =  .false.  !  bilaplacian operator 
    190    !                       !  Direction of action: 
    191    ln_traldf_lev   =  .false.  !  iso-level 
    192    ln_traldf_hor   =  .false.  !  horizontal (geopotential) 
    193    ln_traldf_iso   =  .true.   !  iso-neutral (Standard operator) 
    194    ln_traldf_triad =  .false.  !  iso-neutral (Triads   operator) 
    195    ! 
    196    !                       !  iso-neutral options:         
    197    ln_traldf_msc   =  .true.   !  Method of Stabilizing Correction (both operators) 
    198    rn_slpmax       =   0.01    !  slope limit                      (both operators) 
    199    ln_triad_iso    =  .false.  !  pure horizontal mixing in ML              (triad only) 
    200    rn_sw_triad     =  1        !  =1 switching triad ; =0 all 4 triads used (triad only) 
    201    ln_botmix_triad =  .false.  !  lateral mixing on bottom                  (triad only) 
    202    ! 
    203    !                       !  Coefficients: 
    204    nn_aht_ijk_t    = 20        !  space/time variation of eddy coef 
    205    !                                !   =-20 (=-30)    read in eddy_diffusivity_2D.nc (..._3D.nc) file 
    206    !                                !   =  0           constant  
    207    !                                !   = 10 F(k)      =ldf_c1d  
    208    !                                !   = 20 F(i,j)    =ldf_c2d  
    209    !                                !   = 21 F(i,j,t)  =Treguier et al. JPO 1997 formulation 
    210    !                                !   = 30 F(i,j,k)  =ldf_c2d + ldf_c1d 
    211    !                                !   = 31 F(i,j,k,t)=F(local velocity) 
    212    rn_aht_0        = 2000.     !  lateral eddy diffusivity   (lap. operator) [m2/s] 
    213    rn_bht_0        = 1.e+12    !  lateral eddy diffusivity (bilap. operator) [m4/s] 
    214 / 
    215 !---------------------------------------------------------------------------------- 
    216 &namtra_ldfeiv !   eddy induced velocity param. 
    217 !---------------------------------------------------------------------------------- 
    218    ln_ldfeiv     =.true.   ! use eddy induced velocity parameterization 
    219    ln_ldfeiv_dia =.true.   ! diagnose eiv stream function and velocities 
    220    rn_aeiv_0     = 2000.   ! eddy induced velocity coefficient   [m2/s] 
    221    nn_aei_ijk_t  = 21      ! space/time variation of the eiv coeficient 
    222    !                                !   =-20 (=-30)    read in eddy_induced_velocity_2D.nc (..._3D.nc) file 
    223    !                                !   =  0           constant  
    224    !                                !   = 10 F(k)      =ldf_c1d  
    225    !                                !   = 20 F(i,j)    =ldf_c2d  
    226    !                                !   = 21 F(i,j,t)  =Treguier et al. JPO 1997 formulation 
    227    !                                !   = 30 F(i,j,k)  =ldf_c2d + ldf_c1d 
    228 / 
    229 !----------------------------------------------------------------------- 
    230 &namtra_dmp    !   tracer: T & S newtonian damping                      (default: NO) 
    231 !----------------------------------------------------------------------- 
    232 / 
    233 !----------------------------------------------------------------------- 
    234 &nam_vvl       !   vertical coordinate options                          (default: z-star) 
    235 !----------------------------------------------------------------------- 
    236 / 
     183   ln_traldf_NONE   =  .true.   !    laplacian operator 
     184/ 
     185 
    237186!----------------------------------------------------------------------- 
    238187&namdyn_adv    !   formulation of the momentum advection                (default: NO selection) 
    239188!----------------------------------------------------------------------- 
    240    ln_dynadv_NONE= .false. !  linear dynamics (no momentum advection) 
    241    ln_dynadv_vec = .true. !  vector form - 2nd centered scheme 
    242      nn_dynkeg     = 0        ! grad(KE) scheme: =0   C2  ;  =1   Hollingsworth correction 
    243    ln_dynadv_cen2= .false. !  flux form - 2nd order centered scheme 
    244    ln_dynadv_ubs = .false. !  flux form - 3rd order UBS      scheme 
    245 / 
    246 !----------------------------------------------------------------------- 
    247 &namdyn_vor    !   option of physics/algorithm (not control by CPP keys) 
    248 !----------------------------------------------------------------------- 
    249    ln_dynvor_ene = .false. !  enstrophy conserving scheme 
    250    ln_dynvor_ens = .false. !  energy conserving scheme 
    251    ln_dynvor_mix = .false. !  mixed scheme 
    252    ln_dynvor_een = .true.  !  energy & enstrophy scheme 
    253       nn_een_e3f = 0             !  e3f = masked averaging of e3t divided by 4 (=0) or by the sum of mask (=1) 
    254 / 
    255 !----------------------------------------------------------------------- 
    256 &namdyn_hpg    !   Hydrostatic pressure gradient option 
     189   ln_dynadv_NONE= .true. !  linear dynamics (no momentum advection) 
     190/ 
     191!----------------------------------------------------------------------- 
     192&namdyn_vor    !   Vorticity / Coriolis scheme                          (default: NO selection) 
     193!----------------------------------------------------------------------- 
     194/ 
     195!----------------------------------------------------------------------- 
     196&namdyn_hpg    !   Hydrostatic pressure gradient option                 (default: NO selection) 
    257197!----------------------------------------------------------------------- 
    258198   ln_hpg_zco  = .true.   !  z-coordinate - full steps 
     
    264204/ 
    265205!----------------------------------------------------------------------- 
    266 &namdyn_ldf    !   lateral diffusion on momentum 
    267 !----------------------------------------------------------------------- 
    268    !                       !  Type of the operator : 
    269    !                           !  no diffusion: set ln_dynldf_lap=..._blp=F  
    270    ln_dynldf_lap =  .true.     !    laplacian operator 
    271    ln_dynldf_blp =  .false.    !  bilaplacian operator 
    272    !                       !  Direction of action  : 
    273    ln_dynldf_lev =  .true.     !  iso-level 
    274    ln_dynldf_hor =  .false.    !  horizontal (geopotential) 
    275    ln_dynldf_iso =  .false.    !  iso-neutral 
    276    !                       !  Coefficient 
    277    nn_ahm_ijk_t  = -30         !  space/time variation of eddy coef 
    278    !                                !  =-30  read in eddy_viscosity_3D.nc file 
    279    !                                !  =-20  read in eddy_viscosity_2D.nc file 
    280    !                                !  =  0  constant  
    281    !                                !  = 10  F(k)=c1d 
    282    !                                !  = 20  F(i,j)=F(grid spacing)=c2d 
    283    !                                !  = 30  F(i,j,k)=c2d*c1d 
    284    !                                !  = 31  F(i,j,k)=F(grid spacing and local velocity) 
    285    rn_ahm_0      =  40000.     !  horizontal laplacian eddy viscosity   [m2/s] 
    286    rn_ahm_b      =      0.     !  background eddy viscosity for ldf_iso [m2/s] 
    287    rn_bhm_0      = 1.e+12      !  horizontal bilaplacian eddy viscosity [m4/s] 
    288    ! 
    289    ! Caution in 20 and 30 cases the coefficient have to be given for a 1 degree grid (~111km) 
     206&namdyn_ldf    !   lateral diffusion on momentum                        (default: NO selection) 
     207!----------------------------------------------------------------------- 
     208   ln_dynldf_NONE= .true.     !  No operator (i.e. no explicit diffusion) 
    290209/ 
    291210!----------------------------------------------------------------------- 
    292211&namzdf        !   vertical physics                                     (default: NO selection) 
    293212!----------------------------------------------------------------------- 
    294    !                       ! type of vertical closure 
    295213   ln_zdfcst   = .true.       !  constant mixing 
    296214/ 
  • branches/2017/dev_merge_2017/NEMOGCM/CONFIG/TEST_CASES/VORTEX/EXP00/1_namelist_cfg

    r9356 r9490  
    180180!----------------------------------------------------------------------- 
    181181   ln_seos     = .true.         !  = Use simplified equation of state (S-EOS) 
    182    !                            !  rd(T,S,Z)*rau0 = -a0*(1+.5*lambda*dT+mu*Z+nu*dS)*dT+b0*dS 
    183    rn_a0       =  0.28        !  thermal expension coefficient (for simplified equation of state) 
    184    rn_b0       =  0.          !  saline  expension coefficient (for simplified equation of state) 
    185    rn_lambda1  =  0.          !  cabbeling coeff in T^2  (=0 for linear eos) 
    186    rn_lambda2  =  0.          !  cabbeling coeff in S^2  (=0 for linear eos) 
    187    rn_mu1      =  0.          !  thermobaric coeff. in T (=0 for linear eos) 
    188    rn_mu2      =  0.          !  thermobaric coeff. in S (=0 for linear eos) 
    189    rn_nu       =  0.          !  cabbeling coeff in T*S  (=0 for linear eos) 
     182      !                            !  rd(T,S,Z)*rau0 = -a0*(1+.5*lambda*dT+mu*Z+nu*dS)*dT+b0*dS 
     183      rn_a0       =  0.28        !  thermal expension coefficient (for simplified equation of state) 
     184      rn_b0       =  0.          !  saline  expension coefficient (for simplified equation of state) 
     185      rn_lambda1  =  0.          !  cabbeling coeff in T^2  (=0 for linear eos) 
     186      rn_lambda2  =  0.          !  cabbeling coeff in S^2  (=0 for linear eos) 
     187      rn_mu1      =  0.          !  thermobaric coeff. in T (=0 for linear eos) 
     188      rn_mu2      =  0.          !  thermobaric coeff. in S (=0 for linear eos) 
     189      rn_nu       =  0.          !  cabbeling coeff in T*S  (=0 for linear eos) 
    190190/ 
    191191!----------------------------------------------------------------------- 
     
    195195      nn_cen_h   =  4            !  =2/4, horizontal 2nd order CEN / 4th order CEN 
    196196      nn_cen_v   =  4            !  =2/4, vertical   2nd order CEN / 4th order COMPACT 
    197    ln_traadv_fct = .true. !  FCT scheme 
     197   ln_traadv_fct = .true.  !  FCT scheme 
    198198      nn_fct_h   =  2            !  =2/4, horizontal 2nd / 4th order 
    199199      nn_fct_v   =  2            !  =2/4, vertical   2nd / COMPACT 4th order 
     
    205205/ 
    206206!----------------------------------------------------------------------- 
    207 &namtra_adv_mle !   mixed layer eddy parametrisation (Fox-Kemper param) (default: NO) 
    208 !----------------------------------------------------------------------- 
    209 / 
    210 !----------------------------------------------------------------------- 
    211207&namtra_ldf    !   lateral diffusion scheme for tracers                 (default: NO selection) 
    212208!----------------------------------------------------------------------- 
    213   !                       !  Operator type: 
     209   !                       !  Operator type: 
    214210   ln_traldf_NONE  =  .true.  !  No explicit diffusion 
    215211   ln_traldf_lap   =  .false.  !    laplacian operator 
    216212   ln_traldf_blp   =  .false.  !  bilaplacian operator 
    217213/ 
    218 !----------------------------------------------------------------------- 
    219 &namtra_ldfeiv !   eddy induced velocity param.                         (default: NO) 
    220 !----------------------------------------------------------------------- 
    221 / 
    222 !----------------------------------------------------------------------- 
    223 &namtra_dmp    !   tracer: T & S newtonian damping                      (default: NO) 
    224 !----------------------------------------------------------------------- 
    225    ln_tradmp   =  .false.   !  add a damping termn (T) or not (F) 
    226 / 
     214 
     215!!====================================================================== 
     216!!                      ***  Dynamics namelists  ***                  !! 
     217!!====================================================================== 
     218! 
    227219!----------------------------------------------------------------------- 
    228220&nam_vvl       !   vertical coordinate options                          (default: z-star) 
     
    279271   !                       !  Coefficient 
    280272   nn_ahm_ijk_t  = 0           !  space/time variation of eddy coef 
    281    !                                !  =-30  read in eddy_viscosity_3D.nc file 
    282    !                                !  =-20  read in eddy_viscosity_2D.nc file 
    283    !                                !  =  0  constant 
    284    !                                !  = 10  F(k)=c1d 
    285    !                                !  = 20  F(i,j)=F(grid spacing)=c2d 
    286    !                                !  = 30  F(i,j,k)=c2d*c1d 
    287    !                                !  = 31  F(i,j,k)=F(grid spacing and local velocity) 
    288    !                                !  = 32  F(i,j,k)=F(local gridscale and deformation rate) 
    289    ! Caution in 20 and 30 cases the coefficient have to be given for a 1 degree grid (~111km) 
    290    rn_ahm_0      =     0.01    !  horizontal laplacian eddy viscosity   [m2/s] 
    291    rn_ahm_b      =     0.      !  background eddy viscosity for ldf_iso [m2/s] 
    292    rn_bhm_0      =     1.e+12  !  horizontal bilaplacian eddy viscosity [m4/s] 
    293    !                       !  Smagorinsky settings (nn_ahm_ijk_t  = 32) : 
    294    rn_csmc       = 3.5         !  Smagorinsky constant of proportionality 
    295    rn_minfac     = 1.0         !  multiplier of theorectical lower limit 
    296    rn_maxfac     = 1.0         !  multiplier of theorectical upper limit 
    297 / 
     273      !                             !  =  0  constant  
     274      !                        !  time invariant coefficients :  ahm = 1/2  Uv*Lv   (lap case)  
     275      !                             !                            bhm = 1/12 Uv*Lv^3 (blp case) 
     276      rn_Uv      = 0.1              !  lateral viscous velocity [m/s] (nn_ahm_ijk_t= 0, 10, 20, 30) 
     277      rn_Lv      = 30.e+3           !  lateral viscous length   [m]   (nn_ahm_ijk_t= 0, 10) 
     278/ 
     279 
    298280!----------------------------------------------------------------------- 
    299281&namzdf        !   vertical physics                                     (default: NO selection) 
  • branches/2017/dev_merge_2017/NEMOGCM/CONFIG/TEST_CASES/VORTEX/EXP00/namelist_cfg

    r9356 r9490  
    6060!----------------------------------------------------------------------- 
    6161/ 
     62 
     63!!====================================================================== 
     64!!            ***  Surface Boundary Condition namelists  *** 
     65!!====================================================================== 
     66! 
    6267!----------------------------------------------------------------------- 
    6368&namsbc        !   Surface Boundary Condition (surface module) 
     
    155160!----------------------------------------------------------------------- 
    156161/ 
     162 
     163!!====================================================================== 
     164!!                ***  Top/Bottom boundary condition  ***             !! 
     165!!====================================================================== 
     166! 
    157167!----------------------------------------------------------------------- 
    158168&namdrg        !   top/bottom drag coefficient                          (default: NO selection) 
     
    176186!----------------------------------------------------------------------- 
    177187/ 
     188 
     189!!====================================================================== 
     190!!                        Tracer (T & S) namelists                    !! 
     191!!====================================================================== 
     192! 
    178193!----------------------------------------------------------------------- 
    179194&nameos        !   ocean Equation Of Seawater                           (default: NO) 
     
    205220/ 
    206221!----------------------------------------------------------------------- 
    207 &namtra_adv_mle !   mixed layer eddy parametrisation (Fox-Kemper param) (default: NO) 
    208 !----------------------------------------------------------------------- 
    209 / 
    210 !----------------------------------------------------------------------- 
    211222&namtra_ldf    !   lateral diffusion scheme for tracers                 (default: NO selection) 
    212223!----------------------------------------------------------------------- 
     
    216227   ln_traldf_blp   =  .false.  !  bilaplacian operator 
    217228/ 
    218 !----------------------------------------------------------------------- 
    219 &namtra_ldfeiv !   eddy induced velocity param.                         (default: NO) 
    220 !----------------------------------------------------------------------- 
    221 / 
    222 !----------------------------------------------------------------------- 
    223 &namtra_dmp    !   tracer: T & S newtonian damping                      (default: NO) 
    224 !----------------------------------------------------------------------- 
    225    ln_tradmp   =  .false.   !  add a damping termn (T) or not (F) 
    226 / 
     229 
     230!!====================================================================== 
     231!!                     vertical physics namelists                     !! 
     232!!====================================================================== 
     233! 
    227234!----------------------------------------------------------------------- 
    228235&nam_vvl       !   vertical coordinate options                          (default: z-star) 
     
    279286   !                       !  Coefficient 
    280287   nn_ahm_ijk_t  = 0           !  space/time variation of eddy coef 
    281    !                                !  =-30  read in eddy_viscosity_3D.nc file 
    282    !                                !  =-20  read in eddy_viscosity_2D.nc file 
    283    !                                !  =  0  constant 
    284    !                                !  = 10  F(k)=c1d 
    285    !                                !  = 20  F(i,j)=F(grid spacing)=c2d 
    286    !                                !  = 30  F(i,j,k)=c2d*c1d 
    287    !                                !  = 31  F(i,j,k)=F(grid spacing and local velocity) 
    288    !                                !  = 32  F(i,j,k)=F(local gridscale and deformation rate) 
    289    ! Caution in 20 and 30 cases the coefficient have to be given for a 1 degree grid (~111km) 
    290    rn_ahm_0      =     0.01    !  horizontal laplacian eddy viscosity   [m2/s] 
    291    rn_ahm_b      =     0.      !  background eddy viscosity for ldf_iso [m2/s] 
    292    rn_bhm_0      =     1.e+12  !  horizontal bilaplacian eddy viscosity [m4/s] 
    293    !                       !  Smagorinsky settings (nn_ahm_ijk_t  = 32) : 
    294    rn_csmc       = 3.5         !  Smagorinsky constant of proportionality 
    295    rn_minfac     = 1.0         !  multiplier of theorectical lower limit 
    296    rn_maxfac     = 1.0         !  multiplier of theorectical upper limit 
    297 / 
     288      !                             !  =  0  constant  
     289      !                        !  time invariant coefficients :  ahm = 1/2  Uv*Lv   (lap case)  
     290      !                             !                            bhm = 1/12 Uv*Lv^3 (blp case) 
     291      rn_Uv      = 0.1              !  lateral viscous velocity [m/s] (nn_ahm_ijk_t= 0, 10, 20, 30) 
     292      rn_Lv      = 30.e+3           !  lateral viscous length   [m]   (nn_ahm_ijk_t= 0, 10) 
     293/ 
     294 
    298295!----------------------------------------------------------------------- 
    299296&namzdf        !   vertical physics                                     (default: NO selection) 
  • branches/2017/dev_merge_2017/NEMOGCM/CONFIG/TEST_CASES/WAD/EXP00/file_def_nemo-opa.xml

    r7635 r9490  
    8585          <field field_ref="woce"         name="vovecrtz" /> 
    8686          <field field_ref="avt"          name="votkeavt" /> 
    87           <field field_ref="aht2d"        name="soleahtw" /> 
    8887    </file> 
    8988 
  • branches/2017/dev_merge_2017/NEMOGCM/CONFIG/TEST_CASES/WAD/EXP00/namelist_cfg

    r9356 r9490  
    44! 
    55!----------------------------------------------------------------------- 
    6 &namusr_def 
    7 !----------------------------------------------------------------------- 
    8    rn_dx = 1000.0 
    9    rn_dz = 1.0 
    10    nn_wad_test = 1 
     6&namusr_def    !    Wetting and Drying TEST CASE 
     7!----------------------------------------------------------------------- 
     8   rn_dx       = 1000.0    ! horizontal resolution 
     9   rn_dz       = 1.0       ! vertical   resolution 
     10   nn_wad_test = 1         ! ??? 
    1111/ 
    1212!----------------------------------------------------------------------- 
     
    3939/ 
    4040!----------------------------------------------------------------------- 
    41 &namtsd        !   data : Temperature  & Salinity 
    42 !----------------------------------------------------------------------- 
    43    cn_dir        = './'      !  root directory for the location of the runoff files 
    44    ln_tsd_init   = .false.   !  Initialisation of ocean T & S with T &S input data (T) or not (F) 
    45    ln_tsd_tradmp = .false.   !  damping of ocean T & S toward T &S input data (T) or not (F) 
    46 / 
    47 !----------------------------------------------------------------------- 
    48 &namwad        !   Wetting and drying  default is no WAD 
    49 !----------------------------------------------------------------------- 
    50    ln_wd_il          = .false   ! T/F activation of iterative limiter for  wetting and drying scheme 
    51    ln_wd_dl          = .true.   ! T/F activation of directional llimiter for wetting drying scheme 
    52    ln_wd_dl_bc       = .true.   ! T/F Directional limiteer Baroclinic option 
    53    ln_wd_dl_rmp      = .true.   ! T/F Turn on directional limiter ramp 
    54    rn_wdmin0         =  0.30    ! dpoth at which wetting/drying starts 
    55    rn_wdmin1         =  0.2     ! Minimum wet depth on dried cells 
    56    rn_wdmin2         =  0.0001  ! Tolerance of min wet depth on dried cells 
    57    rn_wdld           =  2.5     ! Land elevation below which wetting/drying is allowed 
    58    nn_wdit           =   20     ! Max iterations for W/D limiter 
    59 / 
    60 !----------------------------------------------------------------------- 
    61 &namcrs        !   coarsened grid (for outputs and/or TOP)              (ln_crs =T) 
    62 !----------------------------------------------------------------------- 
    63 / 
    64 !----------------------------------------------------------------------- 
    65 &namc1d        !   1D configuration options                             ("key_c1d") 
    66 !----------------------------------------------------------------------- 
    67 / 
    68 !----------------------------------------------------------------------- 
    69 &namc1d_dyndmp !   U & V newtonian damping                              ("key_c1d") 
    70 !----------------------------------------------------------------------- 
    71 / 
    72 !----------------------------------------------------------------------- 
    73 &namc1d_uvd    !   data: U & V currents                                 ("key_c1d") 
    74 !----------------------------------------------------------------------- 
    75 / 
     41&namwad        !   Wetting and Drying (WaD)                             (default: NO) 
     42!----------------------------------------------------------------------- 
     43   ln_wd_il    = .false    ! T/F activation of iterative   limiter 
     44   ln_wd_dl    = .true.    ! T/F activation of directional limiter 
     45   ln_wd_dl_bc = .true.    ! T/F Directional limiteer Baroclinic option 
     46   ln_wd_dl_rmp= .true.    ! T/F Turn on directional limiter ramp 
     47   rn_wdmin0   =  0.30     ! depth at which WaD starts 
     48   rn_wdmin1   =  0.2      ! Minimum wet depth on dried cells 
     49   rn_wdmin2   =  0.0001   ! Tolerance of min wet depth on dried cells 
     50   rn_wdld     =  2.5      ! Land elevation below which WaD is allowed 
     51   nn_wdit     =   20      ! Max iterations for WaD limiter 
     52/ 
     53 
     54!!====================================================================== 
     55!!            ***  Surface Boundary Condition namelists  ***          !! 
     56!!====================================================================== 
     57! 
    7658!----------------------------------------------------------------------- 
    7759&namsbc        !   Surface Boundary Condition (surface module) 
     
    8062   !                       !     (also = the frequency of sea-ice model call) 
    8163   ln_usr      = .true.    !  analytical formulation                    (T => check usrdef_sbc) 
    82    ln_blk      = .false.   !  CORE bulk formulation                     (T => fill namsbc_blk ) 
    8364   nn_ice      = 0         !  =0 no ice boundary condition   , 
    8465   ln_rnf      = .false.   !  runoffs                                   (T => fill namsbc_rnf ) 
     
    281262/ 
    282263!----------------------------------------------------------------------- 
    283 &namtra_adv_mle !   mixed layer eddy parametrisation (Fox-Kemper param) (default: NO) 
    284 !----------------------------------------------------------------------- 
    285 / 
    286 !----------------------------------------------------------------------- 
    287264&namtra_ldf    !   lateral diffusion scheme for tracers                 (default: NO selection) 
    288265!----------------------------------------------------------------------- 
     
    305282   !                       !  Coefficients: 
    306283   nn_aht_ijk_t    = 0         !  space/time variation of eddy coef 
    307    !                                !   =-20 (=-30)    read in eddy_induced_velocity_2D.nc (..._3D.nc) file 
    308    !                                !   =  0           constant  
    309    !                                !   = 10 F(k)      =ldf_c1d  
    310    !                                !   = 20 F(i,j)    =ldf_c2d  
    311    !                                !   = 21 F(i,j,t)  =Treguier et al. JPO 1997 formulation 
    312    !                                !   = 30 F(i,j,k)  =ldf_c2d + ldf_c1d 
    313    !                                !   = 31 F(i,j,k,t)=F(local velocity) 
    314    rn_aht_0        = 1000.     !  lateral eddy diffusivity   (lap. operator) [m2/s] 
    315    rn_bht_0        = 1.e+12    !  lateral eddy diffusivity (bilap. operator) [m4/s] 
    316 / 
    317 !----------------------------------------------------------------------- 
    318 &namtra_ldfeiv !   eddy induced velocity param.                         (default: NO) 
    319 !----------------------------------------------------------------------- 
    320    ln_ldfeiv     =.false.   ! use eddy induced velocity parameterization 
    321 / 
    322 !----------------------------------------------------------------------- 
    323 &namtra_dmp    !   tracer: T & S newtonian damping                      (default: NO) 
    324 !----------------------------------------------------------------------- 
    325    ln_tradmp   =  .false.  !  add a damping termn (T) or not (F) 
    326 / 
     284      !                             !  =  0  constant  
     285      !                        !  time invariant coefficients :  aht = 1/2  Uv*Lv   (lap case)  
     286      !                             !                            or  = 1/12 Uv*Lv^3 (blp case) 
     287      rn_Ud      = 0.2              !  lateral diffusive velocity [m/s] (nn_aht_ijk_t= 0, 10, 20, 30) 
     288      rn_Ld      = 10.e+3           !  lateral diffusive length   [m]   (nn_aht_ijk_t= 0, 10) 
     289/ 
     290 
     291!!====================================================================== 
     292!!                      ***  Dynamics namelists  ***                  !! 
     293!!====================================================================== 
     294! 
    327295!----------------------------------------------------------------------- 
    328296&nam_vvl       !   vertical coordinate options                          (default: z-star) 
     
    374342   !                       !  Coefficient 
    375343   nn_ahm_ijk_t  = 0           !  space/time variation of eddy coef 
    376    !                                !  =-30  read in eddy_viscosity_3D.nc file 
    377    !                                !  =-20  read in eddy_viscosity_2D.nc file 
    378    !                                !  =  0  constant  
    379    !                                !  = 10  F(k)=c1d 
    380    !                                !  = 20  F(i,j)=F(grid spacing)=c2d 
    381    !                                !  = 30  F(i,j,k)=c2d*c1d 
    382    !                                !  = 31  F(i,j,k)=F(grid spacing and local velocity) 
    383    rn_ahm_0      = 1000.        !  horizontal laplacian eddy viscosity   [m2/s] 
    384    rn_ahm_b      =      0.     !  background eddy viscosity for ldf_iso [m2/s] 
    385    rn_bhm_0      =      0.     !  horizontal bilaplacian eddy viscosity [m4/s] 
    386 / 
     344      !                             !  =  0  constant  
     345      !                        !  time invariant coefficients :  ahm = 1/2  Uv*Lv   (lap case)  
     346      !                             !                            or  = 1/12 Uv*Lv^3 (blp case) 
     347      rn_Uv      = 2.0              !  lateral viscous velocity [m/s] (nn_ahm_ijk_t= 0, 10, 20, 30) 
     348      rn_Lv      = 10.e+3           !  lateral viscous length   [m]   (nn_ahm_ijk_t= 0, 10) 
     349/ 
     350 
    387351!!====================================================================== 
    388352!!                     vertical physics namelists                     !! 
  • branches/2017/dev_merge_2017/NEMOGCM/CONFIG/TEST_CASES/cfg.txt

    r9302 r9490  
    22LOCK_EXCHANGE OPA_SRC 
    33ISOMIP OPA_SRC 
    4 SAS_BIPER OPA_SRC SAS_SRC LIM_SRC_3 NST_SRC 
    54ISOMIP OPA_SRC 
    65OVERFLOW OPA_SRC 
    76VORTEX OPA_SRC NST_SRC 
    87CANAL OPA_SRC  
     8SAS_BIPER OPA_SRC SAS_SRC LIM_SRC_3 NST_SRC 
  • branches/2017/dev_merge_2017/NEMOGCM/CONFIG/cfg.txt

    r9464 r9490  
    11AMM12 OPA_SRC 
    22C1D_PAPA OPA_SRC 
    3 GYRE_PISCES OPA_SRC TOP_SRC 
    43GYRE_BFM OPA_SRC TOP_SRC 
    54ORCA2_SAS_LIM3 OPA_SRC SAS_SRC LIM_SRC_3 NST_SRC 
     
    109CS15mini OPA_SRC 
    1110ORCA2_LIM3 OPA_SRC LIM_SRC_3 NST_SRC 
     11AGRIF_NORDIC OPA_SRC LIM_SRC_3 NST_SRC 
     12GYRE_PISCES OPA_SRC TOP_SRC 
    1213ORCA2_LIM3_PISCES OPA_SRC LIM_SRC_3 TOP_SRC NST_SRC 
    13 AGRIF_NORDIC OPA_SRC LIM_SRC_3 NST_SRC 
  • branches/2017/dev_merge_2017/NEMOGCM/NEMO/OPA_SRC/DIA/diatmb.F90

    r9125 r9490  
    5353         WRITE(numout,*) 'dia_tmb_init : Output Top, Middle, Bottom Diagnostics' 
    5454         WRITE(numout,*) '~~~~~~~~~~~~' 
    55          WRITE(numout,*) 'Namelist nam_diatmb : set tmb outputs ' 
    56          WRITE(numout,*) 'Switch for TMB diagnostics (T) or not (F)  ln_diatmb  = ', ln_diatmb 
     55         WRITE(numout,*) '   Namelist nam_diatmb : set tmb outputs ' 
     56         WRITE(numout,*) '      Switch for TMB diagnostics (T) or not (F)  ln_diatmb  = ', ln_diatmb 
    5757      ENDIF 
    5858      ! 
  • branches/2017/dev_merge_2017/NEMOGCM/NEMO/OPA_SRC/DOM/dom_oce.F90

    r9436 r9490  
    148148   REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:) ::           r1_hu_b , r1_hu_n , r1_hu_a   !: inverse of u-depth [1/m] 
    149149   REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:) ::           r1_hv_b , r1_hv_n , r1_hv_a   !: inverse of v-depth [1/m] 
    150  
    151150 
    152151   INTEGER, PUBLIC ::   nla10              !: deepest    W level Above  ~10m (nlb10 - 1) 
  • branches/2017/dev_merge_2017/NEMOGCM/NEMO/OPA_SRC/DOM/domain.F90

    r9405 r9490  
    316316      IF(lwp) THEN                  ! control print 
    317317         WRITE(numout,*) '   Namelist : namrun   ---   run parameters' 
    318          WRITE(numout,*) '      job number                      nn_no           = ', nn_no 
     318         WRITE(numout,*) '      Assimilation cycle              nn_no           = ', nn_no 
    319319         WRITE(numout,*) '      experiment name for output      cn_exp          = ', TRIM( cn_exp           ) 
    320320         WRITE(numout,*) '      file prefix restart input       cn_ocerst_in    = ', TRIM( cn_ocerst_in     ) 
     
    351351      ENDIF 
    352352 
    353       no = nn_no                    ! conversion DOCTOR names into model names (this should disappear soon) 
    354       cexper = cn_exp 
     353      cexper = cn_exp         ! conversion DOCTOR names into model names (this should disappear soon) 
    355354      nrstdt = nn_rstctl 
    356355      nit000 = nn_it000 
  • branches/2017/dev_merge_2017/NEMOGCM/NEMO/OPA_SRC/DOM/dtatsd.F90

    r9168 r9490  
    99   !!   NEMO     1.0  ! 2002-06  (G. Madec)  F90: Free form and module  
    1010   !!            3.3  ! 2010-10  (C. Bricaud, S. Masson)  use of fldread 
    11    !!            3.4  ! 2010-11  (G. Madec, C. Ethe) Merge of dtatem and dtasal + suppression of CPP keys 
     11   !!            3.4  ! 2010-11  (G. Madec, C. Ethe) Merge of dtatem and dtasal + remove CPP keys 
    1212   !!---------------------------------------------------------------------- 
    1313 
     
    2929   PUBLIC   dta_tsd        ! called by istate.F90 and tradmp.90 
    3030 
    31    LOGICAL , PUBLIC ::   ln_tsd_init      !: T & S data flag 
    32    LOGICAL , PUBLIC ::   ln_tsd_tradmp    !: internal damping toward input data flag 
     31   !                                  !!* namtsd  namelist : Temperature & Salinity Data * 
     32   LOGICAL , PUBLIC ::   ln_tsd_init   !: T & S data flag 
     33   LOGICAL , PUBLIC ::   ln_tsd_dmp    !: internal damping toward input data flag 
    3334 
    3435   TYPE(FLD), ALLOCATABLE, DIMENSION(:) ::   sf_tsd   ! structure of input SST (file informations, fields read) 
     
    5859      TYPE(FLD_N)                   ::   sn_tem, sn_sal 
    5960      !! 
    60       NAMELIST/namtsd/   ln_tsd_init, ln_tsd_tradmp, cn_dir, sn_tem, sn_sal 
     61      NAMELIST/namtsd/   ln_tsd_init, ln_tsd_dmp, cn_dir, sn_tem, sn_sal 
    6162      !!---------------------------------------------------------------------- 
    6263      ! 
     
    7273      IF(lwm) WRITE ( numond, namtsd ) 
    7374 
    74       IF( PRESENT( ld_tradmp ) )   ln_tsd_tradmp = .TRUE.     ! forces the initialization when tradmp is used 
     75      IF( PRESENT( ld_tradmp ) )   ln_tsd_dmp = .TRUE.     ! forces the initialization when tradmp is used 
    7576       
    7677      IF(lwp) THEN                  ! control print 
     
    7980         WRITE(numout,*) '~~~~~~~~~~~~ ' 
    8081         WRITE(numout,*) '   Namelist namtsd' 
    81          WRITE(numout,*) '      Initialisation of ocean T & S with T &S input data   ln_tsd_init   = ', ln_tsd_init 
    82          WRITE(numout,*) '      damping of ocean T & S toward T &S input data        ln_tsd_tradmp = ', ln_tsd_tradmp 
     82         WRITE(numout,*) '      Initialisation of ocean T & S with T &S input data   ln_tsd_init = ', ln_tsd_init 
     83         WRITE(numout,*) '      damping of ocean T & S toward T &S input data        ln_tsd_dmp  = ', ln_tsd_dmp 
    8384         WRITE(numout,*) 
    84          IF( .NOT.ln_tsd_init .AND. .NOT.ln_tsd_tradmp ) THEN 
     85         IF( .NOT.ln_tsd_init .AND. .NOT.ln_tsd_dmp ) THEN 
    8586            WRITE(numout,*) 
    86             WRITE(numout,*) '   T & S data not used' 
     87            WRITE(numout,*) '   ===>>   T & S data not used' 
    8788         ENDIF 
    8889      ENDIF 
     
    9596      ! 
    9697      !                             ! allocate the arrays (if necessary) 
    97       IF(  ln_tsd_init .OR. ln_tsd_tradmp ) THEN 
     98      IF( ln_tsd_init .OR. ln_tsd_dmp ) THEN 
    9899         ! 
    99100         ALLOCATE( sf_tsd(jpts), STAT=ierr0 ) 
     
    129130      !!              - 'key_orca_lev10' interpolates on 10 times more levels 
    130131      !!              - s- or mixed z-s coordinate: vertical interpolation on model mesh 
    131       !!              - ln_tsd_tradmp=F: deallocates the T-S data structure 
     132      !!              - ln_tsd_dmp=F: deallocates the T-S data structure 
    132133      !!                as T-S data are no are used 
    133134      !! 
     
    149150      ! 
    150151      !                                   !==   ORCA_R2 configuration and T & S damping   ==!  
    151       IF( cn_cfg == "orca" .AND. nn_cfg == 2 .AND. ln_tsd_tradmp ) THEN    ! some hand made alterations 
     152      IF( cn_cfg == "orca" .AND. nn_cfg == 2 .AND. ln_tsd_dmp ) THEN    ! some hand made alterations 
    152153         ! 
    153154         ij0 = 101   ;   ij1 = 109                       ! Reduced T & S in the Alboran Sea 
     
    238239      ENDIF 
    239240      ! 
    240       IF( .NOT.ln_tsd_tradmp ) THEN                   !==   deallocate T & S structure   ==!  
     241      IF( .NOT.ln_tsd_dmp ) THEN                   !==   deallocate T & S structure   ==!  
    241242         !                                              (data used only for initialisation) 
    242243         IF(lwp) WRITE(numout,*) 'dta_tsd: deallocte T & S arrays as they are only use to initialize the run' 
  • branches/2017/dev_merge_2017/NEMOGCM/NEMO/OPA_SRC/DYN/dynadv.F90

    r9190 r9490  
    9898      !!---------------------------------------------------------------------- 
    9999      ! 
     100      IF(lwp) THEN 
     101         WRITE(numout,*) 
     102         WRITE(numout,*) 'dyn_adv_init : choice/control of the momentum advection scheme' 
     103         WRITE(numout,*) '~~~~~~~~~~~~' 
     104      ENDIF 
     105      ! 
    100106      REWIND( numnam_ref )              ! Namelist namdyn_adv in reference namelist : Momentum advection scheme 
    101107      READ  ( numnam_ref, namdyn_adv, IOSTAT = ios, ERR = 901) 
     
    107113 
    108114      IF(lwp) THEN                    ! Namelist print 
    109          WRITE(numout,*) 
    110          WRITE(numout,*) 'dyn_adv_init : choice/control of the momentum advection scheme' 
    111          WRITE(numout,*) '~~~~~~~~~~~~' 
    112115         WRITE(numout,*) '   Namelist namdyn_adv : chose a advection formulation & scheme for momentum' 
    113116         WRITE(numout,*) '      linear dynamics : no momentum advection          ln_dynadv_NONE = ', ln_dynadv_NONE 
  • branches/2017/dev_merge_2017/NEMOGCM/NEMO/OPA_SRC/DYN/dynhpg.F90

    r9168 r9490  
    5353   PUBLIC   dyn_hpg_init   ! routine called by opa module 
    5454 
    55    !                                 !!* Namelist namdyn_hpg : hydrostatic pressure gradient 
    56    LOGICAL , PUBLIC ::   ln_hpg_zco   !: z-coordinate - full steps 
    57    LOGICAL , PUBLIC ::   ln_hpg_zps   !: z-coordinate - partial steps (interpolation) 
    58    LOGICAL , PUBLIC ::   ln_hpg_sco   !: s-coordinate (standard jacobian formulation) 
    59    LOGICAL , PUBLIC ::   ln_hpg_djc   !: s-coordinate (Density Jacobian with Cubic polynomial) 
    60    LOGICAL , PUBLIC ::   ln_hpg_prj   !: s-coordinate (Pressure Jacobian scheme) 
    61    LOGICAL , PUBLIC ::   ln_hpg_isf   !: s-coordinate similar to sco modify for isf 
    62  
    63    INTEGER , PUBLIC ::   nhpg  =  0   ! = 0 to 7, type of pressure gradient scheme used ! (deduced from ln_hpg_... flags) (PUBLIC for TAM) 
     55   !                                !!* Namelist namdyn_hpg : hydrostatic pressure gradient 
     56   LOGICAL, PUBLIC ::   ln_hpg_zco   !: z-coordinate - full steps 
     57   LOGICAL, PUBLIC ::   ln_hpg_zps   !: z-coordinate - partial steps (interpolation) 
     58   LOGICAL, PUBLIC ::   ln_hpg_sco   !: s-coordinate (standard jacobian formulation) 
     59   LOGICAL, PUBLIC ::   ln_hpg_djc   !: s-coordinate (Density Jacobian with Cubic polynomial) 
     60   LOGICAL, PUBLIC ::   ln_hpg_prj   !: s-coordinate (Pressure Jacobian scheme) 
     61   LOGICAL, PUBLIC ::   ln_hpg_isf   !: s-coordinate similar to sco modify for isf 
     62 
     63   !                                !! Flag to control the type of hydrostatic pressure gradient 
     64   INTEGER, PARAMETER ::   np_ERROR  =-10   ! error in specification of lateral diffusion 
     65   INTEGER, PARAMETER ::   np_zco    =  0   ! z-coordinate - full steps 
     66   INTEGER, PARAMETER ::   np_zps    =  1   ! z-coordinate - partial steps (interpolation) 
     67   INTEGER, PARAMETER ::   np_sco    =  2   ! s-coordinate (standard jacobian formulation) 
     68   INTEGER, PARAMETER ::   np_djc    =  3   ! s-coordinate (Density Jacobian with Cubic polynomial) 
     69   INTEGER, PARAMETER ::   np_prj    =  4   ! s-coordinate (Pressure Jacobian scheme) 
     70   INTEGER, PARAMETER ::   np_isf    =  5   ! s-coordinate similar to sco modify for isf 
     71   ! 
     72   INTEGER, PUBLIC ::   nhpg         !: type of pressure gradient scheme used ! (deduced from ln_hpg_... flags) (PUBLIC for TAM) 
    6473 
    6574   !! * Substitutions 
     
    95104      ! 
    96105      SELECT CASE ( nhpg )      ! Hydrostatic pressure gradient computation 
    97       CASE (  0 )   ;   CALL hpg_zco    ( kt )      ! z-coordinate 
    98       CASE (  1 )   ;   CALL hpg_zps    ( kt )      ! z-coordinate plus partial steps (interpolation) 
    99       CASE (  2 )   ;   CALL hpg_sco    ( kt )      ! s-coordinate (standard jacobian formulation) 
    100       CASE (  3 )   ;   CALL hpg_djc    ( kt )      ! s-coordinate (Density Jacobian with Cubic polynomial) 
    101       CASE (  4 )   ;   CALL hpg_prj    ( kt )      ! s-coordinate (Pressure Jacobian scheme) 
    102       CASE (  5 )   ;   CALL hpg_isf    ( kt )      ! s-coordinate similar to sco modify for ice shelf 
     106      CASE ( np_zco )   ;   CALL hpg_zco    ( kt )      ! z-coordinate 
     107      CASE ( np_zps )   ;   CALL hpg_zps    ( kt )      ! z-coordinate plus partial steps (interpolation) 
     108      CASE ( np_sco )   ;   CALL hpg_sco    ( kt )      ! s-coordinate (standard jacobian formulation) 
     109      CASE ( np_djc )   ;   CALL hpg_djc    ( kt )      ! s-coordinate (Density Jacobian with Cubic polynomial) 
     110      CASE ( np_prj )   ;   CALL hpg_prj    ( kt )      ! s-coordinate (Pressure Jacobian scheme) 
     111      CASE ( np_isf )   ;   CALL hpg_isf    ( kt )      ! s-coordinate similar to sco modify for ice shelf 
    103112      END SELECT 
    104113      ! 
     
    179188      ENDIF 
    180189      ! 
    181       !                               ! Set nhpg from ln_hpg_... flags 
    182       IF( ln_hpg_zco )   nhpg = 0 
    183       IF( ln_hpg_zps )   nhpg = 1 
    184       IF( ln_hpg_sco )   nhpg = 2 
    185       IF( ln_hpg_djc )   nhpg = 3 
    186       IF( ln_hpg_prj )   nhpg = 4 
    187       IF( ln_hpg_isf )   nhpg = 5 
    188       ! 
    189       !                               ! Consistency check 
     190      !                               ! Set nhpg from ln_hpg_... flags & consistency check 
     191      nhpg   = np_ERROR 
    190192      ioptio = 0 
    191       IF( ln_hpg_zco )   ioptio = ioptio + 1 
    192       IF( ln_hpg_zps )   ioptio = ioptio + 1 
    193       IF( ln_hpg_sco )   ioptio = ioptio + 1 
    194       IF( ln_hpg_djc )   ioptio = ioptio + 1 
    195       IF( ln_hpg_prj )   ioptio = ioptio + 1 
    196       IF( ln_hpg_isf )   ioptio = ioptio + 1 
     193      IF( ln_hpg_zco ) THEN   ;   nhpg = np_zco   ;   ioptio = ioptio +1   ;   ENDIF 
     194      IF( ln_hpg_zps ) THEN   ;   nhpg = np_zps   ;   ioptio = ioptio +1   ;   ENDIF 
     195      IF( ln_hpg_sco ) THEN   ;   nhpg = np_sco   ;   ioptio = ioptio +1   ;   ENDIF 
     196      IF( ln_hpg_djc ) THEN   ;   nhpg = np_djc   ;   ioptio = ioptio +1   ;   ENDIF 
     197      IF( ln_hpg_prj ) THEN   ;   nhpg = np_prj   ;   ioptio = ioptio +1   ;   ENDIF 
     198      IF( ln_hpg_isf ) THEN   ;   nhpg = np_isf   ;   ioptio = ioptio +1   ;   ENDIF 
     199      ! 
    197200      IF( ioptio /= 1 )   CALL ctl_stop( 'NO or several hydrostatic pressure gradient options used' ) 
    198201      !  
     202      IF(lwp) THEN 
     203         WRITE(numout,*) 
     204         SELECT CASE( nhpg ) 
     205         CASE( np_zco )   ;   WRITE(numout,*) '   ==>>>   z-coord. - full steps ' 
     206         CASE( np_zps )   ;   WRITE(numout,*) '   ==>>>   z-coord. - partial steps (interpolation)' 
     207         CASE( np_sco )   ;   WRITE(numout,*) '   ==>>>   s-coord. (standard jacobian formulation)' 
     208         CASE( np_djc )   ;   WRITE(numout,*) '   ==>>>   s-coord. (Density Jacobian: Cubic polynomial)' 
     209         CASE( np_prj )   ;   WRITE(numout,*) '   ==>>>   s-coord. (Pressure Jacobian: Cubic polynomial)' 
     210         CASE( np_isf )   ;   WRITE(numout,*) '   ==>>>   s-coord. (standard jacobian formulation) for isf' 
     211         END SELECT 
     212         WRITE(numout,*) 
     213      ENDIF 
    199214      !                           
    200215      IF ( .NOT. ln_isfcav ) THEN     !--- no ice shelf load 
  • branches/2017/dev_merge_2017/NEMOGCM/NEMO/OPA_SRC/DYN/dynldf.F90

    r9190 r9490  
    1717   USE phycst         ! physical constants 
    1818   USE ldfdyn         ! lateral diffusion: eddy viscosity coef. 
    19    USE ldfslp         ! lateral diffusion: slopes of mixing orientation 
    2019   USE dynldf_lap_blp ! lateral mixing   (dyn_ldf_lap & dyn_ldf_blp routines) 
    2120   USE dynldf_iso     ! lateral mixing                 (dyn_ldf_iso routine ) 
     
    3433   PUBLIC   dyn_ldf       ! called by step module  
    3534   PUBLIC   dyn_ldf_init  ! called by opa  module  
    36  
    37    !                      ! Parameter to control the type of lateral viscous operator 
    38    INTEGER, PARAMETER, PUBLIC ::   np_ERROR  =-10   !: error in setting the operator 
    39    INTEGER, PARAMETER, PUBLIC ::   np_no_ldf = 00   !: without operator (i.e. no lateral viscous trend) 
    40    !                          !!      laplacian     !    bilaplacian    ! 
    41    INTEGER, PARAMETER, PUBLIC ::   np_lap    = 10   ,   np_blp    = 20  !: iso-level operator 
    42    INTEGER, PARAMETER, PUBLIC ::   np_lap_i  = 11                       !: iso-neutral or geopotential operator 
    43  
    44    INTEGER, PUBLIC ::   nldf   !: type of lateral diffusion used defined from ln_dynldf_... (namlist logicals) 
    4535 
    4636   !! * Substitutions 
     
    7262      ENDIF 
    7363 
    74       SELECT CASE ( nldf )                       ! compute lateral mixing trend and add it to the general trend 
     64      SELECT CASE ( nldf_dyn )                   ! compute lateral mixing trend and add it to the general trend 
    7565      ! 
    76       CASE ( np_lap   )    ;   CALL dyn_ldf_lap  ( kt, ub, vb, ua, va, 1 )      ! iso-level    laplacian 
    77       CASE ( np_lap_i )    ;   CALL dyn_ldf_iso  ( kt )                         ! rotated      laplacian 
    78       CASE ( np_blp   )    ;   CALL dyn_ldf_blp  ( kt, ub, vb, ua, va    )      ! iso-level bi-laplacian 
     66      CASE ( np_lap   )    ;   CALL dyn_ldf_lap( kt, ub, vb, ua, va, 1 )      ! iso-level    laplacian 
     67      CASE ( np_lap_i )    ;   CALL dyn_ldf_iso( kt )                         ! rotated      laplacian 
     68      CASE ( np_blp   )    ;   CALL dyn_ldf_blp( kt, ub, vb, ua, va    )      ! iso-level bi-laplacian 
    7969      ! 
    8070      END SELECT 
     
    10191      !! ** Purpose :   initializations of the horizontal ocean dynamics physics 
    10292      !!---------------------------------------------------------------------- 
    103       INTEGER ::   ioptio, ierr   ! temporary integers  
    104       !!---------------------------------------------------------------------- 
    10593      ! 
    106       !                                !==  Namelist nam_dynldf  ==!   already read in ldfdyn module 
    107       ! 
    108       IF(lwp) THEN                     !== Namelist print  ==! 
     94      IF(lwp) THEN                     !==  Namelist print  ==! 
    10995         WRITE(numout,*) 
    11096         WRITE(numout,*) 'dyn_ldf_init : Choice of the lateral diffusive operator on dynamics' 
    11197         WRITE(numout,*) '~~~~~~~~~~~~' 
    112          WRITE(numout,*) '   Namelist nam_dynldf : set lateral mixing parameters (type, direction, coefficients)' 
    113          WRITE(numout,*) '      Type of operator' 
    114          WRITE(numout,*) '         no explicit diffusion       ln_dynldf_NONE = ', ln_dynldf_NONE 
    115          WRITE(numout,*) '         laplacian operator          ln_dynldf_lap  = ', ln_dynldf_lap 
    116          WRITE(numout,*) '         bilaplacian operator        ln_dynldf_blp  = ', ln_dynldf_blp 
    117          WRITE(numout,*) '      Direction of action' 
    118          WRITE(numout,*) '         iso-level                   ln_dynldf_lev  = ', ln_dynldf_lev 
    119          WRITE(numout,*) '         horizontal (geopotential)   ln_dynldf_hor  = ', ln_dynldf_hor 
    120          WRITE(numout,*) '         iso-neutral                 ln_dynldf_iso  = ', ln_dynldf_iso 
    121       ENDIF 
    122       !                                !==  use of lateral operator or not  ==! 
    123       nldf = np_ERROR 
    124       ioptio = 0 
    125       IF( ln_dynldf_NONE ) THEN   ;   nldf = np_no_ldf   ;   ioptio = ioptio + 1   ;   ENDIF 
    126       IF( ln_dynldf_lap  ) THEN   ;                          ioptio = ioptio + 1   ;   ENDIF 
    127       IF( ln_dynldf_blp  ) THEN   ;                          ioptio = ioptio + 1   ;   ENDIF 
    128       IF( ioptio /= 1    )   CALL ctl_stop( 'dyn_ldf_init: use ONE of the 3 operator options (NONE/lap/blp)' ) 
    129       ! 
    130       IF(.NOT.ln_dynldf_NONE ) THEN    !==  direction ==>> type of operator  ==! 
    131          ioptio = 0 
    132          IF( ln_dynldf_lev )   ioptio = ioptio + 1 
    133          IF( ln_dynldf_hor )   ioptio = ioptio + 1 
    134          IF( ln_dynldf_iso )   ioptio = ioptio + 1 
    135          IF( ioptio /= 1   )   CALL ctl_stop( 'dyn_ldf_init: use ONE of the 3 direction options (level/hor/iso)' ) 
     98         WRITE(numout,*) '   Namelist namdyn_ldf: already read in ldfdyn module' 
     99         WRITE(numout,*) '      see ldf_dyn_init report for lateral mixing parameters' 
     100         WRITE(numout,*) 
    136101         ! 
    137          !                             ! Set nldf, the type of lateral diffusion, from ln_dynldf_... logicals 
    138          ierr = 0 
    139          IF( ln_dynldf_lap ) THEN         ! laplacian operator 
    140             IF( ln_zco ) THEN                ! z-coordinate 
    141                IF ( ln_dynldf_lev )   nldf = np_lap     ! iso-level = horizontal (no rotation) 
    142                IF ( ln_dynldf_hor )   nldf = np_lap     ! iso-level = horizontal (no rotation) 
    143                IF ( ln_dynldf_iso )   nldf = np_lap_i   ! iso-neutral            (   rotation) 
    144             ENDIF 
    145             IF( ln_zps ) THEN                ! z-coordinate with partial step 
    146                IF ( ln_dynldf_lev )   nldf = np_lap     ! iso-level              (no rotation) 
    147                IF ( ln_dynldf_hor )   nldf = np_lap     ! iso-level              (no rotation) 
    148                IF ( ln_dynldf_iso )   nldf = np_lap_i   ! iso-neutral            (   rotation) 
    149             ENDIF 
    150             IF( ln_sco ) THEN                ! s-coordinate 
    151                IF ( ln_dynldf_lev )   nldf = np_lap     ! iso-level = horizontal (no rotation) 
    152                IF ( ln_dynldf_hor )   nldf = np_lap_i   ! horizontal             (   rotation) 
    153                IF ( ln_dynldf_iso )   nldf = np_lap_i   ! iso-neutral            (   rotation) 
    154             ENDIF 
    155          ENDIF 
    156          ! 
    157          IF( ln_dynldf_blp ) THEN         ! bilaplacian operator 
    158             IF( ln_zco ) THEN                ! z-coordinate 
    159                IF( ln_dynldf_lev )   nldf = np_blp     ! iso-level = horizontal (no rotation) 
    160                IF( ln_dynldf_hor )   nldf = np_blp     ! iso-level = horizontal (no rotation) 
    161                IF( ln_dynldf_iso )   ierr = 2          ! iso-neutral            (   rotation) 
    162             ENDIF 
    163             IF( ln_zps ) THEN                ! z-coordinate with partial step 
    164                IF( ln_dynldf_lev )   nldf = np_blp     ! iso-level              (no rotation) 
    165                IF( ln_dynldf_hor )   nldf = np_blp     ! iso-level              (no rotation) 
    166                IF( ln_dynldf_iso )   ierr = 2          ! iso-neutral            (   rotation) 
    167             ENDIF 
    168             IF( ln_sco ) THEN                ! s-coordinate 
    169                IF( ln_dynldf_lev )   nldf = np_blp     ! iso-level              (no rotation) 
    170                IF( ln_dynldf_hor )   ierr = 2          ! horizontal             (   rotation) 
    171                IF( ln_dynldf_iso )   ierr = 2          ! iso-neutral            (   rotation) 
    172             ENDIF 
    173          ENDIF 
    174          ! 
    175          IF( ierr == 2 )   CALL ctl_stop( 'rotated bi-laplacian operator does not exist' ) 
    176          ! 
    177          IF( nldf == np_lap_i )   l_ldfslp = .TRUE.      ! rotation require the computation of the slopes 
    178          ! 
    179       ENDIF 
    180  
    181       IF(lwp) THEN 
    182          WRITE(numout,*) 
    183          IF( nldf == np_no_ldf )   WRITE(numout,*) '   ==>>>   NO lateral viscosity' 
    184          IF( nldf == np_lap    )   WRITE(numout,*) '   ==>>>   iso-level laplacian operator' 
    185          IF( nldf == np_lap_i  )   WRITE(numout,*) '   ==>>>   rotated laplacian operator with iso-level background' 
    186          IF( nldf == np_blp    )   WRITE(numout,*) '   ==>>>   iso-level bi-laplacian operator' 
     102         SELECT CASE( nldf_dyn )             ! print the choice of operator 
     103         CASE( np_no_ldf )   ;   WRITE(numout,*) '   ==>>>   NO lateral viscosity' 
     104         CASE( np_lap    )   ;   WRITE(numout,*) '   ==>>>   iso-level laplacian operator' 
     105         CASE( np_lap_i  )   ;   WRITE(numout,*) '   ==>>>   rotated laplacian operator with iso-level background' 
     106         CASE( np_blp    )   ;   WRITE(numout,*) '   ==>>>   iso-level bi-laplacian operator' 
     107         END SELECT 
    187108      ENDIF 
    188109      ! 
  • branches/2017/dev_merge_2017/NEMOGCM/NEMO/OPA_SRC/DYN/dynldf_iso.F90

    r9124 r9490  
    108108      REAL(wp) ::   zabe1, zmskt, zmkt, zuav, zuwslpi, zuwslpj   ! local scalars 
    109109      REAL(wp) ::   zabe2, zmskf, zmkf, zvav, zvwslpi, zvwslpj   !   -      - 
    110       REAL(wp) ::   zcof0, zcof1, zcof2, zcof3, zcof4            !   -      - 
     110      REAL(wp) ::   zcof0, zcof1, zcof2, zcof3, zcof4, zaht_0    !   -      - 
    111111      REAL(wp), DIMENSION(jpi,jpj) ::   ziut, zivf, zdku, zdk1u  ! 2D workspace 
    112112      REAL(wp), DIMENSION(jpi,jpj) ::   zjuf, zjvt, zdkv, zdk1v  !  -      - 
     
    139139         ! 
    140140       ENDIF 
    141  
     141          
     142      zaht_0 = 0.5_wp * rn_Ud * rn_Ld                  ! aht_0 from namtra_ldf = zaht_max 
     143       
    142144      !                                                ! =============== 
    143145      DO jk = 1, jpkm1                                 ! Horizontal slab 
     
    174176                     &                 + umask(ji-1,jj,jk+1)+umask(ji,jj,jk  ) , 1._wp ) 
    175177 
    176                   zcof1 = - rn_aht_0 * e2t(ji,jj) * zmskt * 0.5  * ( uslp(ji-1,jj,jk) + uslp(ji,jj,jk) ) 
     178                  zcof1 = - zaht_0 * e2t(ji,jj) * zmskt * 0.5  * ( uslp(ji-1,jj,jk) + uslp(ji,jj,jk) ) 
    177179    
    178180                  ziut(ji,jj) = (  zabe1 * ( ub(ji,jj,jk) - ub(ji-1,jj,jk) )    & 
     
    189191                     &                 + umask(ji-1,jj,jk+1) + umask(ji,jj,jk  ) , 1._wp ) 
    190192 
    191                   zcof1 = - rn_aht_0 * e2t(ji,jj) * zmskt * 0.5  * ( uslp(ji-1,jj,jk) + uslp(ji,jj,jk) ) 
     193                  zcof1 = - zaht_0 * e2t(ji,jj) * zmskt * 0.5  * ( uslp(ji-1,jj,jk) + uslp(ji,jj,jk) ) 
    192194 
    193195                  ziut(ji,jj) = (  zabe1 * ( ub(ji,jj,jk) - ub(ji-1,jj,jk) )   & 
     
    206208                  &                 + umask(ji,jj+1,jk+1)+umask(ji,jj,jk  ) , 1._wp ) 
    207209 
    208                zcof2 = - rn_aht_0 * e1f(ji,jj) * zmskf * 0.5  * ( vslp(ji+1,jj,jk) + vslp(ji,jj,jk) ) 
     210               zcof2 = - zaht_0 * e1f(ji,jj) * zmskf * 0.5  * ( vslp(ji+1,jj,jk) + vslp(ji,jj,jk) ) 
    209211 
    210212               zjuf(ji,jj) = (  zabe2 * ( ub(ji,jj+1,jk) - ub(ji,jj,jk) )   & 
     
    227229                  &                + vmask(ji+1,jj,jk+1)+vmask(ji,jj,jk  ) , 1._wp ) 
    228230 
    229                zcof1 = - rn_aht_0 * e2f(ji,jj) * zmskf * 0.5 * ( uslp(ji,jj+1,jk) + uslp(ji,jj,jk) ) 
     231               zcof1 = - zaht_0 * e2f(ji,jj) * zmskf * 0.5 * ( uslp(ji,jj+1,jk) + uslp(ji,jj,jk) ) 
    230232 
    231233               zivf(ji,jj) = (  zabe1 * ( vb(ji+1,jj,jk) - vb(ji,jj,jk) )    & 
     
    244246                     &                + vmask(ji,jj-1,jk+1)+vmask(ji,jj,jk  ) , 1._wp ) 
    245247 
    246                   zcof2 = - rn_aht_0 * e1t(ji,jj) * zmskt * 0.5 * ( vslp(ji,jj-1,jk) + vslp(ji,jj,jk) ) 
     248                  zcof2 = - zaht_0 * e1t(ji,jj) * zmskt * 0.5 * ( vslp(ji,jj-1,jk) + vslp(ji,jj,jk) ) 
    247249 
    248250                  zjvt(ji,jj) = (  zabe2 * ( vb(ji,jj,jk) - vb(ji,jj-1,jk) )    & 
     
    259261                     &           + vmask(ji,jj-1,jk+1)+vmask(ji,jj,jk  ), 1. ) 
    260262 
    261                   zcof2 = - rn_aht_0 * e1t(ji,jj) * zmskt * 0.5 * ( vslp(ji,jj-1,jk) + vslp(ji,jj,jk) ) 
     263                  zcof2 = - zaht_0 * e1t(ji,jj) * zmskt * 0.5 * ( vslp(ji,jj-1,jk) + vslp(ji,jj,jk) ) 
    262264 
    263265                  zjvt(ji,jj) = (  zabe2 * ( vb(ji,jj,jk) - vb(ji,jj-1,jk) )   & 
     
    335337         DO jk = 2, jpkm1 
    336338            DO ji = 2, jpim1 
    337                zcof0 = 0.5_wp * rn_aht_0 * umask(ji,jj,jk) 
     339               zcof0 = 0.5_wp * zaht_0 * umask(ji,jj,jk) 
    338340               ! 
    339341               zuwslpi = zcof0 * ( wslpi(ji+1,jj,jk) + wslpi(ji,jj,jk) ) 
     
    353355                  &                   + zdj1u(ji,jk  ) + zdju (ji  ,jk  )  ) 
    354356               ! vertical mixing coefficient (akzu) 
    355                ! Note: zcof0 include rn_aht_0, so divided by rn_aht_0 to obtain slp^2 * rn_aht_0 
    356                akzu(ji,jj,jk) = ( zuwslpi * zuwslpi + zuwslpj * zuwslpj ) / rn_aht_0 
     357               ! Note: zcof0 include zaht_0, so divided by zaht_0 to obtain slp^2 * zaht_0 
     358               akzu(ji,jj,jk) = ( zuwslpi * zuwslpi + zuwslpj * zuwslpj ) / zaht_0 
    357359            END DO 
    358360         END DO 
     
    361363         DO jk = 2, jpkm1 
    362364            DO ji = 2, jpim1 
    363                zcof0 = 0.5_wp * rn_aht_0 * vmask(ji,jj,jk) 
     365               zcof0 = 0.5_wp * zaht_0 * vmask(ji,jj,jk) 
    364366               ! 
    365367               zvwslpi = zcof0 * ( wslpi(ji,jj+1,jk) + wslpi(ji,jj,jk) ) 
     
    379381                  &                   + zdjv (ji,jk  ) + zdj1v(ji  ,jk  )  ) 
    380382               ! vertical mixing coefficient (akzv) 
    381                ! Note: zcof0 include rn_aht_0, so divided by rn_aht_0 to obtain slp^2 * rn_aht_0 
    382                akzv(ji,jj,jk) = ( zvwslpi * zvwslpi + zvwslpj * zvwslpj ) / rn_aht_0 
     383               ! Note: zcof0 include zaht_0, so divided by zaht_0 to obtain slp^2 * zaht_0 
     384               akzv(ji,jj,jk) = ( zvwslpi * zvwslpi + zvwslpj * zvwslpj ) / zaht_0 
    383385            END DO 
    384386         END DO 
  • branches/2017/dev_merge_2017/NEMOGCM/NEMO/OPA_SRC/DYN/dynzdf.F90

    r9250 r9490  
    1919   USE zdfdrg         ! vertical physics: top/bottom drag coef. 
    2020   USE dynadv    ,ONLY: ln_dynadv_vec    ! dynamics: advection form 
    21    USE dynldf    ,ONLY: nldf, np_lap_i   ! dynamics: type of lateral mixing  
    2221   USE dynldf_iso,ONLY: akzu, akzv       ! dynamics: vertical component of rotated lateral mixing  
    23    USE ldfdyn         ! lateral diffusion: eddy viscosity coef. 
     22   USE ldfdyn         ! lateral diffusion: eddy viscosity coef. and type of operator 
    2423   USE trd_oce        ! trends: ocean variables 
    2524   USE trddyn         ! trend manager: dynamics 
     
    156155      !                    !* Matrix construction 
    157156      zdt = r2dt * 0.5 
    158       IF( nldf == np_lap_i ) THEN   ! rotated lateral mixing: add its vertical mixing (akzu) 
     157      SELECT CASE( nldf_dyn ) 
     158      CASE( np_lap_i )           ! rotated lateral mixing: add its vertical mixing (akzu) 
    159159         DO jk = 1, jpkm1 
    160160            DO jj = 2, jpjm1  
     
    171171            END DO 
    172172         END DO 
    173       ELSE                          ! standard case 
     173      CASE DEFAULT               ! iso-level lateral mixing 
    174174         DO jk = 1, jpkm1 
    175175            DO jj = 2, jpjm1  
     
    184184            END DO 
    185185         END DO 
    186       ENDIF 
     186      END SELECT 
    187187      ! 
    188188      DO jj = 2, jpjm1     !* Surface boundary conditions 
     
    274274      !                       !* Matrix construction 
    275275      zdt = r2dt * 0.5 
    276       IF( nldf == np_lap_i ) THEN   ! rotated lateral mixing: add its vertical mixing (akzu) 
     276      SELECT CASE( nldf_dyn ) 
     277      CASE( np_lap_i )           ! rotated lateral mixing: add its vertical mixing (akzu) 
    277278         DO jk = 1, jpkm1 
    278279            DO jj = 2, jpjm1    
    279280               DO ji = fs_2, fs_jpim1   ! vector opt. 
    280281                  ze3va =  ( 1._wp - r_vvl ) * e3v_n(ji,jj,jk) + r_vvl * e3v_a(ji,jj,jk)   ! after scale factor at T-point 
    281                   zzwi = - zdt * ( avm(ji,jj+1,jk  )+ avm(ji,jj,jk  ) + akzv(ji,jj,jk  ) )   & 
     282                  zzwi = - zdt * ( avm(ji,jj+1,jk  ) + avm(ji,jj,jk  ) + akzv(ji,jj,jk  ) )   & 
    282283                     &         / ( ze3va * e3vw_n(ji,jj,jk  ) ) * wvmask(ji,jj,jk  ) 
    283                   zzws = - zdt * ( avm(ji,jj+1,jk+1)+ avm(ji,jj,jk+1) + akzv(ji,jj,jk+1) )   & 
     284                  zzws = - zdt * ( avm(ji,jj+1,jk+1) + avm(ji,jj,jk+1) + akzv(ji,jj,jk+1) )   & 
    284285                     &         / ( ze3va * e3vw_n(ji,jj,jk+1) ) * wvmask(ji,jj,jk+1) 
    285286                  zwi(ji,jj,jk) = zzwi * wvmask(ji,jj,jk  ) 
     
    289290            END DO 
    290291         END DO 
    291       ELSE                          ! standard case 
     292      CASE DEFAULT               ! iso-level lateral mixing 
    292293         DO jk = 1, jpkm1 
    293294            DO jj = 2, jpjm1    
    294295               DO ji = fs_2, fs_jpim1   ! vector opt. 
    295296                  ze3va =  ( 1._wp - r_vvl ) * e3v_n(ji,jj,jk) + r_vvl * e3v_a(ji,jj,jk)   ! after scale factor at T-point 
    296                   zzwi = - zdt * ( avm(ji,jj+1,jk  )+ avm(ji,jj,jk  ) ) / ( ze3va * e3vw_n(ji,jj,jk  ) ) * wvmask(ji,jj,jk  ) 
    297                   zzws = - zdt * ( avm(ji,jj+1,jk+1)+ avm(ji,jj,jk+1) ) / ( ze3va * e3vw_n(ji,jj,jk+1) ) * wvmask(ji,jj,jk+1) 
     297                  zzwi = - zdt * ( avm(ji,jj+1,jk  ) + avm(ji,jj,jk  ) ) / ( ze3va * e3vw_n(ji,jj,jk  ) ) * wvmask(ji,jj,jk  ) 
     298                  zzws = - zdt * ( avm(ji,jj+1,jk+1) + avm(ji,jj,jk+1) ) / ( ze3va * e3vw_n(ji,jj,jk+1) ) * wvmask(ji,jj,jk+1) 
    298299                  zwi(ji,jj,jk) = zzwi * wvmask(ji,jj,jk  ) 
    299300                  zws(ji,jj,jk) = zzws * wvmask(ji,jj,jk+1) 
     
    302303            END DO 
    303304         END DO 
    304       ENDIF 
     305      END SELECT 
    305306      ! 
    306307      DO jj = 2, jpjm1        !* Surface boundary conditions 
  • branches/2017/dev_merge_2017/NEMOGCM/NEMO/OPA_SRC/IOM/in_out_manager.F90

    r9367 r9490  
    2828   LOGICAL       ::   ln_rstart        !: start from (F) rest or (T) a restart file 
    2929   LOGICAL       ::   ln_rst_list      !: output restarts at list of times (T) or by frequency (F) 
    30    INTEGER       ::   nn_no            !: job number 
    3130   INTEGER       ::   nn_rstctl        !: control of the time step (0, 1 or 2) 
    3231   INTEGER       ::   nn_rstssh   = 0  !: hand made initilization of ssh or not (1/0) 
     
    4645   LOGICAL       ::   ln_xios_read     !: use xios to read single file restart 
    4746   INTEGER       ::   nn_wxios         !: write resart using xios 0 - no, 1 - single, 2 - multiple file output 
     47   INTEGER       ::   nn_no            !: Assimilation cycle 
    4848 
    4949#if defined key_netcdf4 
     
    7474 
    7575   CHARACTER(lc) ::   cexper                      !: experiment name used for output filename 
    76    INTEGER       ::   no                          !: job number 
    7776   INTEGER       ::   nrstdt                      !: control of the time step (0, 1 or 2) 
    7877   INTEGER       ::   nit000                      !: index of the first time step 
     
    122121   INTEGER ::   numstp          =   -1      !: logical unit for time step 
    123122   INTEGER ::   numtime         =   -1      !: logical unit for timing 
    124    INTEGER ::   numout          =    6      !: logical unit for output print; Set to stdout to ensure any early 
    125                                             ! output can be collected; do not change 
     123   INTEGER ::   numout          =    6      !: logical unit for output print; Set to stdout to ensure any 
     124      !                                     !  early output can be collected; do not change 
    126125   INTEGER ::   numnam_ref      =   -1      !: logical unit for reference namelist 
    127126   INTEGER ::   numnam_cfg      =   -1      !: logical unit for configuration specific namelist 
     
    159158 
    160159   !!---------------------------------------------------------------------- 
    161    !! NEMO/OPA 3.3 , NEMO Consortium (2010) 
     160   !! NEMO/OPA 4.0 , NEMO Consortium (2018) 
    162161   !! $Id$ 
    163162   !! Software governed by the CeCILL licence     (NEMOGCM/NEMO_CeCILL.txt) 
  • branches/2017/dev_merge_2017/NEMOGCM/NEMO/OPA_SRC/LDF/ldfc1d_c2d.F90

    r9094 r9490  
    2626   PUBLIC   ldf_c2d   ! called by ldftra and ldfdyn modules 
    2727 
     28   REAL(wp) ::   r1_2  = 0.5_wp           ! =1/2 
     29   REAL(wp) ::   r1_4  = 0.25_wp          ! =1/4 
     30   REAL(wp) ::   r1_12 = 1._wp / 12._wp   ! =1/12 
    2831  
    29    !! * Substitutions 
    30 #  include "vectopt_loop_substitute.h90" 
    3132   !!---------------------------------------------------------------------- 
    3233   !! NEMO/OPA 3.7 , NEMO Consortium (2015) 
     
    3637CONTAINS 
    3738 
    38    SUBROUTINE ldf_c1d( cd_type, prat, pahs1, pahs2, pah1, pah2 ) 
     39   SUBROUTINE ldf_c1d( cd_type, pahs1, pahs2, pah1, pah2 ) 
    3940      !!---------------------------------------------------------------------- 
    4041      !!                  ***  ROUTINE ldf_c1d  *** 
     
    4344      !! 
    4445      !! ** Method  :   1D eddy diffusivity coefficients F( depth ) 
    45       !!                Reduction by prat from surface to bottom  
     46      !!                Reduction by zratio from surface to bottom  
    4647      !!                hyperbolic tangent profile with inflection point  
    4748      !!                at zh=500m and a width of zw=200m 
     
    5051      !!             DYN      pah1, pah2 defined at T- and F-points 
    5152      !!---------------------------------------------------------------------- 
    52       CHARACTER(len=2)                , INTENT(in   ) ::   cd_type        ! DYNamique or TRAcers 
    53       REAL(wp)                        , INTENT(in   ) ::   prat           ! ratio surface/deep values           [-] 
     53      CHARACTER(len=3)                , INTENT(in   ) ::   cd_type        ! DYNamique or TRAcers 
    5454      REAL(wp), DIMENSION(jpi,jpj)    , INTENT(in   ) ::   pahs1, pahs2   ! surface value of eddy coefficient   [m2/s] 
    5555      REAL(wp), DIMENSION(jpi,jpj,jpk), INTENT(inout) ::   pah1 , pah2    ! eddy coefficient                    [m2/s] 
     
    5858      REAL(wp) ::   zh, zc, zdep1   ! local scalars 
    5959      REAL(wp) ::   zw    , zdep2   !   -      - 
     60      REAL(wp) ::   zratio          !   -      - 
    6061      !!---------------------------------------------------------------------- 
    61  
    62       IF(lwp) THEN 
    63          WRITE(numout,*) 
    64          WRITE(numout,*) '   ldf_c1d : set a given profile to eddy diffusivity/viscosity coefficients' 
    65          WRITE(numout,*) '   ~~~~~~~' 
    66       ENDIF 
    67  
     62      ! 
     63      IF(lwp) WRITE(numout,*) 
     64      IF(lwp) WRITE(numout,*) '   ldf_c1d : set a given profile to eddy mixing coefficients' 
     65      ! 
    6866      ! initialization of the profile 
     67      zratio = 0.25_wp           ! surface/bottom ratio 
    6968      zh =  500._wp              ! depth    of the inflection point [m] 
    7069      zw =  1._wp / 200._wp      ! width^-1     -        -      -   [1/m] 
    7170      !                          ! associated coefficient           [-] 
    72       zc = ( 1._wp - prat ) / ( 1._wp + TANH( zh * zw) ) 
     71      zc = ( 1._wp - zratio ) / ( 1._wp + TANH( zh * zw) ) 
    7372      ! 
    7473      ! 
     
    7675      ! 
    7776      CASE( 'DYN' )                     ! T- and F-points 
    78          DO jk = 1, jpk                      ! pah1 at T-point 
    79             pah1(:,:,jk) = pahs1(:,:) * (  prat + zc * ( 1._wp + TANH( - ( gdept_n(:,:,jk) - zh ) * zw) )  ) * tmask(:,:,jk) 
     77         DO jk = jpkm1, 1, -1                ! pah1 at T-point 
     78            pah1(:,:,jk) = pahs1(:,:) * (  zratio + zc * ( 1._wp + TANH( - ( gdept_0(:,:,jk) - zh ) * zw) )  ) 
    8079         END DO 
    81          DO jk = 1, jpk                      ! pah2 at F-point (zdep2 is an approximation in zps-coord.) 
     80         DO jk = jpkm1, 1, -1                ! pah2 at F-point (zdep2 is an approximation in zps-coord.) 
    8281            DO jj = 1, jpjm1 
    83                DO ji = 1, fs_jpim1 
    84                   zdep2 = (  gdept_n(ji,jj+1,jk) + gdept_n(ji+1,jj+1,jk)   & 
    85                      &     + gdept_n(ji,jj  ,jk) + gdept_n(ji+1,jj  ,jk)  ) * 0.25_wp 
    86                   pah2(ji,jj,jk) = pahs2(ji,jj) * (  prat + zc * ( 1._wp + TANH( - ( zdep2 - zh ) * zw) )  ) * fmask(ji,jj,jk) 
     82               DO ji = 1, jpim1 
     83                  zdep2 = (  gdept_0(ji,jj+1,jk) + gdept_0(ji+1,jj+1,jk)   & 
     84                     &     + gdept_0(ji,jj  ,jk) + gdept_0(ji+1,jj  ,jk)  ) * r1_4 
     85                  pah2(ji,jj,jk) = pahs2(ji,jj) * (  zratio + zc * ( 1._wp + TANH( - ( zdep2 - zh ) * zw) )  ) 
    8786               END DO 
    8887            END DO 
     
    9190         ! 
    9291      CASE( 'TRA' )                     ! U- and V-points (zdep1 & 2 are an approximation in zps-coord.) 
    93          DO jk = 1, jpk 
     92         DO jk = jpkm1, 1, -1 
    9493            DO jj = 1, jpjm1 
    95                DO ji = 1, fs_jpim1 
    96                   zdep1 = (  gdept_n(ji,jj,jk) + gdept_n(ji+1,jj,jk)  ) * 0.5_wp 
    97                   zdep2 = (  gdept_n(ji,jj,jk) + gdept_n(ji,jj+1,jk)  ) * 0.5_wp 
    98                   pah1(ji,jj,jk) = pahs1(ji,jj) * (  prat + zc * ( 1._wp + TANH( - ( zdep1 - zh ) * zw) )  ) * umask(ji,jj,jk) 
    99                   pah2(ji,jj,jk) = pahs2(ji,jj) * (  prat + zc * ( 1._wp + TANH( - ( zdep2 - zh ) * zw) )  ) * vmask(ji,jj,jk) 
     94               DO ji = 1, jpim1 
     95                  zdep1 = (  gdept_0(ji,jj,jk) + gdept_0(ji+1,jj,jk)  ) * 0.5_wp 
     96                  zdep2 = (  gdept_0(ji,jj,jk) + gdept_0(ji,jj+1,jk)  ) * 0.5_wp 
     97                  pah1(ji,jj,jk) = pahs1(ji,jj) * (  zratio + zc * ( 1._wp + TANH( - ( zdep1 - zh ) * zw) )  ) 
     98                  pah2(ji,jj,jk) = pahs2(ji,jj) * (  zratio + zc * ( 1._wp + TANH( - ( zdep2 - zh ) * zw) )  ) 
    10099               END DO 
    101100            END DO 
     
    104103         CALL lbc_lnk_multi( pah1, 'U', 1. , pah2, 'V', 1. )    
    105104         ! 
     105      CASE DEFAULT                        ! error 
     106         CALL ctl_stop( 'ldf_c1d: ', cd_type, ' Unknown, i.e. /= DYN or TRA' ) 
    106107      END SELECT 
    107108      ! 
     
    109110 
    110111 
    111    SUBROUTINE ldf_c2d( cd_type, cd_op, pah0, pah1, pah2 ) 
     112   SUBROUTINE ldf_c2d( cd_type, pUfac, knn, pah1, pah2 ) 
    112113      !!---------------------------------------------------------------------- 
    113114      !!                  ***  ROUTINE ldf_c2d  *** 
     
    124125      !!             DYN      pah1, pah2 defined at T- and F-points 
    125126      !!---------------------------------------------------------------------- 
    126       CHARACTER(len=3)                , INTENT(in   ) ::   cd_type      ! DYNamique or TRAcers 
    127       CHARACTER(len=3)                , INTENT(in   ) ::   cd_op        ! operator: LAPlacian BiLaPlacian 
    128       REAL(wp)                        , INTENT(in   ) ::   pah0         ! eddy coefficient   [m2/s or m4/s] 
    129       REAL(wp), DIMENSION(jpi,jpj,jpk), INTENT(  out) ::   pah1, pah2   ! eddy coefficient   [m2/s or m4/s] 
     127      CHARACTER(len=3)          , INTENT(in   ) ::   cd_type      ! DYNamique or TRAcers 
     128      REAL(wp)                  , INTENT(in   ) ::   pUfac        ! =1/2*Uc LAPlacian BiLaPlacian 
     129      INTEGER                   , INTENT(in   ) ::   knn          ! characteristic velocity   [m/s] 
     130      REAL(wp), DIMENSION(:,:,:), INTENT(  out) ::   pah1, pah2   ! eddy coefficients         [m2/s or m4/s] 
    130131      ! 
    131132      INTEGER  ::   ji, jj, jk   ! dummy loop indices 
    132       REAL(wp) ::   za00, zd_max, zemax1, zemax2   ! local scalar 
     133      INTEGER  ::   inn          ! local integer 
    133134      !!---------------------------------------------------------------------- 
    134135      ! 
    135       zd_max = ra * rad       ! = 1 degree at the equator in meters 
     136      IF(lwp) WRITE(numout,*) 
     137      IF(lwp) WRITE(numout,*) '   ldf_c2d :   aht = Ufac * max(e1,e2)   with Ufac = ', pUfac, ' m/s' 
    136138      ! 
    137       IF(lwp) THEN 
    138          WRITE(numout,*) 
    139          WRITE(numout,*) '   ldf_c2d :     aht = rn_aht0 *  max(e1,e2)/e_equator     (  laplacian) ' 
    140          WRITE(numout,*) '   ~~~~~~~       or  = rn_bht0 * [max(e1,e2)/e_equator]**3 (bilaplacian)' 
    141          WRITE(numout,*) 
    142       ENDIF 
    143139      ! 
    144       SELECT CASE( cd_type )        !==  surface values  ==!  (depending on DYN/TRA) 
     140      SELECT CASE( cd_type )        !==  surface values  ==!  (chosen grid point function of DYN or TRA) 
    145141      ! 
    146       CASE( 'DYN' )                     ! T- and F-points 
    147          IF( cd_op == 'LAP' ) THEN            ! laplacian operator 
    148             IF(lwp) WRITE(numout,*) '              momentum laplacian coeffcients = rn_aht0/e_equ * max(e1,e2)' 
    149             za00 = pah0 / zd_max 
    150             DO jj = 1, jpj  
    151                DO ji = 1, jpi  
    152                   zemax1 = MAX( e1t(ji,jj), e2t(ji,jj) ) * tmask(ji,jj,1) 
    153                   zemax2 = MAX( e1f(ji,jj), e2f(ji,jj) ) * fmask(ji,jj,1) 
    154                   pah1(ji,jj,1) = za00 * zemax1 
    155                   pah2(ji,jj,1) = za00 * zemax2 
    156                END DO 
     142      CASE( 'DYN' )                       ! T- and F-points 
     143         DO jj = 1, jpj 
     144            DO ji = 1, jpi  
     145               pah1(ji,jj,1) = pUfac * MAX( e1t(ji,jj) , e2t(ji,jj) )**knn 
     146               pah2(ji,jj,1) = pUfac * MAX( e1f(ji,jj) , e2f(ji,jj) )**knn 
    157147            END DO 
    158          ELSEIF( cd_op == 'BLP' ) THEN     ! bilaplacian operator 
    159             IF(lwp) WRITE(numout,*) '              momentum bilaplacian coeffcients = rn_bht0/e_equ * max(e1,e2)**3' 
    160             za00 = pah0 / ( zd_max * zd_max * zd_max ) 
    161             DO jj = 1, jpj 
    162                DO ji = 1, jpi 
    163                   zemax1 = MAX( e1t(ji,jj), e2t(ji,jj) ) * tmask(ji,jj,1) 
    164                   zemax2 = MAX( e1f(ji,jj), e2f(ji,jj) ) * fmask(ji,jj,1) 
    165                   pah1(ji,jj,1) = za00 * zemax1 * zemax1 * zemax1  
    166                   pah2(ji,jj,1) = za00 * zemax2 * zemax2 * zemax2  
    167                END DO 
     148         END DO 
     149      CASE( 'TRA' )                       ! U- and V-points 
     150         DO jj = 1, jpj  
     151            DO ji = 1, jpi  
     152               pah1(ji,jj,1) = pUfac * MAX( e1u(ji,jj), e2u(ji,jj) )**knn 
     153               pah2(ji,jj,1) = pUfac * MAX( e1v(ji,jj), e2v(ji,jj) )**knn 
    168154            END DO 
    169          ELSE                                ! NO diffusion/viscosity 
    170             CALL ctl_stop( 'ldf_c2d: ', cd_op, ' case. Unknown lateral operator ' ) 
    171          ENDIF 
    172          !                                !  deeper values  (LAP and BLP cases) 
    173          DO jk = 2, jpk 
    174             pah1(:,:,jk) = pah1(:,:,1) * tmask(:,:,jk)  
    175             pah2(:,:,jk) = pah2(:,:,1) * fmask(:,:,jk)  
    176155         END DO 
    177          ! 
    178       CASE( 'TRA' )                     ! U- and V-points (approximation in zps-coord.) 
    179          IF( cd_op == 'LAP' ) THEN            ! laplacian operator 
    180             IF(lwp) WRITE(numout,*) '              tracer laplacian coeffcients = rn_aht0/e_equ * max(e1,e2)' 
    181             za00 = pah0 / zd_max 
    182             DO jj = 1, jpj  
    183                DO ji = 1, jpi  
    184                   zemax1 = MAX( e1u(ji,jj), e2u(ji,jj) ) * umask(ji,jj,1) 
    185                   zemax2 = MAX( e1v(ji,jj), e2v(ji,jj) ) * vmask(ji,jj,1) 
    186                   pah1(ji,jj,1) = za00 * zemax1 
    187                   pah2(ji,jj,1) = za00 * zemax2 
    188                END DO 
    189             END DO 
    190          ELSEIF( cd_op == 'BLP' ) THEN      ! bilaplacian operator (NB: square root of the coeff) 
    191             IF(lwp) WRITE(numout,*) '              tracer bilaplacian coeffcients = rn_bht0/e_equ * max(e1,e2)**3' 
    192             za00 = pah0 / ( zd_max * zd_max * zd_max ) 
    193             DO jj = 1, jpj 
    194                DO ji = 1, jpi 
    195                   zemax1 = MAX( e1u(ji,jj), e2u(ji,jj) ) * umask(ji,jj,1)  
    196                   zemax2 = MAX( e1v(ji,jj), e2v(ji,jj) ) * vmask(ji,jj,1)  
    197                   pah1(ji,jj,1) = za00 * zemax1 * zemax1 * zemax1  
    198                   pah2(ji,jj,1) = za00 * zemax2 * zemax2 * zemax2  
    199                END DO 
    200             END DO 
    201          ELSE                                ! NO diffusion/viscosity 
    202             CALL ctl_stop( 'ldf_c2d: ', cd_op, ' case. Unknown lateral operator ' ) 
    203          ENDIF 
    204          !                                !  deeper values  (LAP and BLP cases) 
    205          DO jk = 2, jpk 
    206             pah1(:,:,jk) = pah1(:,:,1) * umask(:,:,jk)  
    207             pah2(:,:,jk) = pah2(:,:,1) * vmask(:,:,jk)  
    208          END DO 
    209          ! 
     156      CASE DEFAULT                        ! error 
     157         CALL ctl_stop( 'ldf_c2d: ', cd_type, ' Unknown, i.e. /= DYN or TRA' ) 
    210158      END SELECT 
     159      !                             !==  deeper values = surface one  ==!  (except jpk) 
     160      DO jk = 2, jpkm1 
     161         pah1(:,:,jk) = pah1(:,:,1) 
     162         pah2(:,:,jk) = pah2(:,:,1) 
     163      END DO 
    211164      ! 
    212165   END SUBROUTINE ldf_c2d 
  • branches/2017/dev_merge_2017/NEMOGCM/NEMO/OPA_SRC/LDF/ldfdyn.F90

    r9169 r9490  
    1717   USE dom_oce         ! ocean space and time domain  
    1818   USE phycst          ! physical constants 
     19   USE ldfslp          ! lateral diffusion: slopes of mixing orientation 
    1920   USE ldfc1d_c2d      ! lateral diffusion: 1D and 2D cases 
    2021   ! 
     
    3132   PUBLIC   ldf_dyn        ! called by step.F90 
    3233 
    33    !                                                !!* Namelist namdyn_ldf : lateral mixing on momentum * 
     34   !                                    !!* Namelist namdyn_ldf : lateral mixing on momentum * 
    3435   LOGICAL , PUBLIC ::   ln_dynldf_NONE  !: No operator (i.e. no explicit diffusion) 
    3536   LOGICAL , PUBLIC ::   ln_dynldf_lap   !: laplacian operator 
     
    3738   LOGICAL , PUBLIC ::   ln_dynldf_lev   !: iso-level direction 
    3839   LOGICAL , PUBLIC ::   ln_dynldf_hor   !: horizontal (geopotential) direction 
    39    LOGICAL , PUBLIC ::   ln_dynldf_iso   !: iso-neutral direction 
     40!  LOGICAL , PUBLIC ::   ln_dynldf_iso   !: iso-neutral direction                        (see ldfslp) 
    4041   INTEGER , PUBLIC ::   nn_ahm_ijk_t    !: choice of time & space variations of the lateral eddy viscosity coef. 
    41    REAL(wp), PUBLIC ::   rn_ahm_0        !: lateral laplacian eddy viscosity            [m2/s] 
    42    REAL(wp), PUBLIC ::   rn_ahm_b        !: lateral laplacian background eddy viscosity [m2/s] 
    43    REAL(wp), PUBLIC ::   rn_bhm_0        !: lateral bilaplacian eddy viscosity          [m4/s] 
    44                                          !! If nn_ahm_ijk_t = 32 a time and space varying Smagorinsky viscosity 
    45                                          !! will be computed. 
    46    REAL(wp), PUBLIC ::   rn_csmc         !: Smagorinsky constant of proportionality  
    47    REAL(wp), PUBLIC ::   rn_minfac       !: Multiplicative factor of theorectical minimum Smagorinsky viscosity 
    48    REAL(wp), PUBLIC ::   rn_maxfac       !: Multiplicative factor of theorectical maximum Smagorinsky viscosity 
    49  
    50    LOGICAL , PUBLIC ::   l_ldfdyn_time   !: flag for time variation of the lateral eddy viscosity coef. 
    51  
    52    REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:,:) ::   ahmt, ahmf   !: eddy diffusivity coef. at U- and V-points   [m2/s or m4/s] 
     42   !                                        !  time invariant coefficients:  aht = 1/2  Ud*Ld   (lap case)  
     43   !                                           !                             bht = 1/12 Ud*Ld^3 (blp case) 
     44   REAL(wp), PUBLIC ::   rn_Uv                 !: lateral viscous velocity  [m/s] 
     45   REAL(wp), PUBLIC ::   rn_Lv                 !: lateral viscous length    [m] 
     46   !                                        ! Smagorinsky viscosity  (nn_ahm_ijk_t = 32)  
     47   REAL(wp), PUBLIC ::   rn_csmc               !: Smagorinsky constant of proportionality  
     48   REAL(wp), PUBLIC ::   rn_minfac             !: Multiplicative factor of theorectical minimum Smagorinsky viscosity 
     49   REAL(wp), PUBLIC ::   rn_maxfac             !: Multiplicative factor of theorectical maximum Smagorinsky viscosity 
     50   !                                        ! iso-neutral laplacian (ln_dynldf_lap=ln_dynldf_iso=T) 
     51   REAL(wp), PUBLIC ::   rn_ahm_b              !: lateral laplacian background eddy viscosity  [m2/s] 
     52 
     53   !                                    !!* Parameter to control the type of lateral viscous operator 
     54   INTEGER, PARAMETER, PUBLIC ::   np_ERROR  =-10                       !: error in setting the operator 
     55   INTEGER, PARAMETER, PUBLIC ::   np_no_ldf = 00                       !: without operator (i.e. no lateral viscous trend) 
     56   !                          !!      laplacian     !    bilaplacian    ! 
     57   INTEGER, PARAMETER, PUBLIC ::   np_lap    = 10   ,   np_blp    = 20  !: iso-level operator 
     58   INTEGER, PARAMETER, PUBLIC ::   np_lap_i  = 11                       !: iso-neutral or geopotential operator 
     59   ! 
     60   INTEGER           , PUBLIC ::   nldf_dyn         !: type of lateral diffusion used defined from ln_dynldf_... (namlist logicals) 
     61   LOGICAL           , PUBLIC ::   l_ldfdyn_time    !: flag for time variation of the lateral eddy viscosity coef. 
     62 
     63   REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:,:) ::   ahmt, ahmf   !: eddy viscosity coef. at T- and F-points [m2/s or m4/s] 
    5364   REAL(wp),         ALLOCATABLE, SAVE, DIMENSION(:,:)   ::   dtensq       !: horizontal tension squared         (Smagorinsky only) 
    5465   REAL(wp),         ALLOCATABLE, SAVE, DIMENSION(:,:)   ::   dshesq       !: horizontal shearing strain squared (Smagorinsky only) 
    5566   REAL(wp),         ALLOCATABLE, SAVE, DIMENSION(:,:)   ::   esqt, esqf   !: Square of the local gridscale (e1e2/(e1+e2))**2            
    5667 
    57    REAL(wp) ::   r1_12   = 1._wp / 12._wp    ! =1/12 
     68   REAL(wp) ::   r1_2    = 0.5_wp            ! =1/2 
    5869   REAL(wp) ::   r1_4    = 0.25_wp           ! =1/4 
    5970   REAL(wp) ::   r1_8    = 0.125_wp          ! =1/8 
     71   REAL(wp) ::   r1_12   = 1._wp / 12._wp    ! =1/12 
    6072   REAL(wp) ::   r1_288  = 1._wp / 288._wp   ! =1/( 12^2 * 2 ) 
    6173 
     
    92104      !!                                                           or  L^4|D|/8  bilaplacian operator ) 
    93105      !!---------------------------------------------------------------------- 
    94       INTEGER  ::   ji, jj, jk        ! dummy loop indices 
    95       INTEGER  ::   ierr, inum, ios   ! local integer 
    96       REAL(wp) ::   zah0              ! local scalar 
    97       ! 
     106      INTEGER  ::   ji, jj, jk                     ! dummy loop indices 
     107      INTEGER  ::   ioptio, ierr, inum, ios, inn   ! local integer 
     108      REAL(wp) ::   zah0, zah_max, zUfac           ! local scalar 
     109      CHARACTER(len=5) ::   cl_Units               ! units (m2/s or m4/s) 
     110      !! 
    98111      NAMELIST/namdyn_ldf/ ln_dynldf_NONE, ln_dynldf_lap, ln_dynldf_blp,   &   ! type of operator 
    99          &                 ln_dynldf_lev, ln_dynldf_hor, ln_dynldf_iso ,   &   ! acting direction of the operator 
    100          &                 nn_ahm_ijk_t , rn_ahm_0, rn_ahm_b, rn_bhm_0 ,   &   ! lateral eddy coefficient 
    101          &                 rn_csmc      , rn_minfac, rn_maxfac                 ! Smagorinsky settings 
     112         &                 ln_dynldf_lev , ln_dynldf_hor, ln_dynldf_iso,   &   ! acting direction of the operator 
     113         &                 nn_ahm_ijk_t  , rn_Uv    , rn_Lv,   rn_ahm_b,   &   ! lateral eddy coefficient 
     114         &                 rn_csmc       , rn_minfac    , rn_maxfac            ! Smagorinsky settings 
    102115      !!---------------------------------------------------------------------- 
    103116      ! 
     
    129142         WRITE(numout,*) '      coefficients :' 
    130143         WRITE(numout,*) '         type of time-space variation         nn_ahm_ijk_t  = ', nn_ahm_ijk_t 
    131          WRITE(numout,*) '         lateral laplacian eddy viscosity     rn_ahm_0      = ', rn_ahm_0, ' m2/s' 
    132          WRITE(numout,*) '         background viscosity (iso case)      rn_ahm_b      = ', rn_ahm_b, ' m2/s' 
    133          WRITE(numout,*) '         lateral bilaplacian eddy viscosity   rn_bhm_0      = ', rn_bhm_0, ' m4/s' 
     144         WRITE(numout,*) '         lateral viscous velocity  (if cst)      rn_Uv      = ', rn_Uv, ' m/s' 
     145         WRITE(numout,*) '         lateral viscous length    (if cst)      rn_Lv      = ', rn_Lv, ' m' 
     146         WRITE(numout,*) '         background viscosity (iso-lap case)     rn_ahm_b   = ', rn_ahm_b, ' m2/s' 
     147         ! 
    134148         WRITE(numout,*) '      Smagorinsky settings (nn_ahm_ijk_t  = 32) :' 
    135149         WRITE(numout,*) '         Smagorinsky coefficient              rn_csmc       = ', rn_csmc 
    136          WRITE(numout,*) '         factor multiplier for theorectical lower limit for ' 
    137          WRITE(numout,*) '           Smagorinsky eddy visc (def. 1.0)   rn_minfac    = ', rn_minfac 
    138          WRITE(numout,*) '         factor multiplier for theorectical lower upper for ' 
    139          WRITE(numout,*) '           Smagorinsky eddy visc (def. 1.0)   rn_maxfac    = ', rn_maxfac 
     150         WRITE(numout,*) '         factor multiplier for eddy visc.' 
     151         WRITE(numout,*) '            lower limit (default 1.0)         rn_minfac    = ', rn_minfac 
     152         WRITE(numout,*) '            upper limit (default 1.0)         rn_maxfac    = ', rn_maxfac 
    140153      ENDIF 
    141154 
    142       !                                ! Parameter control 
     155      ! 
     156      !           !==  type of lateral operator used  ==!   (set nldf_dyn) 
     157      !           !=====================================! 
     158      ! 
     159      nldf_dyn = np_ERROR 
     160      ioptio = 0 
     161      IF( ln_dynldf_NONE ) THEN   ;   nldf_dyn = np_no_ldf   ;   ioptio = ioptio + 1   ;   ENDIF 
     162      IF( ln_dynldf_lap  ) THEN   ;                              ioptio = ioptio + 1   ;   ENDIF 
     163      IF( ln_dynldf_blp  ) THEN   ;                              ioptio = ioptio + 1   ;   ENDIF 
     164      IF( ioptio /= 1    )   CALL ctl_stop( 'dyn_ldf_init: use ONE of the 3 operator options (NONE/lap/blp)' ) 
     165      ! 
     166      IF(.NOT.ln_dynldf_NONE ) THEN    !==  direction ==>> type of operator  ==! 
     167         ioptio = 0 
     168         IF( ln_dynldf_lev )   ioptio = ioptio + 1 
     169         IF( ln_dynldf_hor )   ioptio = ioptio + 1 
     170         IF( ln_dynldf_iso )   ioptio = ioptio + 1 
     171         IF( ioptio /= 1   )   CALL ctl_stop( 'dyn_ldf_init: use ONE of the 3 direction options (level/hor/iso)' ) 
     172         ! 
     173         !                             ! Set nldf_dyn, the type of lateral diffusion, from ln_dynldf_... logicals 
     174         ierr = 0 
     175         IF( ln_dynldf_lap ) THEN         ! laplacian operator 
     176            IF( ln_zco ) THEN                   ! z-coordinate 
     177               IF ( ln_dynldf_lev )   nldf_dyn = np_lap     ! iso-level = horizontal (no rotation) 
     178               IF ( ln_dynldf_hor )   nldf_dyn = np_lap     ! iso-level = horizontal (no rotation) 
     179               IF ( ln_dynldf_iso )   nldf_dyn = np_lap_i   ! iso-neutral            (   rotation) 
     180            ENDIF 
     181            IF( ln_zps ) THEN                   ! z-coordinate with partial step 
     182               IF ( ln_dynldf_lev )   nldf_dyn = np_lap     ! iso-level              (no rotation) 
     183               IF ( ln_dynldf_hor )   nldf_dyn = np_lap     ! iso-level              (no rotation) 
     184               IF ( ln_dynldf_iso )   nldf_dyn = np_lap_i   ! iso-neutral            (   rotation) 
     185            ENDIF 
     186            IF( ln_sco ) THEN                   ! s-coordinate 
     187               IF ( ln_dynldf_lev )   nldf_dyn = np_lap     ! iso-level = horizontal (no rotation) 
     188               IF ( ln_dynldf_hor )   nldf_dyn = np_lap_i   ! horizontal             (   rotation) 
     189               IF ( ln_dynldf_iso )   nldf_dyn = np_lap_i   ! iso-neutral            (   rotation) 
     190            ENDIF 
     191         ENDIF 
     192         ! 
     193         IF( ln_dynldf_blp ) THEN         ! bilaplacian operator 
     194            IF( ln_zco ) THEN                   ! z-coordinate 
     195               IF( ln_dynldf_lev )   nldf_dyn = np_blp   ! iso-level = horizontal (no rotation) 
     196               IF( ln_dynldf_hor )   nldf_dyn = np_blp   ! iso-level = horizontal (no rotation) 
     197               IF( ln_dynldf_iso )   ierr = 2            ! iso-neutral            (   rotation) 
     198            ENDIF 
     199            IF( ln_zps ) THEN                   ! z-coordinate with partial step 
     200               IF( ln_dynldf_lev )   nldf_dyn = np_blp   ! iso-level              (no rotation) 
     201               IF( ln_dynldf_hor )   nldf_dyn = np_blp   ! iso-level              (no rotation) 
     202               IF( ln_dynldf_iso )   ierr = 2            ! iso-neutral            (   rotation) 
     203            ENDIF 
     204            IF( ln_sco ) THEN                   ! s-coordinate 
     205               IF( ln_dynldf_lev )   nldf_dyn = np_blp   ! iso-level              (no rotation) 
     206               IF( ln_dynldf_hor )   ierr = 2            ! horizontal             (   rotation) 
     207               IF( ln_dynldf_iso )   ierr = 2            ! iso-neutral            (   rotation) 
     208            ENDIF 
     209         ENDIF 
     210         ! 
     211         IF( ierr == 2 )   CALL ctl_stop( 'rotated bi-laplacian operator does not exist' ) 
     212         ! 
     213         IF( nldf_dyn == np_lap_i )   l_ldfslp = .TRUE.  ! rotation require the computation of the slopes 
     214         ! 
     215      ENDIF 
     216      ! 
     217      IF(lwp) THEN 
     218         WRITE(numout,*) 
     219         SELECT CASE( nldf_dyn ) 
     220         CASE( np_no_ldf )   ;   WRITE(numout,*) '   ==>>>   NO lateral viscosity' 
     221         CASE( np_lap    )   ;   WRITE(numout,*) '   ==>>>   iso-level laplacian operator' 
     222         CASE( np_lap_i  )   ;   WRITE(numout,*) '   ==>>>   rotated laplacian operator with iso-level background' 
     223         CASE( np_blp    )   ;   WRITE(numout,*) '   ==>>>   iso-level bi-laplacian operator' 
     224         END SELECT 
     225         WRITE(numout,*) 
     226      ENDIF 
     227       
     228      ! 
     229      !           !==  Space/time variation of eddy coefficients  ==! 
     230      !           !=================================================! 
     231      ! 
     232      l_ldfdyn_time = .FALSE.                ! no time variation except in case defined below 
     233      ! 
    143234      IF( ln_dynldf_NONE ) THEN 
    144235         IF(lwp) WRITE(numout,*) '   ==>>>   No viscous operator selected. ahmt and ahmf are not allocated' 
    145          l_ldfdyn_time = .FALSE. 
    146236         RETURN 
    147       ENDIF 
    148       ! 
    149       IF( ln_dynldf_blp .AND. ln_dynldf_iso ) THEN     ! iso-neutral bilaplacian not implemented 
    150          CALL ctl_stop( 'dyn_ldf_init: iso-neutral bilaplacian not coded yet' )  
    151       ENDIF 
    152  
    153       ! ... Space/Time variation of eddy coefficients 
    154       !                                               ! allocate the ahm arrays 
    155       ALLOCATE( ahmt(jpi,jpj,jpk) , ahmf(jpi,jpj,jpk) , STAT=ierr ) 
    156       IF( ierr /= 0 )   CALL ctl_stop( 'STOP', 'ldf_dyn_init: failed to allocate arrays') 
    157       ! 
    158       ahmt(:,:,jpk) = 0._wp                           ! last level always 0   
    159       ahmf(:,:,jpk) = 0._wp 
    160       ! 
    161       !                                               ! value of eddy mixing coef. 
    162       IF    ( ln_dynldf_lap ) THEN   ;   zah0 =      rn_ahm_0         !   laplacian operator 
    163       ELSEIF( ln_dynldf_blp ) THEN   ;   zah0 = ABS( rn_bhm_0 )       ! bilaplacian operator 
    164       ELSE                                                                  ! NO viscous  operator 
    165          CALL ctl_warn( 'ldf_dyn_init: No lateral viscous operator used ' ) 
    166       ENDIF 
    167       ! 
    168       l_ldfdyn_time = .FALSE.                         ! no time variation except in case defined below 
    169       ! 
    170       IF( ln_dynldf_lap .OR. ln_dynldf_blp ) THEN     ! only if a lateral diffusion operator is used 
    171          ! 
    172          SELECT CASE(  nn_ahm_ijk_t  )                ! Specification of space time variations of ahmt, ahmf 
     237         ! 
     238      ELSE                                   !==  a lateral diffusion operator is used  ==! 
     239         ! 
     240         !                                         ! allocate the ahm arrays 
     241         ALLOCATE( ahmt(jpi,jpj,jpk) , ahmf(jpi,jpj,jpk) , STAT=ierr ) 
     242         IF( ierr /= 0 )   CALL ctl_stop( 'STOP', 'ldf_dyn_init: failed to allocate arrays') 
     243         ! 
     244         ahmt(:,:,jpk) = 0._wp                     ! last level always 0   
     245         ahmf(:,:,jpk) = 0._wp 
     246         ! 
     247         !                                         ! value of lap/blp eddy mixing coef. 
     248         IF(     ln_dynldf_lap ) THEN   ;   zUfac = r1_2 *rn_Uv   ;   inn = 1   ;   cl_Units = ' m2/s'   !   laplacian 
     249         ELSEIF( ln_dynldf_blp ) THEN   ;   zUfac = r1_12*rn_Uv   ;   inn = 3   ;   cl_Units = ' m4/s'   ! bilaplacian 
     250         ENDIF 
     251         zah0    = zUfac *    rn_Lv**inn              ! mixing coefficient 
     252         zah_max = zUfac * (ra*rad)**inn              ! maximum reachable coefficient (value at the Equator) 
     253         ! 
     254         SELECT CASE(  nn_ahm_ijk_t  )             !* Specification of space-time variations of ahmt, ahmf 
    173255         ! 
    174256         CASE(   0  )      !==  constant  ==! 
    175             IF(lwp) WRITE(numout,*) '   ==>>>   momentum mixing coef. = constant ' 
    176             ahmt(:,:,:) = zah0 * tmask(:,:,:) 
    177             ahmf(:,:,:) = zah0 * fmask(:,:,:) 
     257            IF(lwp) WRITE(numout,*) '   ==>>>   eddy viscosity. = constant = ', zah0, cl_Units 
     258            ahmt(:,:,1:jpkm1) = zah0 
     259            ahmf(:,:,1:jpkm1) = zah0 
    178260            ! 
    179261         CASE(  10  )      !==  fixed profile  ==! 
    180             IF(lwp) WRITE(numout,*) '   ==>>>   momentum mixing coef. = F( depth )' 
    181             ahmt(:,:,1) = zah0 * tmask(:,:,1)                      ! constant surface value 
    182             ahmf(:,:,1) = zah0 * fmask(:,:,1) 
    183             CALL ldf_c1d( 'DYN', r1_4, ahmt(:,:,1), ahmf(:,:,1), ahmt, ahmf ) 
     262            IF(lwp) WRITE(numout,*) '   ==>>>   eddy viscosity = F( depth )' 
     263            IF(lwp) WRITE(numout,*) '           surface viscous coef. = constant = ', zah0, cl_Units 
     264            ahmt(:,:,1) = zah0                        ! constant surface value 
     265            ahmf(:,:,1) = zah0 
     266            CALL ldf_c1d( 'DYN', ahmt(:,:,1), ahmf(:,:,1), ahmt, ahmf ) 
    184267            ! 
    185268         CASE ( -20 )      !== fixed horizontal shape read in file  ==! 
    186             IF(lwp) WRITE(numout,*) '   ==>>>   momentum mixing coef. = F(i,j) read in eddy_viscosity.nc file' 
     269            IF(lwp) WRITE(numout,*) '   ==>>>   eddy viscosity = F(i,j) read in eddy_viscosity.nc file' 
    187270            CALL iom_open( 'eddy_viscosity_2D.nc', inum ) 
    188271            CALL iom_get ( inum, jpdom_data, 'ahmt_2d', ahmt(:,:,1) ) 
    189272            CALL iom_get ( inum, jpdom_data, 'ahmf_2d', ahmf(:,:,1) ) 
    190273            CALL iom_close( inum ) 
    191 !!gm Question : info for LAP or BLP case  to take into account the SQRT in the bilaplacian case ??? 
    192 !!              do we introduce a scaling by the max value of the array, and then multiply by zah0 ???? 
    193 !!              better:  check that the max is <=1  i.e. it is a shape from 0 to 1, not a coef that has physical dimension 
    194274            DO jk = 2, jpkm1 
    195                ahmt(:,:,jk) = ahmt(:,:,1) * tmask(:,:,jk) 
    196                ahmf(:,:,jk) = ahmf(:,:,1) * fmask(:,:,jk) 
     275               ahmt(:,:,jk) = ahmt(:,:,1) 
     276               ahmf(:,:,jk) = ahmf(:,:,1) 
    197277            END DO 
    198278            ! 
    199279         CASE(  20  )      !== fixed horizontal shape  ==! 
    200             IF(lwp) WRITE(numout,*) '   ==>>>   momentum mixing coef. = F( e1, e2 ) or F( e1^3, e2^3 ) (lap. or blp. case)' 
    201             IF( ln_dynldf_lap )   CALL ldf_c2d( 'DYN', 'LAP', zah0, ahmt, ahmf )    ! surface value proportional to scale factor 
    202             IF( ln_dynldf_blp )   CALL ldf_c2d( 'DYN', 'BLP', zah0, ahmt, ahmf )    ! surface value proportional to scale factor^3 
     280            IF(lwp) WRITE(numout,*) '   ==>>>   eddy viscosity = F( e1, e2 ) or F( e1^3, e2^3 ) (lap. or blp. case)' 
     281            IF(lwp) WRITE(numout,*) '           using a fixed viscous velocity = ', rn_Uv  ,' m/s   and   Lv = Max(e1,e2)' 
     282            IF(lwp) WRITE(numout,*) '           maximum reachable coefficient (at the Equator) = ', zah_max, cl_Units, '  for e1=1°)' 
     283            CALL ldf_c2d( 'DYN', zUfac      , inn        , ahmt, ahmf )         ! surface value proportional to scale factor^inn 
    203284            ! 
    204285         CASE( -30  )      !== fixed 3D shape read in file  ==! 
    205             IF(lwp) WRITE(numout,*) '   ==>>>   momentum mixing coef. = F(i,j,k) read in eddy_diffusivity_3D.nc file' 
     286            IF(lwp) WRITE(numout,*) '   ==>>>   eddy viscosity = F(i,j,k) read in eddy_viscosity_3D.nc file' 
    206287            CALL iom_open( 'eddy_viscosity_3D.nc', inum ) 
    207288            CALL iom_get ( inum, jpdom_data, 'ahmt_3d', ahmt ) 
    208289            CALL iom_get ( inum, jpdom_data, 'ahmf_3d', ahmf ) 
    209290            CALL iom_close( inum ) 
    210 !!gm Question : info for LAP or BLP case  to take into account the SQRT in the bilaplacian case ???? 
    211 !!              do we introduce a scaling by the max value of the array, and then multiply by zah0 ???? 
    212             DO jk = 1, jpkm1 
    213                ahmt(:,:,jk) = ahmt(:,:,jk) * tmask(:,:,jk) 
    214                ahmf(:,:,jk) = ahmf(:,:,jk) * fmask(:,:,jk) 
    215             END DO 
    216291            ! 
    217292         CASE(  30  )       !==  fixed 3D shape  ==! 
    218             IF(lwp) WRITE(numout,*) '   ==>>>   momentum mixing coef. = F( latitude, longitude, depth )' 
    219             IF( ln_dynldf_lap )   CALL ldf_c2d( 'DYN', 'LAP', zah0, ahmt, ahmf )    ! surface value proportional to scale factor 
    220             IF( ln_dynldf_blp )   CALL ldf_c2d( 'DYN', 'BLP', zah0, ahmt, ahmf )    ! surface value proportional to scale factor 
    221             !                                                    ! reduction with depth 
    222             CALL ldf_c1d( 'DYN', r1_4, ahmt(:,:,1), ahmf(:,:,1), ahmt, ahmf ) 
     293            IF(lwp) WRITE(numout,*) '   ==>>>   eddy viscosity = F( latitude, longitude, depth )' 
     294            IF(lwp) WRITE(numout,*) '           using a fixed viscous velocity = ', rn_Uv  ,' m/s   and   Ld = Max(e1,e2)' 
     295            IF(lwp) WRITE(numout,*) '           maximum reachable coefficient (at the Equator) = ', zah_max, cl_Units, '  for e1=1°)' 
     296            CALL ldf_c2d( 'DYN', zUfac      , inn        , ahmt, ahmf )         ! surface value proportional to scale factor^inn 
     297            CALL ldf_c1d( 'DYN', ahmt(:,:,1), ahmf(:,:,1), ahmt, ahmf )  ! reduction with depth 
    223298            ! 
    224299         CASE(  31  )       !==  time varying 3D field  ==! 
    225             IF(lwp) WRITE(numout,*) '   ==>>>   momentum mixing coef. = F( latitude, longitude, depth , time )' 
    226             IF(lwp) WRITE(numout,*) '              proportional to the velocity : |u|e/12 or |u|e^3/12' 
     300            IF(lwp) WRITE(numout,*) '   ==>>>   eddy viscosity = F( latitude, longitude, depth , time )' 
     301            IF(lwp) WRITE(numout,*) '           proportional to the local velocity : 1/2 |u|e (lap) or 1/12 |u|e^3 (blp)' 
    227302            ! 
    228303            l_ldfdyn_time = .TRUE.     ! will be calculated by call to ldf_dyn routine in step.F90 
    229304            ! 
    230305         CASE(  32  )       !==  time varying 3D field  ==! 
    231             IF(lwp) WRITE(numout,*) '   ==>>>   momentum mixing coef. = F( latitude, longitude, depth , time )' 
    232             IF(lwp) WRITE(numout,*) '              proportional to the local deformation rate and gridscale (Smagorinsky)' 
    233             IF(lwp) WRITE(numout,*) '                                                                : L^2|D| or L^4|D|/8' 
     306            IF(lwp) WRITE(numout,*) '   ==>>>   eddy viscosity = F( latitude, longitude, depth , time )' 
     307            IF(lwp) WRITE(numout,*) '           proportional to the local deformation rate and gridscale (Smagorinsky)' 
    234308            ! 
    235309            l_ldfdyn_time = .TRUE.     ! will be calculated by call to ldf_dyn routine in step.F90 
    236310            ! 
    237             ! allocate arrays used in ldf_dyn.  
     311            !                          ! allocate arrays used in ldf_dyn.  
    238312            ALLOCATE( dtensq(jpi,jpj) , dshesq(jpi,jpj) , esqt(jpi,jpj) ,  esqf(jpi,jpj) , STAT=ierr ) 
    239313            IF( ierr /= 0 )   CALL ctl_stop( 'STOP', 'ldf_dyn_init: failed to allocate Smagorinsky arrays') 
    240314            ! 
    241             ! Set local gridscale values 
    242             DO jj = 2, jpjm1 
     315            DO jj = 2, jpjm1           ! Set local gridscale values 
    243316               DO ji = fs_2, fs_jpim1 
    244317                  esqt(ji,jj) = ( e1e2t(ji,jj) /( e1t(ji,jj) + e2t(ji,jj) ) )**2  
     
    251324         END SELECT 
    252325         ! 
    253          IF( ln_dynldf_blp .AND. .NOT. l_ldfdyn_time ) THEN       ! bilapcian and no time variation: 
    254             ahmt(:,:,:) = SQRT( ahmt(:,:,:) )                     ! take the square root of the coefficient 
    255             ahmf(:,:,:) = SQRT( ahmf(:,:,:) ) 
     326         IF( .NOT.l_ldfdyn_time ) THEN             !* No time variation  
     327            IF(     ln_dynldf_lap ) THEN                 !   laplacian operator (mask only) 
     328               ahmt(:,:,1:jpkm1) =       ahmt(:,:,1:jpkm1)   * tmask(:,:,1:jpkm1) 
     329               ahmf(:,:,1:jpkm1) =       ahmf(:,:,1:jpkm1)   * fmask(:,:,1:jpkm1) 
     330            ELSEIF( ln_dynldf_blp ) THEN                 ! bilaplacian operator (square root + mask) 
     331               ahmt(:,:,1:jpkm1) = SQRT( ahmt(:,:,1:jpkm1) ) * tmask(:,:,1:jpkm1) 
     332               ahmf(:,:,1:jpkm1) = SQRT( ahmf(:,:,1:jpkm1) ) * fmask(:,:,1:jpkm1) 
     333            ENDIF 
    256334         ENDIF 
    257335         ! 
     
    341419                          & - ( vb(ji,jj,jk) * r1_e1v(ji,jj) -  vb(ji,jj-1,jk) * r1_e1v(ji,jj-1) )  & 
    342420                          &                  * r1_e2t(ji,jj) * e1t(ji,jj)    ) * tmask(ji,jj,jk) 
    343                      dtensq(ji,jj) = zdb*zdb 
     421                     dtensq(ji,jj) = zdb * zdb 
    344422                  END DO 
    345423               END DO 
     
    351429                          & + ( vb(ji+1,jj,jk) * r1_e2v(ji+1,jj) -  vb(ji,jj,jk) * r1_e2v(ji,jj) )  & 
    352430                          &                    * r1_e1f(ji,jj)   * e2f(ji,jj)  ) * fmask(ji,jj,jk) 
    353                      dshesq(ji,jj) = zdb*zdb 
     431                     dshesq(ji,jj) = zdb * zdb 
    354432                  END DO 
    355433               END DO 
     
    385463         ! 
    386464         IF( ln_dynldf_blp ) THEN      ! bilaplacian operator : sqrt( (C_smag/pi)^2 L^4 |D|/8) 
    387                                        !                      = sqrt( A_lap_smag L^2/8 ) 
    388                                        ! stability limits already applied to laplacian values 
    389                                        ! effective default limits are |U|L^3/12 < B_hm < L^4/(32*2dt) 
    390             ! 
     465            !                          !                      = sqrt( A_lap_smag L^2/8 ) 
     466            !                          ! stability limits already applied to laplacian values 
     467            !                          ! effective default limits are 1/12 |U|L^3 < B_hm < 1//(32*2dt) L^4 
    391468            DO jk = 1, jpkm1 
    392                ! 
    393469               DO jj = 2, jpjm1 
    394470                  DO ji = fs_2, fs_jpim1 
    395                      ! 
    396                      ahmt(ji,jj,jk) = sqrt( r1_8 * esqt(ji,jj) * ahmt(ji,jj,jk) ) 
    397                      ahmf(ji,jj,jk) = sqrt( r1_8 * esqf(ji,jj) * ahmf(ji,jj,jk) ) 
    398                      ! 
     471                     ahmt(ji,jj,jk) = SQRT( r1_8 * esqt(ji,jj) * ahmt(ji,jj,jk) ) 
     472                     ahmf(ji,jj,jk) = SQRT( r1_8 * esqf(ji,jj) * ahmf(ji,jj,jk) ) 
    399473                  END DO 
    400474               END DO 
  • branches/2017/dev_merge_2017/NEMOGCM/NEMO/OPA_SRC/LDF/ldfslp.F90

    r9124 r9490  
    2222   USE oce            ! ocean dynamics and tracers 
    2323   USE dom_oce        ! ocean space and time domain 
    24    USE ldfdyn         ! lateral diffusion: eddy viscosity coef. 
     24!   USE ldfdyn         ! lateral diffusion: eddy viscosity coef. 
    2525   USE phycst         ! physical constants 
    2626   USE zdfmxl         ! mixed layer depth 
     
    4343   LOGICAL , PUBLIC ::   l_ldfslp = .FALSE.     !: slopes flag 
    4444 
    45    LOGICAL , PUBLIC ::   ln_traldf_iso   = .TRUE.       !: iso-neutral direction 
    46    LOGICAL , PUBLIC ::   ln_traldf_triad = .FALSE.      !: griffies triad scheme 
    47  
    48    LOGICAL , PUBLIC ::   ln_triad_iso    = .FALSE.      !: pure horizontal mixing in ML 
    49    LOGICAL , PUBLIC ::   ln_botmix_triad = .FALSE.      !: mixing on bottom 
    50    REAL(wp), PUBLIC ::   rn_sw_triad     = 1._wp        !: =1 switching triads ; =0 all four triads used  
    51    REAL(wp), PUBLIC ::   rn_slpmax       = 0.01_wp      !: slope limit 
     45   LOGICAL , PUBLIC ::   ln_traldf_iso   = .TRUE.       !: iso-neutral direction                           (nam_traldf namelist) 
     46   LOGICAL , PUBLIC ::   ln_traldf_triad = .FALSE.      !: griffies triad scheme                           (nam_traldf namelist) 
     47   LOGICAL , PUBLIC ::   ln_dynldf_iso                  !: iso-neutral direction                           (nam_dynldf namelist) 
     48 
     49   LOGICAL , PUBLIC ::   ln_triad_iso    = .FALSE.      !: pure horizontal mixing in ML                    (nam_traldf namelist) 
     50   LOGICAL , PUBLIC ::   ln_botmix_triad = .FALSE.      !: mixing on bottom                                (nam_traldf namelist) 
     51   REAL(wp), PUBLIC ::   rn_sw_triad     = 1._wp        !: =1 switching triads ; =0 all four triads used   (nam_traldf namelist) 
     52   REAL(wp), PUBLIC ::   rn_slpmax       = 0.01_wp      !: slope limit                                     (nam_traldf namelist) 
    5253 
    5354   LOGICAL , PUBLIC ::   l_grad_zps = .FALSE.           !: special treatment for Horz Tgradients w partial steps (triad operator) 
     
    749750      ! 
    750751      IF( ln_traldf_triad ) THEN        ! Griffies operator : triad of slopes 
    751          IF(lwp) WRITE(numout,*) '              Griffies (triad) operator initialisation' 
     752         IF(lwp) WRITE(numout,*) '   ==>>>   triad) operator (Griffies)' 
    752753         ALLOCATE( triadi_g(jpi,jpj,jpk,0:1,0:1) , triadj_g(jpi,jpj,jpk,0:1,0:1) ,     & 
    753754            &      triadi  (jpi,jpj,jpk,0:1,0:1) , triadj  (jpi,jpj,jpk,0:1,0:1) ,     & 
     
    757758         ! 
    758759      ELSE                             ! Madec operator : slopes at u-, v-, and w-points 
    759          IF(lwp) WRITE(numout,*) '              Madec operator initialisation' 
     760         IF(lwp) WRITE(numout,*) '   ==>>>   iso operator (Madec)' 
    760761         ALLOCATE( omlmask(jpi,jpj,jpk) ,                                                                        & 
    761762            &      uslp(jpi,jpj,jpk) , uslpml(jpi,jpj) , wslpi(jpi,jpj,jpk) , wslpiml(jpi,jpj) ,     & 
  • branches/2017/dev_merge_2017/NEMOGCM/NEMO/OPA_SRC/LDF/ldftra.F90

    r9169 r9490  
    5050   LOGICAL , PUBLIC ::   ln_traldf_hor       !: horizontal (geopotential) direction 
    5151!  LOGICAL , PUBLIC ::   ln_traldf_iso       !: iso-neutral direction                    (see ldfslp) 
     52   !                                    != iso-neutral options =! 
    5253!  LOGICAL , PUBLIC ::   ln_traldf_triad     !: griffies triad scheme                    (see ldfslp) 
    5354   LOGICAL , PUBLIC ::   ln_traldf_msc       !: Method of Stabilizing Correction  
     
    5859   !                                    !=  Coefficients =! 
    5960   INTEGER , PUBLIC ::   nn_aht_ijk_t        !: choice of time & space variations of the lateral eddy diffusivity coef. 
    60    REAL(wp), PUBLIC ::   rn_aht_0            !:   laplacian lateral eddy diffusivity [m2/s] 
    61    REAL(wp), PUBLIC ::   rn_bht_0            !: bilaplacian lateral eddy diffusivity [m4/s] 
    62  
    63    !                                   !!* Namelist namtra_ldfeiv : eddy induced velocity param. * 
     61   !                                            !  time invariant coefficients:  aht_0 = 1/2  Ud*Ld   (lap case)  
     62   !                                            !                                bht_0 = 1/12 Ud*Ld^3 (blp case) 
     63   REAL(wp), PUBLIC ::      rn_Ud               !: lateral diffusive velocity  [m/s] 
     64   REAL(wp), PUBLIC ::      rn_Ld               !: lateral diffusive length    [m] 
     65 
     66   !                                   !!* Namelist namtra_eiv : eddy induced velocity param. * 
    6467   !                                    != Use/diagnose eiv =! 
    6568   LOGICAL , PUBLIC ::   ln_ldfeiv           !: eddy induced velocity flag 
     
    6770   !                                    != Coefficients =! 
    6871   INTEGER , PUBLIC ::   nn_aei_ijk_t        !: choice of time/space variation of the eiv coeff. 
    69    REAL(wp), PUBLIC ::   rn_aeiv_0           !: eddy induced velocity coefficient [m2/s] 
     72   REAL(wp), PUBLIC ::      rn_Ue               !: lateral diffusive velocity  [m/s] 
     73   REAL(wp), PUBLIC ::      rn_Le               !: lateral diffusive length    [m] 
    7074    
     75   !                                  ! Flag to control the type of lateral diffusive operator 
     76   INTEGER, PARAMETER, PUBLIC ::   np_ERROR  =-10   ! error in specification of lateral diffusion 
     77   INTEGER, PARAMETER, PUBLIC ::   np_no_ldf = 00   ! without operator (i.e. no lateral diffusive trend) 
     78   !                          !!      laplacian     !    bilaplacian    ! 
     79   INTEGER, PARAMETER, PUBLIC ::   np_lap    = 10   ,   np_blp    = 20  ! iso-level operator 
     80   INTEGER, PARAMETER, PUBLIC ::   np_lap_i  = 11   ,   np_blp_i  = 21  ! standard iso-neutral or geopotential operator 
     81   INTEGER, PARAMETER, PUBLIC ::   np_lap_it = 12   ,   np_blp_it = 22  ! triad    iso-neutral or geopotential operator 
     82 
     83   INTEGER , PUBLIC ::   nldf_tra      = 0         !: type of lateral diffusion used defined from ln_traldf_... (namlist logicals) 
    7184   LOGICAL , PUBLIC ::   l_ldftra_time = .FALSE.   !: flag for time variation of the lateral eddy diffusivity coef. 
    72    LOGICAL , PUBLIC ::   l_ldfeiv_time = .FALSE.   ! flag for time variation of the eiv coef. 
     85   LOGICAL , PUBLIC ::   l_ldfeiv_time = .FALSE.   !: flag for time variation of the eiv coef. 
    7386 
    7487   REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:,:) ::   ahtu, ahtv   !: eddy diffusivity coef. at U- and V-points   [m2/s] 
    7588   REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:,:) ::   aeiu, aeiv   !: eddy induced velocity coeff.                [m2/s] 
    7689 
     90   REAL(wp) ::   aht0, aei0               ! constant eddy coefficients (deduced from namelist values)                     [m2/s] 
     91   REAL(wp) ::   r1_2  = 0.5_wp           ! =1/2 
    7792   REAL(wp) ::   r1_4  = 0.25_wp          ! =1/4 
    7893   REAL(wp) ::   r1_12 = 1._wp / 12._wp   ! =1/12 
     
    108123      !!                  =-30 => = F(i,j,k)   = shape read in 'eddy_diffusivity.nc' file 
    109124      !!                  = 30    = F(i,j,k)   = 2D (case 20) + decrease with depth (case 10) 
    110       !!                  = 31    = F(i,j,k,t) = F(local velocity) (  |u|e  /12   laplacian operator 
    111       !!                                                          or |u|e^3/12 bilaplacian operator ) 
     125      !!                  = 31    = F(i,j,k,t) = F(local velocity) (  1/2  |u|e     laplacian operator 
     126      !!                                                           or 1/12 |u|e^3 bilaplacian operator ) 
    112127      !!              * initialisation of the eddy induced velocity coefficient by a call to ldf_eiv_init  
    113128      !!             
    114       !! ** action  : ahtu, ahtv initialized once for all or l_ldftra_time set to true 
    115       !!              aeiu, aeiv initialized once for all or l_ldfeiv_time set to true 
    116       !!---------------------------------------------------------------------- 
    117       INTEGER  ::   jk                ! dummy loop indices 
    118       INTEGER  ::   ierr, inum, ios   ! local integer 
    119       REAL(wp) ::   zah0              ! local scalar 
     129      !! ** action  : ahtu, ahtv initialized one for all or l_ldftra_time set to true 
     130      !!              aeiu, aeiv initialized one for all or l_ldfeiv_time set to true 
     131      !!---------------------------------------------------------------------- 
     132      INTEGER  ::   jk                             ! dummy loop indices 
     133      INTEGER  ::   ioptio, ierr, inum, ios, inn   ! local integer 
     134      REAL(wp) ::   zah_max, zUfac                 !   -      - 
     135      CHARACTER(len=5) ::   cl_Units               ! units (m2/s or m4/s) 
    120136      !! 
    121137      NAMELIST/namtra_ldf/ ln_traldf_NONE, ln_traldf_lap  , ln_traldf_blp  ,  &   ! type of operator 
     
    123139         &                 ln_traldf_iso , ln_traldf_msc  ,  rn_slpmax     ,  &   ! option for iso-neutral operator 
    124140         &                 ln_triad_iso  , ln_botmix_triad, rn_sw_triad    ,  &   ! option for triad operator 
    125          &                 rn_aht_0      , rn_bht_0       , nn_aht_ijk_t          ! lateral eddy coefficient 
     141         &                 nn_aht_ijk_t  , rn_Ud          , rn_Ld                 ! lateral eddy coefficient 
    126142      !!---------------------------------------------------------------------- 
    127143      ! 
    128144      IF(lwp) THEN                      ! control print 
    129145         WRITE(numout,*) 
    130          WRITE(numout,*) 'ldf_tra_init : lateral tracer physics' 
     146         WRITE(numout,*) 'ldf_tra_init : lateral tracer diffusion' 
    131147         WRITE(numout,*) '~~~~~~~~~~~~ ' 
    132148      ENDIF 
     149       
    133150      ! 
    134151      !  Choice of lateral tracer physics 
     
    154171         WRITE(numout,*) '         iso-neutral Madec operator              ln_traldf_iso   = ', ln_traldf_iso 
    155172         WRITE(numout,*) '         iso-neutral triad operator              ln_traldf_triad = ', ln_traldf_triad 
    156          WRITE(numout,*) '            iso-neutral (Method of Stab. Corr.)  ln_traldf_msc   = ', ln_traldf_msc 
     173         WRITE(numout,*) '            use the Method of Stab. Correction   ln_traldf_msc   = ', ln_traldf_msc 
    157174         WRITE(numout,*) '            maximum isoppycnal slope             rn_slpmax       = ', rn_slpmax 
    158175         WRITE(numout,*) '            pure lateral mixing in ML            ln_triad_iso    = ', ln_triad_iso 
     
    160177         WRITE(numout,*) '            lateral mixing on bottom             ln_botmix_triad = ', ln_botmix_triad 
    161178         WRITE(numout,*) '      coefficients :' 
    162          WRITE(numout,*) '         lateral eddy diffusivity   (lap case)   rn_aht_0        = ', rn_aht_0 
    163          WRITE(numout,*) '         lateral eddy diffusivity (bilap case)   rn_bht_0        = ', rn_bht_0 
    164179         WRITE(numout,*) '         type of time-space variation            nn_aht_ijk_t    = ', nn_aht_ijk_t 
    165       ENDIF 
    166       ! 
    167       !                                ! Parameter control 
    168       ! 
    169       IF( ln_traldf_NONE ) THEN 
    170          IF(lwp) WRITE(numout,*) '   ==>>>   No diffusive operator selected. ahtu and ahtv are not allocated' 
    171          l_ldftra_time = .FALSE. 
    172          RETURN 
    173       ENDIF 
     180         WRITE(numout,*) '            lateral diffusive velocity (if cst)  rn_Ud           = ', rn_Ud, ' m/s' 
     181         WRITE(numout,*) '            lateral diffusive length   (if cst)  rn_Ld           = ', rn_Ld, ' m' 
     182      ENDIF 
     183      ! 
     184      ! 
     185      ! Operator and its acting direction   (set nldf_tra)   
     186      ! ================================= 
     187      ! 
     188      nldf_tra = np_ERROR 
     189      ioptio   = 0 
     190      IF( ln_traldf_NONE ) THEN   ;   nldf_tra = np_no_ldf   ;   ioptio = ioptio + 1   ;   ENDIF 
     191      IF( ln_traldf_lap  ) THEN   ;                              ioptio = ioptio + 1   ;   ENDIF 
     192      IF( ln_traldf_blp  ) THEN   ;                              ioptio = ioptio + 1   ;   ENDIF 
     193      IF( ioptio /=  1   )   CALL ctl_stop( 'tra_ldf_init: use ONE of the 3 operator options (NONE/lap/blp)' ) 
     194      ! 
     195      IF( .NOT.ln_traldf_NONE ) THEN   !==  direction ==>> type of operator  ==! 
     196         ioptio = 0 
     197         IF( ln_traldf_lev )   ioptio = ioptio + 1 
     198         IF( ln_traldf_hor )   ioptio = ioptio + 1 
     199         IF( ln_traldf_iso )   ioptio = ioptio + 1 
     200         IF( ioptio /=  1  )   CALL ctl_stop( 'tra_ldf_init: use ONE direction (level/hor/iso)' ) 
     201         ! 
     202         !                                ! defined the type of lateral diffusion from ln_traldf_... logicals 
     203         ierr = 0 
     204         IF ( ln_traldf_lap ) THEN        ! laplacian operator 
     205            IF ( ln_zco ) THEN                  ! z-coordinate 
     206               IF ( ln_traldf_lev   )   nldf_tra = np_lap     ! iso-level = horizontal (no rotation) 
     207               IF ( ln_traldf_hor   )   nldf_tra = np_lap     ! iso-level = horizontal (no rotation) 
     208               IF ( ln_traldf_iso   )   nldf_tra = np_lap_i   ! iso-neutral: standard  (   rotation) 
     209               IF ( ln_traldf_triad )   nldf_tra = np_lap_it  ! iso-neutral: triad     (   rotation) 
     210            ENDIF 
     211            IF ( ln_zps ) THEN                  ! z-coordinate with partial step 
     212               IF ( ln_traldf_lev   )   ierr     = 1          ! iso-level not allowed  
     213               IF ( ln_traldf_hor   )   nldf_tra = np_lap     ! horizontal             (no rotation) 
     214               IF ( ln_traldf_iso   )   nldf_tra = np_lap_i   ! iso-neutral: standard     (rotation) 
     215               IF ( ln_traldf_triad )   nldf_tra = np_lap_it  ! iso-neutral: triad        (rotation) 
     216            ENDIF 
     217            IF ( ln_sco ) THEN                  ! s-coordinate 
     218               IF ( ln_traldf_lev   )   nldf_tra = np_lap     ! iso-level              (no rotation) 
     219               IF ( ln_traldf_hor   )   nldf_tra = np_lap_i   ! horizontal             (   rotation) 
     220               IF ( ln_traldf_iso   )   nldf_tra = np_lap_i   ! iso-neutral: standard  (   rotation) 
     221               IF ( ln_traldf_triad )   nldf_tra = np_lap_it  ! iso-neutral: triad     (   rotation) 
     222            ENDIF 
     223         ENDIF 
     224         ! 
     225         IF( ln_traldf_blp ) THEN         ! bilaplacian operator 
     226            IF ( ln_zco ) THEN                  ! z-coordinate 
     227               IF ( ln_traldf_lev   )   nldf_tra = np_blp     ! iso-level = horizontal (no rotation) 
     228               IF ( ln_traldf_hor   )   nldf_tra = np_blp     ! iso-level = horizontal (no rotation) 
     229               IF ( ln_traldf_iso   )   nldf_tra = np_blp_i   ! iso-neutral: standard  (   rotation) 
     230               IF ( ln_traldf_triad )   nldf_tra = np_blp_it  ! iso-neutral: triad     (   rotation) 
     231            ENDIF 
     232            IF ( ln_zps ) THEN                  ! z-coordinate with partial step 
     233               IF ( ln_traldf_lev   )   ierr     = 1          ! iso-level not allowed  
     234               IF ( ln_traldf_hor   )   nldf_tra = np_blp     ! horizontal             (no rotation) 
     235               IF ( ln_traldf_iso   )   nldf_tra = np_blp_i   ! iso-neutral: standard  (   rotation) 
     236               IF ( ln_traldf_triad )   nldf_tra = np_blp_it  ! iso-neutral: triad     (   rotation) 
     237            ENDIF 
     238            IF ( ln_sco ) THEN                  ! s-coordinate 
     239               IF ( ln_traldf_lev   )   nldf_tra = np_blp     ! iso-level              (no rotation) 
     240               IF ( ln_traldf_hor   )   nldf_tra = np_blp_it  ! horizontal             (   rotation) 
     241               IF ( ln_traldf_iso   )   nldf_tra = np_blp_i   ! iso-neutral: standard  (   rotation) 
     242               IF ( ln_traldf_triad )   nldf_tra = np_blp_it  ! iso-neutral: triad     (   rotation) 
     243            ENDIF 
     244         ENDIF 
     245         IF ( ierr == 1 )   CALL ctl_stop( 'iso-level in z-partial step, not allowed' ) 
     246      ENDIF 
     247      ! 
     248      IF( ln_ldfeiv .AND. .NOT.( ln_traldf_iso .OR. ln_traldf_triad ) )                & 
     249           &            CALL ctl_stop( 'ln_ldfeiv=T requires iso-neutral laplacian diffusion' ) 
     250      IF( ln_isfcav .AND. ln_traldf_triad ) & 
     251           &            CALL ctl_stop( ' ice shelf cavity and traldf_triad not tested' ) 
     252           ! 
     253      IF(  nldf_tra == np_lap_i .OR. nldf_tra == np_lap_it .OR. & 
     254         & nldf_tra == np_blp_i .OR. nldf_tra == np_blp_it  )   l_ldfslp = .TRUE.    ! slope of neutral surfaces required  
    174255      ! 
    175256      IF( ln_traldf_blp .AND. ( ln_traldf_iso .OR. ln_traldf_triad) ) THEN     ! iso-neutral bilaplacian need MSC 
     
    177258      ENDIF 
    178259      ! 
     260      IF(lwp) THEN 
     261         WRITE(numout,*) 
     262         SELECT CASE( nldf_tra ) 
     263         CASE( np_no_ldf )   ;   WRITE(numout,*) '   ==>>>   NO lateral diffusion' 
     264         CASE( np_lap    )   ;   WRITE(numout,*) '   ==>>>   laplacian iso-level operator' 
     265         CASE( np_lap_i  )   ;   WRITE(numout,*) '   ==>>>   Rotated laplacian operator (standard)' 
     266         CASE( np_lap_it )   ;   WRITE(numout,*) '   ==>>>   Rotated laplacian operator (triad)' 
     267         CASE( np_blp    )   ;   WRITE(numout,*) '   ==>>>   bilaplacian iso-level operator' 
     268         CASE( np_blp_i  )   ;   WRITE(numout,*) '   ==>>>   Rotated bilaplacian operator (standard)' 
     269         CASE( np_blp_it )   ;   WRITE(numout,*) '   ==>>>   Rotated bilaplacian operator (triad)' 
     270         END SELECT 
     271         WRITE(numout,*) 
     272      ENDIF 
     273 
     274      ! 
    179275      !  Space/time variation of eddy coefficients  
    180276      ! =========================================== 
    181       !                                               ! allocate the aht arrays 
    182       ALLOCATE( ahtu(jpi,jpj,jpk) , ahtv(jpi,jpj,jpk) , STAT=ierr ) 
    183       IF( ierr /= 0 )   CALL ctl_stop( 'STOP', 'ldf_tra_init: failed to allocate arrays') 
    184       ! 
    185       ahtu(:,:,jpk) = 0._wp                           ! last level always 0   
    186       ahtv(:,:,jpk) = 0._wp 
    187       ! 
    188       !                                               ! value of eddy mixing coef. 
    189       IF    ( ln_traldf_lap ) THEN   ;   zah0 =      rn_aht_0        !   laplacian operator 
    190       ELSEIF( ln_traldf_blp ) THEN   ;   zah0 = ABS( rn_bht_0 )      ! bilaplacian operator 
    191       ENDIF 
    192       ! 
    193       l_ldftra_time = .FALSE.                         ! no time variation except in case defined below 
    194       ! 
    195       IF( ln_traldf_lap .OR. ln_traldf_blp ) THEN     ! only if a lateral diffusion operator is used 
    196          ! 
    197          SELECT CASE(  nn_aht_ijk_t  )                   ! Specification of space time variations of ehtu, ahtv 
     277      ! 
     278      l_ldftra_time = .FALSE.                ! no time variation except in case defined below 
     279      ! 
     280      IF( ln_traldf_NONE ) THEN              !== no explicit diffusive operator  ==! 
     281         ! 
     282         IF(lwp) WRITE(numout,*) '   ==>>>   No diffusive operator selected. ahtu and ahtv are not allocated' 
     283         RETURN 
     284         ! 
     285      ELSE                                   !==  a lateral diffusion operator is used  ==! 
     286         ! 
     287         !                                         ! allocate the aht arrays 
     288         ALLOCATE( ahtu(jpi,jpj,jpk) , ahtv(jpi,jpj,jpk) , STAT=ierr ) 
     289         IF( ierr /= 0 )   CALL ctl_stop( 'STOP', 'ldf_tra_init: failed to allocate arrays') 
     290         ! 
     291         ahtu(:,:,jpk) = 0._wp                     ! last level always 0   
     292         ahtv(:,:,jpk) = 0._wp 
     293         !. 
     294         !                                         ! value of lap/blp eddy mixing coef. 
     295         IF(     ln_traldf_lap ) THEN   ;   zUfac = r1_2 *rn_Ud   ;   inn = 1   ;   cl_Units = ' m2/s'   !   laplacian 
     296         ELSEIF( ln_traldf_blp ) THEN   ;   zUfac = r1_12*rn_Ud   ;   inn = 3   ;   cl_Units = ' m4/s'   ! bilaplacian 
     297         ENDIF 
     298         aht0    = zUfac *    rn_Ld**inn              ! mixing coefficient 
     299         zah_max = zUfac * (ra*rad)**inn              ! maximum reachable coefficient (value at the Equator for e1=1 degree) 
     300         ! 
     301         ! 
     302         SELECT CASE(  nn_aht_ijk_t  )             !* Specification of space-time variations of ahtu, ahtv 
    198303         ! 
    199304         CASE(   0  )      !==  constant  ==! 
    200             IF(lwp) WRITE(numout,*) '   ==>>>   tracer mixing coef. = constant = ', rn_aht_0 
    201             ahtu(:,:,:) = zah0 * umask(:,:,:) 
    202             ahtv(:,:,:) = zah0 * vmask(:,:,:) 
     305            IF(lwp) WRITE(numout,*) '   ==>>>   eddy diffusivity = constant = ', aht0, cl_Units 
     306            ahtu(:,:,1:jpkm1) = aht0 
     307            ahtv(:,:,1:jpkm1) = aht0 
    203308            ! 
    204309         CASE(  10  )      !==  fixed profile  ==! 
    205             IF(lwp) WRITE(numout,*) '   ==>>>   tracer mixing coef. = F( depth )' 
    206             ahtu(:,:,1) = zah0 * umask(:,:,1)                      ! constant surface value 
    207             ahtv(:,:,1) = zah0 * vmask(:,:,1) 
    208             CALL ldf_c1d( 'TRA', r1_4, ahtu(:,:,1), ahtv(:,:,1), ahtu, ahtv ) 
    209             ! 
    210          CASE ( -20 )      !== fixed horizontal shape read in file  ==! 
    211             IF(lwp) WRITE(numout,*) '   ==>>>   tracer mixing coef. = F(i,j) read in eddy_diffusivity.nc file' 
     310            IF(lwp) WRITE(numout,*) '   ==>>>   eddy diffusivity = F( depth )' 
     311            IF(lwp) WRITE(numout,*) '           surface eddy diffusivity = constant = ', aht0, cl_Units 
     312            ahtu(:,:,1) = aht0                        ! constant surface value 
     313            ahtv(:,:,1) = aht0 
     314            CALL ldf_c1d( 'TRA', ahtu(:,:,1), ahtv(:,:,1), ahtu, ahtv ) 
     315            ! 
     316         CASE ( -20 )      !== fixed horizontal shape and magnitude read in file  ==! 
     317            IF(lwp) WRITE(numout,*) '   ==>>>   eddy diffusivity = F(i,j) read in eddy_diffusivity.nc file' 
    212318            CALL iom_open( 'eddy_diffusivity_2D.nc', inum ) 
    213319            CALL iom_get ( inum, jpdom_data, 'ahtu_2D', ahtu(:,:,1) ) 
     
    215321            CALL iom_close( inum ) 
    216322            DO jk = 2, jpkm1 
    217                ahtu(:,:,jk) = ahtu(:,:,1) * umask(:,:,jk) 
    218                ahtv(:,:,jk) = ahtv(:,:,1) * vmask(:,:,jk) 
     323               ahtu(:,:,jk) = ahtu(:,:,1) 
     324               ahtv(:,:,jk) = ahtv(:,:,1) 
    219325            END DO 
    220326            ! 
    221327         CASE(  20  )      !== fixed horizontal shape  ==! 
    222             IF(lwp) WRITE(numout,*) '   ==>>>   tracer mixing coef. = F( e1, e2 ) or F( e1^3, e2^3 ) (lap or blp case)' 
    223             IF( ln_traldf_lap )   CALL ldf_c2d( 'TRA', 'LAP', zah0, ahtu, ahtv )    ! surface value proportional to scale factor 
    224             IF( ln_traldf_blp )   CALL ldf_c2d( 'TRA', 'BLP', zah0, ahtu, ahtv )    ! surface value proportional to scale factor 
     328            IF(lwp) WRITE(numout,*) '   ==>>>   eddy diffusivity = F( e1, e2 ) or F( e1^3, e2^3 ) (lap or blp case)' 
     329            IF(lwp) WRITE(numout,*) '           using a fixed diffusive velocity = ', rn_Ud,' m/s   and   Ld = Max(e1,e2)' 
     330            IF(lwp) WRITE(numout,*) '           maximum reachable coefficient (at the Equator) = ', zah_max, cl_Units, '  for e1=1°)' 
     331            CALL ldf_c2d( 'TRA', zUfac      , inn        , ahtu, ahtv )    ! value proportional to scale factor^inn 
    225332            ! 
    226333         CASE(  21  )      !==  time varying 2D field  ==! 
    227             IF(lwp) WRITE(numout,*) '   ==>>>   tracer mixing coef. = F( latitude, longitude, time )' 
    228             IF(lwp) WRITE(numout,*) '                               = F( growth rate of baroclinic instability )' 
    229             IF(lwp) WRITE(numout,*) '                               min value = 0.1 * rn_aht_0' 
    230             IF(lwp) WRITE(numout,*) '                               max value = rn_aht_0 (rn_aeiv_0 if nn_aei_ijk_t=21)' 
    231             IF(lwp) WRITE(numout,*) '                               increased to rn_aht_0 within 20N-20S' 
     334            IF(lwp) WRITE(numout,*) '   ==>>>   eddy diffusivity = F( latitude, longitude, time )' 
     335            IF(lwp) WRITE(numout,*) '                            = F( growth rate of baroclinic instability )' 
     336            IF(lwp) WRITE(numout,*) '            min value = 0.2 * aht0 (with aht0= 1/2 rn_Ud*rn_Ld)' 
     337            IF(lwp) WRITE(numout,*) '            max value =       aei0 (with aei0=1/2 rn_Ue*Le  increased to aht0 within 20N-20S' 
    232338            ! 
    233339            l_ldftra_time = .TRUE.     ! will be calculated by call to ldf_tra routine in step.F90 
    234340            ! 
    235             IF( ln_traldf_blp ) THEN 
    236                CALL ctl_stop( 'ldf_tra_init: aht=F(growth rate of baroc. insta.) incompatible with bilaplacian operator' ) 
    237             ENDIF 
     341            IF( ln_traldf_blp )   CALL ctl_stop( 'ldf_tra_init: aht=F( growth rate of baroc. insta .)',   & 
     342               &                                 '              incompatible with bilaplacian operator' ) 
    238343            ! 
    239344         CASE( -30  )      !== fixed 3D shape read in file  ==! 
    240             IF(lwp) WRITE(numout,*) '   ==>>>   tracer mixing coef. = F(i,j,k) read in eddy_diffusivity.nc file' 
     345            IF(lwp) WRITE(numout,*) '   ==>>>   eddy diffusivity = F(i,j,k) read in eddy_diffusivity.nc file' 
    241346            CALL iom_open( 'eddy_diffusivity_3D.nc', inum ) 
    242347            CALL iom_get ( inum, jpdom_data, 'ahtu_3D', ahtu ) 
    243348            CALL iom_get ( inum, jpdom_data, 'ahtv_3D', ahtv ) 
    244349            CALL iom_close( inum ) 
    245             DO jk = 1, jpkm1 
    246                ahtu(:,:,jk) = ahtu(:,:,jk) * umask(:,:,jk) 
    247                ahtv(:,:,jk) = ahtv(:,:,jk) * vmask(:,:,jk) 
    248             END DO 
    249350            ! 
    250351         CASE(  30  )      !==  fixed 3D shape  ==! 
    251             IF(lwp) WRITE(numout,*) '   ==>>>   tracer mixing coef. = F( latitude, longitude, depth )' 
    252             IF( ln_traldf_lap )   CALL ldf_c2d( 'TRA', 'LAP', zah0, ahtu, ahtv )    ! surface value proportional to scale factor 
    253             IF( ln_traldf_blp )   CALL ldf_c2d( 'TRA', 'BLP', zah0, ahtu, ahtv )    ! surface value proportional to scale factor 
    254             !                                                    ! reduction with depth 
    255             CALL ldf_c1d( 'TRA', r1_4, ahtu(:,:,1), ahtv(:,:,1), ahtu, ahtv ) 
     352            IF(lwp) WRITE(numout,*) '   ==>>>   eddy diffusivity = F( latitude, longitude, depth )' 
     353            IF(lwp) WRITE(numout,*) '           using a fixed diffusive velocity = ', rn_Ud,' m/s   and   Ld = Max(e1,e2)' 
     354            IF(lwp) WRITE(numout,*) '           maximum reachable coefficient (at the Equator) = ', zah_max, cl_Units, '  for e1=1°)' 
     355            CALL ldf_c2d( 'TRA', zUfac      , inn        , ahtu, ahtv )    ! surface value proportional to scale factor^inn 
     356            CALL ldf_c1d( 'TRA', ahtu(:,:,1), ahtv(:,:,1), ahtu, ahtv )    ! reduction with depth 
    256357            ! 
    257358         CASE(  31  )      !==  time varying 3D field  ==! 
    258             IF(lwp) WRITE(numout,*) '   ==>>>   tracer mixing coef. = F( latitude, longitude, depth , time )' 
    259             IF(lwp) WRITE(numout,*) '                                 proportional to the velocity : |u|e/12 or |u|e^3/12' 
     359            IF(lwp) WRITE(numout,*) '   ==>>>   eddy diffusivity = F( latitude, longitude, depth , time )' 
     360            IF(lwp) WRITE(numout,*) '           proportional to the velocity : 1/2 |u|e or 1/12 |u|e^3' 
    260361            ! 
    261362            l_ldftra_time = .TRUE.     ! will be calculated by call to ldf_tra routine in step.F90 
     
    265366         END SELECT 
    266367         ! 
    267          IF( ln_traldf_blp .AND. .NOT. l_ldftra_time ) THEN 
    268             ahtu(:,:,:) = SQRT( ahtu(:,:,:) ) 
    269             ahtv(:,:,:) = SQRT( ahtv(:,:,:) ) 
     368         IF( .NOT.l_ldftra_time ) THEN             !* No time variation  
     369            IF(     ln_traldf_lap ) THEN                 !   laplacian operator (mask only) 
     370               ahtu(:,:,1:jpkm1) =       ahtu(:,:,1:jpkm1)   * umask(:,:,1:jpkm1) 
     371               ahtv(:,:,1:jpkm1) =       ahtv(:,:,1:jpkm1)   * vmask(:,:,1:jpkm1) 
     372            ELSEIF( ln_traldf_blp ) THEN                 ! bilaplacian operator (square root + mask) 
     373               ahtu(:,:,1:jpkm1) = SQRT( ahtu(:,:,1:jpkm1) ) * umask(:,:,1:jpkm1) 
     374               ahtv(:,:,1:jpkm1) = SQRT( ahtv(:,:,1:jpkm1) ) * vmask(:,:,1:jpkm1) 
     375            ENDIF 
    270376         ENDIF 
    271377         ! 
     
    281387      !! ** Purpose :   update at kt the tracer lateral mixing coeff. (aht and aeiv) 
    282388      !! 
    283       !! ** Method  :   time varying eddy diffusivity coefficients: 
     389      !! ** Method  : * time varying eddy diffusivity coefficients: 
    284390      !! 
    285391      !!    nn_aei_ijk_t = 21    aeiu, aeiv = F(i,j,  t) = F(growth rate of baroclinic instability) 
     
    290396      !!                                                                     or |u|e^3/12 bilaplacian operator ) 
    291397      !! 
     398      !!              * time varying EIV coefficients: call to ldf_eiv routine 
     399      !! 
    292400      !! ** action  :   ahtu, ahtv   update at each time step    
    293401      !!                aeiu, aeiv      -       -     -    -   (if ln_ldfeiv=T)  
     
    296404      ! 
    297405      INTEGER  ::   ji, jj, jk   ! dummy loop indices 
    298       REAL(wp) ::   zaht, zahf, zaht_min, z1_f20       ! local scalar 
     406      REAL(wp) ::   zaht, zahf, zaht_min, zDaht, z1_f20   ! local scalar 
    299407      !!---------------------------------------------------------------------- 
    300408      ! 
    301409      IF( ln_ldfeiv .AND. nn_aei_ijk_t == 21 ) THEN       ! eddy induced velocity coefficients 
    302410         !                                ! =F(growth rate of baroclinic instability) 
    303          !                                ! max value rn_aeiv_0 ; decreased to 0 within 20N-20S 
    304          CALL ldf_eiv( kt, rn_aeiv_0, aeiu, aeiv ) 
     411         !                                ! max value aeiv_0 ; decreased to 0 within 20N-20S 
     412         CALL ldf_eiv( kt, aei0, aeiu, aeiv ) 
    305413      ENDIF 
    306414      ! 
     
    308416      ! 
    309417      CASE(  21  )       !==  time varying 2D field  ==!   = F( growth rate of baroclinic instability ) 
    310          !                                             !   min value rn_aht_0 / 10  
    311          !                                             !   max value rn_aht_0 (rn_aeiv_0 if nn_aei_ijk_t=21) 
    312          !                                             !   increase to rn_aht_0 within 20N-20S 
     418         !                                             !   min value 0.2*aht0 
     419         !                                             !   max value aht0 (aei0 if nn_aei_ijk_t=21) 
     420         !                                             !   increase to aht0 within 20N-20S 
    313421         IF( ln_ldfeiv .AND. nn_aei_ijk_t == 21 ) THEN   ! use the already computed aei. 
    314422            ahtu(:,:,1) = aeiu(:,:,1) 
    315423            ahtv(:,:,1) = aeiv(:,:,1) 
    316424         ELSE                                            ! compute aht.  
    317             CALL ldf_eiv( kt, rn_aht_0, ahtu, ahtv ) 
     425            CALL ldf_eiv( kt, aht0, ahtu, ahtv ) 
    318426         ENDIF 
    319427         ! 
    320          z1_f20   = 1._wp / (  2._wp * omega * SIN( rad * 20._wp )  )      ! 1 / ff(20 degrees)    
    321          zaht_min = 0.2_wp * rn_aht_0                                      ! minimum value for aht 
     428         z1_f20   = 1._wp / (  2._wp * omega * SIN( rad * 20._wp )  )   ! 1 / ff(20 degrees)    
     429         zaht_min = 0.2_wp * aht0                                       ! minimum value for aht 
     430         zDaht    = aht0 - zaht_min                                       
    322431         DO jj = 1, jpj 
    323432            DO ji = 1, jpi 
    324433               !!gm CAUTION : here we assume lat/lon grid in 20deg N/S band (like all ORCA cfg) 
    325434               !!     ==>>>   The Coriolis value is identical for t- & u_points, and for v- and f-points 
    326                zaht = ( 1._wp -  MIN( 1._wp , ABS( ff_t(ji,jj) * z1_f20 ) ) ) * ( rn_aht_0 - zaht_min ) 
    327                zahf = ( 1._wp -  MIN( 1._wp , ABS( ff_f(ji,jj) * z1_f20 ) ) ) * ( rn_aht_0 - zaht_min ) 
    328                ahtu(ji,jj,1) = (  MAX( zaht_min, ahtu(ji,jj,1) ) + zaht  ) * umask(ji,jj,1)     ! min value zaht_min 
    329                ahtv(ji,jj,1) = (  MAX( zaht_min, ahtv(ji,jj,1) ) + zahf  ) * vmask(ji,jj,1)     ! increase within 20S-20N 
    330             END DO 
    331          END DO 
    332          DO jk = 2, jpkm1                             ! deeper value = surface value 
     435               zaht = ( 1._wp -  MIN( 1._wp , ABS( ff_t(ji,jj) * z1_f20 ) ) ) * zDaht 
     436               zahf = ( 1._wp -  MIN( 1._wp , ABS( ff_f(ji,jj) * z1_f20 ) ) ) * zDaht 
     437               ahtu(ji,jj,1) = (  MAX( zaht_min, ahtu(ji,jj,1) ) + zaht  )     ! min value zaht_min 
     438               ahtv(ji,jj,1) = (  MAX( zaht_min, ahtv(ji,jj,1) ) + zahf  )     ! increase within 20S-20N 
     439            END DO 
     440         END DO 
     441         DO jk = 1, jpkm1                             ! deeper value = surface value + mask for all levels 
    333442            ahtu(:,:,jk) = ahtu(:,:,1) * umask(:,:,jk) 
    334443            ahtv(:,:,jk) = ahtv(:,:,1) * vmask(:,:,jk) 
     
    338447         IF( ln_traldf_lap     ) THEN          !   laplacian operator |u| e /12 
    339448            DO jk = 1, jpkm1 
    340                ahtu(:,:,jk) = ABS( ub(:,:,jk) ) * e1u(:,:) * r1_12 
     449               ahtu(:,:,jk) = ABS( ub(:,:,jk) ) * e1u(:,:) * r1_12   ! n.b. ub,vb are masked 
    341450               ahtv(:,:,jk) = ABS( vb(:,:,jk) ) * e2v(:,:) * r1_12 
    342451            END DO 
     
    355464      CALL iom_put( "ahtv_3d", ahtv(:,:,:) )   ! 3D      v-eddy diffusivity coeff. 
    356465      ! 
    357 !!gm  : THE IF below is to be checked (comes from Seb) 
    358466      IF( ln_ldfeiv ) THEN 
    359467        CALL iom_put( "aeiu_2d", aeiu(:,:,1) )   ! surface u-EIV coeff. 
     
    372480      !! ** Purpose :   initialization of the eiv coeff. from namelist choices. 
    373481      !! 
    374       !! ** Method : 
    375       !! 
    376       !! ** Action :   aeiu , aeiv   : EIV coeff. at u- & v-points 
    377       !!               l_ldfeiv_time : =T if EIV coefficients vary with time 
    378       !!---------------------------------------------------------------------- 
    379       INTEGER  ::   jk                ! dummy loop indices 
    380       INTEGER  ::   ierr, inum, ios   ! local integer 
    381       ! 
    382       NAMELIST/namtra_ldfeiv/ ln_ldfeiv   , ln_ldfeiv_dia,   &    ! eddy induced velocity (eiv) 
    383          &                    nn_aei_ijk_t, rn_aeiv_0             ! eiv  coefficient 
     482      !! ** Method  :   the eiv diffusivity coef. specification depends on: 
     483      !!    nn_aei_ijk_t  =  0 => = constant 
     484      !!                  ! 
     485      !!                  = 10 => = F(z) : constant with a reduction of 1/4 with depth  
     486      !!                  ! 
     487      !!                  =-20 => = F(i,j)   = shape read in 'eddy_diffusivity.nc' file 
     488      !!                  = 20    = F(i,j)   = F(e1,e2) or F(e1^3,e2^3) (lap or bilap case) 
     489      !!                  = 21    = F(i,j,t) = F(growth rate of baroclinic instability) 
     490      !!                  ! 
     491      !!                  =-30 => = F(i,j,k)   = shape read in 'eddy_diffusivity.nc' file 
     492      !!                  = 30    = F(i,j,k)   = 2D (case 20) + decrease with depth (case 10) 
     493      !! 
     494      !! ** Action  :   aeiu , aeiv   :  initialized one for all or l_ldftra_time set to true 
     495      !!                l_ldfeiv_time : =T if EIV coefficients vary with time 
     496      !!---------------------------------------------------------------------- 
     497      INTEGER  ::   jk                     ! dummy loop indices 
     498      INTEGER  ::   ierr, inum, ios, inn   ! local integer 
     499      REAL(wp) ::   zah_max, zUfac         !   -   scalar 
     500      !! 
     501      NAMELIST/namtra_eiv/ ln_ldfeiv   , ln_ldfeiv_dia,   &   ! eddy induced velocity (eiv) 
     502         &                 nn_aei_ijk_t, rn_Ue, rn_Le         ! eiv  coefficient 
    384503      !!---------------------------------------------------------------------- 
    385504      ! 
     
    390509      ENDIF 
    391510      ! 
    392       REWIND( numnam_ref )              ! Namelist namtra_ldfeiv in reference namelist : eddy induced velocity param. 
    393       READ  ( numnam_ref, namtra_ldfeiv, IOSTAT = ios, ERR = 901) 
    394 901   IF( ios /= 0 )   CALL ctl_nam ( ios , 'namtra_ldfeiv in reference namelist', lwp ) 
    395       ! 
    396       REWIND( numnam_cfg )              ! Namelist namtra_ldfeiv in configuration namelist : eddy induced velocity param. 
    397       READ  ( numnam_cfg, namtra_ldfeiv, IOSTAT = ios, ERR = 902 ) 
    398 902   IF( ios >  0 )   CALL ctl_nam ( ios , 'namtra_ldfeiv in configuration namelist', lwp ) 
    399       IF(lwm)  WRITE ( numond, namtra_ldfeiv ) 
     511      REWIND( numnam_ref )              ! Namelist namtra_eiv in reference namelist : eddy induced velocity param. 
     512      READ  ( numnam_ref, namtra_eiv, IOSTAT = ios, ERR = 901) 
     513901   IF( ios /= 0 )   CALL ctl_nam ( ios , 'namtra_eiv in reference namelist', lwp ) 
     514      ! 
     515      REWIND( numnam_cfg )              ! Namelist namtra_eiv in configuration namelist : eddy induced velocity param. 
     516      READ  ( numnam_cfg, namtra_eiv, IOSTAT = ios, ERR = 902 ) 
     517902   IF( ios >  0 )   CALL ctl_nam ( ios , 'namtra_eiv in configuration namelist', lwp ) 
     518      IF(lwm)  WRITE ( numond, namtra_eiv ) 
    400519 
    401520      IF(lwp) THEN                      ! control print 
    402          WRITE(numout,*) '   Namelist namtra_ldfeiv : ' 
    403          WRITE(numout,*) '      Eddy Induced Velocity (eiv) param.      ln_ldfeiv     = ', ln_ldfeiv 
    404          WRITE(numout,*) '      eiv streamfunction & velocity diag.     ln_ldfeiv_dia = ', ln_ldfeiv_dia 
    405          WRITE(numout,*) '      eddy induced velocity coef.             rn_aeiv_0     = ', rn_aeiv_0 
    406          WRITE(numout,*) '      type of time-space variation            nn_aei_ijk_t  = ', nn_aei_ijk_t 
     521         WRITE(numout,*) '   Namelist namtra_eiv : ' 
     522         WRITE(numout,*) '      Eddy Induced Velocity (eiv) param.         ln_ldfeiv     = ', ln_ldfeiv 
     523         WRITE(numout,*) '      eiv streamfunction & velocity diag.        ln_ldfeiv_dia = ', ln_ldfeiv_dia 
     524         WRITE(numout,*) '      coefficients :' 
     525         WRITE(numout,*) '         type of time-space variation            nn_aei_ijk_t  = ', nn_aht_ijk_t 
     526         WRITE(numout,*) '         lateral diffusive velocity (if cst)     rn_Ue         = ', rn_Ue, ' m/s' 
     527         WRITE(numout,*) '         lateral diffusive length   (if cst)     rn_Le         = ', rn_Le, ' m' 
    407528         WRITE(numout,*) 
    408529      ENDIF 
    409530      ! 
    410       IF( ln_ldfeiv .AND. ln_traldf_blp )   CALL ctl_stop( 'ldf_eiv_init: eddy induced velocity ONLY with laplacian diffusivity' ) 
    411  
    412       !                                 ! Parameter control 
    413       l_ldfeiv_time = .FALSE.     
    414       ! 
    415       IF( ln_ldfeiv ) THEN                         ! allocate the aei arrays 
     531      l_ldfeiv_time = .FALSE.       ! no time variation except in case defined below 
     532      ! 
     533      ! 
     534      IF( .NOT.ln_ldfeiv ) THEN     !== Parametrization not used  ==! 
     535         ! 
     536         IF(lwp) WRITE(numout,*) '   ==>>>   eddy induced velocity param is NOT used' 
     537         ln_ldfeiv_dia = .FALSE. 
     538         ! 
     539      ELSE                          !== use the parametrization  ==! 
     540         ! 
     541         IF(lwp) WRITE(numout,*) '   ==>>>   use eddy induced velocity parametrization' 
     542         IF(lwp) WRITE(numout,*) 
     543         ! 
     544         IF( ln_traldf_blp )   CALL ctl_stop( 'ldf_eiv_init: eddy induced velocity ONLY with laplacian diffusivity' ) 
     545         ! 
     546         !                                != allocate the aei arrays 
    416547         ALLOCATE( aeiu(jpi,jpj,jpk), aeiv(jpi,jpj,jpk), STAT=ierr ) 
    417548         IF( ierr /= 0 )   CALL ctl_stop('STOP', 'ldf_eiv: failed to allocate arrays') 
    418549         ! 
    419          SELECT CASE( nn_aei_ijk_t )               ! Specification of space time variations of eaiu, aeiv 
    420          ! 
    421          CASE(   0  )      !==  constant  ==! 
    422             IF(lwp) WRITE(numout,*) '   ==>>>   eddy induced velocity coef. = constant = ', rn_aeiv_0 
    423             aeiu(:,:,:) = rn_aeiv_0 
    424             aeiv(:,:,:) = rn_aeiv_0 
    425             ! 
    426          CASE(  10  )      !==  fixed profile  ==! 
     550         !                                != Specification of space-time variations of eaiu, aeiv 
     551         ! 
     552         aeiu(:,:,jpk) = 0._wp               ! last level always 0   
     553         aeiv(:,:,jpk) = 0._wp 
     554         !                                   ! value of EIV coef. (laplacian operator) 
     555         zUfac = r1_2 *rn_Ue                    ! velocity factor 
     556         inn = 1                                ! L-exponent 
     557         aei0    = zUfac *    rn_Le**inn        ! mixing coefficient 
     558         zah_max = zUfac * (ra*rad)**inn        ! maximum reachable coefficient (value at the Equator) 
     559 
     560         SELECT CASE( nn_aei_ijk_t )         !* Specification of space-time variations 
     561         ! 
     562         CASE(   0  )                        !--  constant  --! 
     563            IF(lwp) WRITE(numout,*) '   ==>>>   eddy induced velocity coef. = constant = ', aei0, ' m2/s' 
     564            aeiu(:,:,1:jpkm1) = aei0 
     565            aeiv(:,:,1:jpkm1) = aei0 
     566            ! 
     567         CASE(  10  )                        !--  fixed profile  --! 
    427568            IF(lwp) WRITE(numout,*) '   ==>>>   eddy induced velocity coef. = F( depth )' 
    428             aeiu(:,:,1) = rn_aeiv_0                                ! constant surface value 
    429             aeiv(:,:,1) = rn_aeiv_0 
    430             CALL ldf_c1d( 'TRA', r1_4, aeiu(:,:,1), aeiv(:,:,1), aeiu, aeiv ) 
    431             ! 
    432          CASE ( -20 )      !== fixed horizontal shape read in file  ==! 
    433             IF(lwp) WRITE(numout,*) '   ==>>>   tracer mixing coef. = F(i,j) read in eddy_diffusivity_2D.nc file' 
     569            IF(lwp) WRITE(numout,*) '           surface eddy diffusivity = constant = ', aht0, ' m2/s' 
     570            aeiu(:,:,1) = aei0                  ! constant surface value 
     571            aeiv(:,:,1) = aei0 
     572            CALL ldf_c1d( 'TRA', aeiu(:,:,1), aeiv(:,:,1), aeiu, aeiv ) 
     573            ! 
     574         CASE ( -20 )                        !--  fixed horizontal shape read in file  --! 
     575            IF(lwp) WRITE(numout,*) '   ==>>>   eddy induced velocity coef. = F(i,j) read in eddy_diffusivity_2D.nc file' 
    434576            CALL iom_open ( 'eddy_induced_velocity_2D.nc', inum ) 
    435577            CALL iom_get  ( inum, jpdom_data, 'aeiu', aeiu(:,:,1) ) 
    436578            CALL iom_get  ( inum, jpdom_data, 'aeiv', aeiv(:,:,1) ) 
    437579            CALL iom_close( inum ) 
    438             DO jk = 2, jpk 
     580            DO jk = 2, jpkm1 
    439581               aeiu(:,:,jk) = aeiu(:,:,1) 
    440582               aeiv(:,:,jk) = aeiv(:,:,1) 
    441583            END DO 
    442584            ! 
    443          CASE(  20  )      !== fixed horizontal shape  ==! 
    444             IF(lwp) WRITE(numout,*) '   ==>>>   tracer mixing coef. = F( e1, e2 ) or F( e1^3, e2^3 ) (lap or bilap case)' 
    445             CALL ldf_c2d( 'TRA', 'LAP', rn_aeiv_0, aeiu, aeiv )    ! surface value proportional to scale factor 
    446             ! 
    447          CASE(  21  )       !==  time varying 2D field  ==! 
    448             IF(lwp) WRITE(numout,*) '   ==>>>   tracer mixing coef. = F( latitude, longitude, time )' 
    449             IF(lwp) WRITE(numout,*) '                               = F( growth rate of baroclinic instability )' 
     585         CASE(  20  )                        !--  fixed horizontal shape  --! 
     586            IF(lwp) WRITE(numout,*) '   ==>>>   eddy induced velocity coef. = F( e1, e2 )' 
     587            IF(lwp) WRITE(numout,*) '           using a fixed diffusive velocity = ', rn_Ue, ' m/s   and   Le = Max(e1,e2)' 
     588            IF(lwp) WRITE(numout,*) '           maximum reachable coefficient (at the Equator) = ', zah_max, ' m2/s   for e1=1°)' 
     589            CALL ldf_c2d( 'TRA', zUfac      , inn        , aeiu, aeiv )    ! value proportional to scale factor^inn 
     590            ! 
     591         CASE(  21  )                        !--  time varying 2D field  --! 
     592            IF(lwp) WRITE(numout,*) '   ==>>>   eddy induced velocity coef. = F( latitude, longitude, time )' 
     593            IF(lwp) WRITE(numout,*) '                                       = F( growth rate of baroclinic instability )' 
     594            IF(lwp) WRITE(numout,*) '           maximum allowed value: aei0 = ', aei0, ' m2/s' 
    450595            ! 
    451596            l_ldfeiv_time = .TRUE.     ! will be calculated by call to ldf_tra routine in step.F90 
    452597            ! 
    453          CASE( -30  )      !== fixed 3D shape read in file  ==! 
    454             IF(lwp) WRITE(numout,*) '   ==>>>   tracer mixing coef. = F(i,j,k) read in eddy_diffusivity_3D.nc file' 
     598         CASE( -30  )                        !-- fixed 3D shape read in file  --! 
     599            IF(lwp) WRITE(numout,*) '   ==>>>   eddy induced velocity coef. = F(i,j,k) read in eddy_diffusivity_3D.nc file' 
    455600            CALL iom_open ( 'eddy_induced_velocity_3D.nc', inum ) 
    456601            CALL iom_get  ( inum, jpdom_data, 'aeiu', aeiu ) 
     
    458603            CALL iom_close( inum ) 
    459604            ! 
    460          CASE(  30  )       !==  fixed 3D shape  ==! 
    461             IF(lwp) WRITE(numout,*) '   ==>>>   tracer mixing coef. = F( latitude, longitude, depth )' 
    462             CALL ldf_c2d( 'TRA', 'LAP', rn_aeiv_0, aeiu, aeiv )    ! surface value proportional to scale factor 
    463             !                                                 ! reduction with depth 
    464             CALL ldf_c1d( 'TRA', r1_4, aeiu(:,:,1), aeiv(:,:,1), aeiu, aeiv ) 
     605         CASE(  30  )                        !--  fixed 3D shape  --! 
     606            IF(lwp) WRITE(numout,*) '   ==>>>   eddy induced velocity coef. = F( latitude, longitude, depth )' 
     607            CALL ldf_c2d( 'TRA', zUfac      , inn        , aeiu, aeiv )    ! surface value proportional to scale factor^inn 
     608            CALL ldf_c1d( 'TRA', aeiu(:,:,1), aeiv(:,:,1), aeiu, aeiv )    ! reduction with depth 
    465609            ! 
    466610         CASE DEFAULT 
     
    468612         END SELECT 
    469613         ! 
    470       ELSE 
    471           IF(lwp) WRITE(numout,*) '   ==>>>   eddy induced velocity param is NOT used neither diagnosed' 
    472           ln_ldfeiv_dia = .FALSE. 
     614         IF( .NOT.l_ldfeiv_time ) THEN             !* mask if No time variation  
     615            DO jk = 1, jpkm1 
     616               aeiu(:,:,jk) = aeiu(:,:,jk) * umask(:,:,jk) 
     617               ahtv(:,:,jk) = ahtv(:,:,jk) * vmask(:,:,jk) 
     618            END DO 
     619         ENDIF 
     620         ! 
    473621      ENDIF 
    474622      !                     
     
    493641      INTEGER  ::   ji, jj, jk    ! dummy loop indices 
    494642      REAL(wp) ::   zfw, ze3w, zn2, z1_f20, zaht, zaht_min, zzaei    ! local scalars 
    495       REAL(wp), DIMENSION(jpi,jpj) ::   zn, zah, zhw, zross, zaeiw   ! 2D workspace 
    496       !!---------------------------------------------------------------------- 
    497       ! 
    498       zn   (:,:) = 0._wp      ! Local initialization 
    499       zhw  (:,:) = 5._wp 
    500       zah  (:,:) = 0._wp 
    501       zross(:,:) = 0._wp 
     643      REAL(wp), DIMENSION(jpi,jpj) ::   zn, zah, zhw, zRo, zaeiw   ! 2D workspace 
     644      !!---------------------------------------------------------------------- 
     645      ! 
     646      zn (:,:) = 0._wp        ! Local initialization 
     647      zhw(:,:) = 5._wp 
     648      zah(:,:) = 0._wp 
     649      zRo(:,:) = 0._wp 
    502650      !                       ! Compute lateral diffusive coefficient at T-point 
    503651      IF( ln_traldf_triad ) THEN 
     
    538686            END DO 
    539687         END DO 
    540       END IF 
     688      ENDIF 
    541689 
    542690      DO jj = 2, jpjm1 
    543691         DO ji = fs_2, fs_jpim1   ! vector opt. 
    544692            zfw = MAX( ABS( 2. * omega * SIN( rad * gphit(ji,jj) ) ) , 1.e-10 ) 
    545             ! Rossby radius at w-point taken < 40km and  > 2km 
    546             zross(ji,jj) = MAX( MIN( .4 * zn(ji,jj) / zfw, 40.e3 ), 2.e3 ) 
     693            ! Rossby radius at w-point taken betwenn 2 km and  40km 
     694            zRo(ji,jj) = MAX(  2.e3 , MIN( .4 * zn(ji,jj) / zfw, 40.e3 ) ) 
    547695            ! Compute aeiw by multiplying Ro^2 and T^-1 
    548             zaeiw(ji,jj) = zross(ji,jj) * zross(ji,jj) * SQRT( zah(ji,jj) / zhw(ji,jj) ) * tmask(ji,jj,1) 
     696            zaeiw(ji,jj) = zRo(ji,jj) * zRo(ji,jj) * SQRT( zah(ji,jj) / zhw(ji,jj) ) * tmask(ji,jj,1) 
    549697         END DO 
    550698      END DO 
     
    554702      DO jj = 2, jpjm1 
    555703         DO ji = fs_2, fs_jpim1   ! vector opt. 
    556             zzaei = MIN( 1._wp, ABS( ff_t(ji,jj) * z1_f20 ) ) * zaeiw(ji,jj)       ! tropical decrease 
     704            zzaei = MIN( 1._wp, ABS( ff_t(ji,jj) * z1_f20 ) ) * zaeiw(ji,jj)     ! tropical decrease 
    557705            zaeiw(ji,jj) = MIN( zzaei , paei0 )                                  ! Max value = paei0 
    558706         END DO 
     
    620768         DO jj = 1, jpjm1 
    621769            DO ji = 1, fs_jpim1   ! vector opt. 
    622                zpsi_uw(ji,jj,jk) = - 0.25_wp * e2u(ji,jj) * ( wslpi(ji,jj,jk  ) + wslpi(ji+1,jj,jk) )   & 
    623                   &                                       * ( aeiu (ji,jj,jk-1) + aeiu (ji  ,jj,jk) ) * umask(ji,jj,jk) 
    624                zpsi_vw(ji,jj,jk) = - 0.25_wp * e1v(ji,jj) * ( wslpj(ji,jj,jk  ) + wslpj(ji,jj+1,jk) )   & 
    625                   &                                       * ( aeiv (ji,jj,jk-1) + aeiv (ji,jj  ,jk) ) * vmask(ji,jj,jk) 
     770               zpsi_uw(ji,jj,jk) = - r1_4 * e2u(ji,jj) * ( wslpi(ji,jj,jk  ) + wslpi(ji+1,jj,jk) )   & 
     771                  &                                    * ( aeiu (ji,jj,jk-1) + aeiu (ji  ,jj,jk) ) * umask(ji,jj,jk) 
     772               zpsi_vw(ji,jj,jk) = - r1_4 * e1v(ji,jj) * ( wslpj(ji,jj,jk  ) + wslpj(ji,jj+1,jk) )   & 
     773                  &                                    * ( aeiv (ji,jj,jk-1) + aeiv (ji,jj  ,jk) ) * vmask(ji,jj,jk) 
    626774            END DO 
    627775         END DO 
  • branches/2017/dev_merge_2017/NEMOGCM/NEMO/OPA_SRC/OBS/obs_oper.F90

    r9023 r9490  
    1010   !!   obs_surf_opt :    Compute the model counterpart of surface data 
    1111   !!---------------------------------------------------------------------- 
    12  
    13    !! * Modules used 
    14    USE par_kind, ONLY : &         ! Precision variables 
    15       & wp 
    16    USE in_out_manager             ! I/O manager 
    17    USE obs_inter_sup              ! Interpolation support 
    18    USE obs_inter_h2d, ONLY : &    ! Horizontal interpolation to the obs pt 
    19       & obs_int_h2d, & 
    20       & obs_int_h2d_init 
    21    USE obs_averg_h2d, ONLY : &    ! Horizontal averaging to the obs footprint 
    22       & obs_avg_h2d, & 
    23       & obs_avg_h2d_init, & 
    24       & obs_max_fpsize 
    25    USE obs_inter_z1d, ONLY : &    ! Vertical interpolation to the obs pt 
    26       & obs_int_z1d,    & 
    27       & obs_int_z1d_spl 
    28    USE obs_const,  ONLY :    &    ! Obs fill value 
    29       & obfillflt 
    30    USE dom_oce,       ONLY : & 
    31       & glamt, glamf, & 
    32       & gphit, gphif 
    33    USE lib_mpp,       ONLY : &    ! Warning and stopping routines 
    34       & ctl_warn, ctl_stop 
    35    USE sbcdcy,        ONLY : &    ! For calculation of where it is night-time 
    36       & sbc_dcy, nday_qsr 
    37    USE obs_grid,      ONLY : &  
    38       & obs_level_search      
     12   USE obs_inter_sup                                        ! Interpolation support 
     13   USE obs_inter_h2d, ONLY : obs_int_h2d, obs_int_h2d_init  ! Horizontal interpolation to the obs pt 
     14   USE obs_averg_h2d, ONLY : obs_avg_h2d, obs_avg_h2d_init, obs_max_fpsize    ! Horizontal averaging to the obs footprint 
     15   USE obs_inter_z1d, ONLY : obs_int_z1d, obs_int_z1d_spl   ! Vertical interpolation to the obs pt 
     16   USE obs_const    , ONLY : obfillflt                      ! Obs fill value 
     17   USE dom_oce,       ONLY :   glamt, glamf, gphit, gphif   ! lat/lon of ocean grid-points 
     18   USE lib_mpp,       ONLY :   ctl_warn, ctl_stop           ! Warning and stopping routines 
     19   USE sbcdcy,        ONLY :   sbc_dcy, nday_qsr            ! For calculation of where it is night-time 
     20   USE obs_grid,      ONLY :   obs_level_search      
     21   ! 
     22   USE par_kind     , ONLY :   wp   ! Precision variables 
     23   USE in_out_manager               ! I/O manager 
    3924 
    4025   IMPLICIT NONE 
    41  
    42    !! * Routine accessibility 
    4326   PRIVATE 
    4427 
    45    PUBLIC obs_prof_opt, &  ! Compute the model counterpart of profile obs 
    46       &   obs_surf_opt     ! Compute the model counterpart of surface obs 
    47  
    48    INTEGER, PARAMETER, PUBLIC :: & 
    49       & imaxavtypes = 20   ! Max number of daily avgd obs types 
     28   PUBLIC   obs_prof_opt   !: Compute the model counterpart of profile obs 
     29   PUBLIC   obs_surf_opt   !: Compute the model counterpart of surface obs 
     30 
     31   INTEGER, PARAMETER, PUBLIC ::   imaxavtypes = 20   !: Max number of daily avgd obs types 
    5032 
    5133   !!---------------------------------------------------------------------- 
    52    !! NEMO/OPA 3.3 , NEMO Consortium (2010) 
     34   !! NEMO/OPA 4.0 , NEMO Consortium (2018) 
    5335   !! $Id$ 
    5436   !! Software governed by the CeCILL licence (NEMOGCM/NEMO_CeCILL.txt) 
    5537   !!---------------------------------------------------------------------- 
    56  
    5738CONTAINS 
    58  
    5939 
    6040   SUBROUTINE obs_prof_opt( prodatqc, kt, kpi, kpj, kpk,          & 
     
    6444      &                     plam1, plam2, pphi1, pphi2,           & 
    6545      &                     k1dint, k2dint, kdailyavtypes ) 
    66  
    6746      !!----------------------------------------------------------------------- 
    68       !! 
    6947      !!                     ***  ROUTINE obs_pro_opt  *** 
    7048      !! 
     
    11492      !!      ! 17-02 (M. Martin) Include generalised vertical coordinate changes 
    11593      !!----------------------------------------------------------------------- 
    116  
    117       !! * Modules used 
    11894      USE obs_profiles_def ! Definition of storage space for profile obs. 
    11995 
    12096      IMPLICIT NONE 
    12197 
    122       !! * Arguments 
    123       TYPE(obs_prof), INTENT(INOUT) :: & 
    124          & prodatqc                  ! Subset of profile data passing QC 
    125       INTEGER, INTENT(IN) :: kt      ! Time step 
    126       INTEGER, INTENT(IN) :: kpi     ! Model grid parameters 
    127       INTEGER, INTENT(IN) :: kpj 
    128       INTEGER, INTENT(IN) :: kpk 
    129       INTEGER, INTENT(IN) :: kit000  ! Number of the first time step 
    130                                      !   (kit000-1 = restart time) 
    131       INTEGER, INTENT(IN) :: k1dint  ! Vertical interpolation type (see header) 
    132       INTEGER, INTENT(IN) :: k2dint  ! Horizontal interpolation type (see header) 
    133       INTEGER, INTENT(IN) :: kdaystp ! Number of time steps per day 
    134       REAL(KIND=wp), INTENT(IN), DIMENSION(kpi,kpj,kpk) :: & 
    135          & pvar1,    &               ! Model field 1 
    136          & pvar2,    &               ! Model field 2 
    137          & pmask1,   &               ! Land-sea mask 1 
    138          & pmask2                    ! Land-sea mask 2 
    139       REAL(KIND=wp), INTENT(IN), DIMENSION(kpi,kpj) :: & 
    140          & plam1,    &               ! Model longitudes for variable 1 
    141          & plam2,    &               ! Model longitudes for variable 2 
    142          & pphi1,    &               ! Model latitudes for variable 1 
    143          & pphi2                     ! Model latitudes for variable 2 
    144       REAL(KIND=wp), INTENT(IN), DIMENSION(kpi,kpj,kpk) :: &  
    145          & pgdept, &                 ! Model array of depth T levels  
    146          & pgdepw                    ! Model array of depth W levels  
    147       INTEGER, DIMENSION(imaxavtypes), OPTIONAL :: & 
    148          & kdailyavtypes             ! Types for daily averages 
     98      TYPE(obs_prof), INTENT(inout) ::   prodatqc        ! Subset of profile data passing QC 
     99      INTEGER       , INTENT(in   ) ::   kt              ! Time step 
     100      INTEGER       , INTENT(in   ) ::   kpi, kpj, kpk   ! Model grid parameters 
     101      INTEGER       , INTENT(in   ) ::   kit000          ! Number of the first time step (kit000-1 = restart time) 
     102      INTEGER       , INTENT(in   ) ::   k1dint          ! Vertical interpolation type (see header) 
     103      INTEGER       , INTENT(in   ) ::   k2dint          ! Horizontal interpolation type (see header) 
     104      INTEGER       , INTENT(in   ) ::   kdaystp         ! Number of time steps per day 
     105      REAL(KIND=wp) , INTENT(in   ), DIMENSION(kpi,kpj,kpk) ::   pvar1 , pvar2    ! Model field     1 and 2 
     106      REAL(KIND=wp) , INTENT(in   ), DIMENSION(kpi,kpj,kpk) ::   pmask1, pmask2   ! Land-sea mask   1 and 2 
     107      REAL(KIND=wp) , INTENT(in   ), DIMENSION(kpi,kpj)     ::   plam1 , plam2    ! Model longitude 1 and 2 
     108      REAL(KIND=wp) , INTENT(in   ), DIMENSION(kpi,kpj)     ::   pphi1 , pphi2    ! Model latitudes 1 and 2 
     109      REAL(KIND=wp) , INTENT(in   ), DIMENSION(kpi,kpj,kpk) ::   pgdept, pgdepw   ! depth of T and W levels  
     110      INTEGER, DIMENSION(imaxavtypes), OPTIONAL ::   kdailyavtypes             ! Types for daily averages 
    149111 
    150112      !! * Local declarations 
     
    706668      !!      ! 17-03 (M. Martin) Added horizontal averaging options 
    707669      !!----------------------------------------------------------------------- 
    708  
    709       !! * Modules used 
    710670      USE obs_surf_def  ! Definition of storage space for surface observations 
    711671 
    712672      IMPLICIT NONE 
    713673 
    714       !! * Arguments 
    715674      TYPE(obs_surf), INTENT(INOUT) :: & 
    716675         & surfdataqc                  ! Subset of surface data passing QC 
     
    866825         DO ji = 0, imaxifp 
    867826            imodi = surfdataqc%mi(jobs) - int(imaxifp/2) + ji - 1 
    868              
     827            ! 
    869828            !Deal with wrap around in longitude 
    870829            IF ( imodi < 1      ) imodi = imodi + jpiglo 
    871830            IF ( imodi > jpiglo ) imodi = imodi - jpiglo 
    872              
     831            ! 
    873832            DO jj = 0, imaxjfp 
    874833               imodj = surfdataqc%mj(jobs) - int(imaxjfp/2) + jj - 1 
     
    877836               IF ( imodj < 1      ) imodj = 1 
    878837               IF ( imodj > jpjglo ) imodj = jpjglo 
    879  
     838               ! 
    880839               igrdip1(ji+1,jj+1,iobs) = imodi 
    881840               igrdjp1(ji+1,jj+1,iobs) = imodj 
    882                 
     841               ! 
    883842               IF ( ji >= 1 .AND. jj >= 1 ) THEN 
    884843                  igrdi(ji,jj,iobs) = imodi 
    885844                  igrdj(ji,jj,iobs) = imodj 
    886845               ENDIF 
    887                 
     846               ! 
    888847            END DO 
    889848         END DO 
     
    1010969            & ) 
    1011970      ENDIF 
    1012  
     971      ! 
    1013972      surfdataqc%nsurfup = surfdataqc%nsurfup + isurf 
    1014  
     973      ! 
    1015974   END SUBROUTINE obs_surf_opt 
    1016975 
     976   !!====================================================================== 
    1017977END MODULE obs_oper 
  • branches/2017/dev_merge_2017/NEMOGCM/NEMO/OPA_SRC/OBS/obs_prep.F90

    r9023 r9490  
    108108      imin0 = ( nn_time0 - ihou0 * 100 ) 
    109109 
    110       icycle = no     ! Assimilation cycle 
     110      icycle = nn_no     ! Assimilation cycle 
    111111 
    112112      ! Diagnotics counters for various failures. 
     
    339339      imin0 = ( nn_time0 - ihou0 * 100 ) 
    340340 
    341       icycle = no     ! Assimilation cycle 
     341      icycle = nn_no     ! Assimilation cycle 
    342342 
    343343      ! Diagnotics counters for various failures. 
    344344 
    345       iotdobs  = 0 
    346       igrdobs  = 0 
     345      iotdobs   = 0 
     346      igrdobs   = 0 
    347347      iosdv1obs = 0 
    348348      iosdv2obs = 0 
     
    884884      !!        !  2007-01  (K. Mogensen)  Original 
    885885      !!---------------------------------------------------------------------- 
    886       !! * Arguments 
    887886      INTEGER, INTENT(IN) :: kobsno        ! Number of observations 
    888887      INTEGER, DIMENSION(kobsno), INTENT(IN ) :: & 
     
    924923      !! ** Action  :  
    925924      !!    
    926       !! History : 
    927       !!        !  2007-03  (A. Weaver, K. Mogensen)  Original 
    928       !!        !  2007-06  (K. Mogensen et al) Reject obs. near land. 
    929       !!---------------------------------------------------------------------- 
    930       !! * Modules used 
    931  
    932       !! * Arguments 
    933       INTEGER, INTENT(IN) :: kobsno    ! Total number of observations 
    934       INTEGER, INTENT(IN) :: kpi       ! Number of grid points in (i,j) 
    935       INTEGER, INTENT(IN) :: kpj 
    936       INTEGER, DIMENSION(kobsno), INTENT(IN) :: & 
    937          & kobsi, &           ! Observation (i,j) coordinates 
    938          & kobsj 
    939       REAL(KIND=wp), DIMENSION(kobsno), INTENT(IN) :: & 
    940          & pobslam, &         ! Observation (lon,lat) coordinates 
    941          & pobsphi 
    942       REAL(KIND=wp), DIMENSION(kpi,kpj), INTENT(IN) :: & 
    943          & plam, pphi         ! Model (lon,lat) coordinates 
    944       REAL(KIND=wp), DIMENSION(kpi,kpj), INTENT(IN) :: & 
    945          & pmask              ! Land mask array 
    946       INTEGER, DIMENSION(kobsno), INTENT(INOUT) :: & 
    947          & kobsqc             ! Observation quality control 
    948       INTEGER, INTENT(INOUT) :: kosdobs          ! Observations outside space domain 
    949       INTEGER, INTENT(INOUT) :: klanobs          ! Observations within a model land cell 
    950       INTEGER, INTENT(INOUT) :: knlaobs          ! Observations near land 
    951       INTEGER, INTENT(INOUT) :: kbdyobs          ! Observations near boundary 
    952       LOGICAL, INTENT(IN)    :: ld_nea           ! Flag observations near land 
    953       LOGICAL, INTENT(IN)    :: ld_bound_reject  ! Flag observations near open boundary  
    954       INTEGER, INTENT(IN)    :: kqc_cutoff       ! Cutoff QC value 
    955  
    956       !! * Local declarations 
    957       REAL(KIND=wp), DIMENSION(2,2,kobsno) :: & 
    958          & zgmsk              ! Grid mask 
    959  
    960       REAL(KIND=wp), DIMENSION(2,2,kobsno) :: & 
    961          & zbmsk              ! Boundary mask 
    962       REAL(KIND=wp), DIMENSION(jpi,jpj) :: zbdymask 
    963       REAL(KIND=wp), DIMENSION(2,2,kobsno) :: & 
    964          & zglam, &           ! Model longitude at grid points 
    965          & zgphi              ! Model latitude at grid points 
    966       INTEGER, DIMENSION(2,2,kobsno) :: & 
    967          & igrdi, &           ! Grid i,j 
    968          & igrdj 
    969       LOGICAL :: lgridobs           ! Is observation on a model grid point. 
    970       INTEGER :: iig, ijg           ! i,j of observation on model grid point. 
    971       INTEGER :: jobs, ji, jj 
     925      !! History :  2007-03  (A. Weaver, K. Mogensen)  Original 
     926      !!         !  2007-06  (K. Mogensen et al) Reject obs. near land. 
     927      !!---------------------------------------------------------------------- 
     928      INTEGER , INTENT(in   )                     ::   kobsno            ! Total number of observations 
     929      INTEGER , INTENT(in   )                     ::   kpi    , kpj      ! Number of grid points in (i,j) 
     930      INTEGER , INTENT(in   ), DIMENSION(kobsno)  ::   kobsi  , kobsj    ! Observation (i,j) coordinates 
     931      REAL(wp), INTENT(in   ), DIMENSION(kobsno)  ::   pobslam, pobsphi  ! Observation (lon,lat) coordinates 
     932      REAL(wp), INTENT(in   ), DIMENSION(kpi,kpj) ::   plam   , pphi     ! Model (lon,lat) coordinates 
     933      REAL(wp), INTENT(in   ), DIMENSION(kpi,kpj) ::   pmask             ! Land mask array 
     934      INTEGER , INTENT(inout), DIMENSION(kobsno)  ::   kobsqc            ! Observation quality control 
     935      INTEGER , INTENT(inout)                     ::   kosdobs           ! Observations outside space domain 
     936      INTEGER , INTENT(inout)                     ::   klanobs           ! Observations within a model land cell 
     937      INTEGER , INTENT(inout)                     ::   knlaobs           ! Observations near land 
     938      INTEGER , INTENT(inout)                     ::   kbdyobs           ! Observations near boundary 
     939      LOGICAL , INTENT(in   )                     ::   ld_nea            ! Flag observations near land 
     940      LOGICAL , INTENT(in   )                     ::   ld_bound_reject   ! Flag observations near open boundary  
     941      INTEGER , INTENT(in   )                     ::   kqc_cutoff        ! Cutoff QC value 
     942      ! 
     943      REAL(KIND=wp), DIMENSION(2,2,kobsno) ::   zgmsk          ! Grid mask 
     944      REAL(KIND=wp), DIMENSION(2,2,kobsno) ::   zbmsk          ! Boundary mask 
     945      REAL(KIND=wp), DIMENSION(jpi,jpj)    ::   zbdymask 
     946      REAL(KIND=wp), DIMENSION(2,2,kobsno) ::   zglam, zgphi   ! Model Lon/lat at grid points 
     947      INTEGER      , DIMENSION(2,2,kobsno) ::   igrdi, igrdj   ! Grid i,j 
     948      LOGICAL ::   lgridobs           ! Is observation on a model grid point. 
     949      INTEGER ::   iig, ijg           ! i,j of observation on model grid point. 
     950      INTEGER ::   jobs, ji, jj 
     951      !!---------------------------------------------------------------------- 
    972952       
    973953      ! Get grid point indices 
     
    11001080            ENDIF 
    11011081         ENDIF 
    1102              
     1082         ! 
    11031083      END DO 
    1104  
     1084      ! 
    11051085   END SUBROUTINE obs_coo_spc_2d 
     1086 
    11061087 
    11071088   SUBROUTINE obs_coo_spc_3d( kprofno, kobsno,  kpstart, kpend, & 
     
    11981179      INTEGER :: iig, ijg           ! i,j of observation on model grid point. 
    11991180      INTEGER :: jobs, jobsp, jk, ji, jj 
     1181      !!---------------------------------------------------------------------- 
    12001182 
    12011183      ! Get grid point indices 
     
    13591341               ENDIF 
    13601342            ENDIF 
    1361              
     1343            ! 
    13621344         END DO 
    13631345      END DO 
    1364  
     1346      ! 
    13651347   END SUBROUTINE obs_coo_spc_3d 
     1348 
    13661349 
    13671350   SUBROUTINE obs_pro_rej( profdata, kqc_cutoff ) 
     
    13771360      !! References : 
    13781361      !!    
    1379       !! History : 
    1380       !!        !  2007-10  (K. Mogensen) Original code 
    1381       !!---------------------------------------------------------------------- 
    1382       !! * Modules used 
    1383       !! * Arguments 
    1384       TYPE(obs_prof), INTENT(INOUT) :: profdata     ! Profile data 
    1385       INTEGER, INTENT(IN) :: kqc_cutoff             ! QC cutoff value 
    1386  
    1387       !! * Local declarations 
     1362      !! History :   2007-10  (K. Mogensen) Original code 
     1363      !!---------------------------------------------------------------------- 
     1364      TYPE(obs_prof), INTENT(inout) ::   profdata     ! Profile data 
     1365      INTEGER       , INTENT(in   ) ::   kqc_cutoff   ! QC cutoff value 
     1366      ! 
    13881367      INTEGER :: jprof 
    13891368      INTEGER :: jvar 
    13901369      INTEGER :: jobs 
     1370      !!---------------------------------------------------------------------- 
    13911371       
    13921372      ! Loop over profiles 
     
    14111391 
    14121392      END DO 
    1413  
     1393      ! 
    14141394   END SUBROUTINE obs_pro_rej 
     1395 
    14151396 
    14161397   SUBROUTINE obs_uv_rej( profdata, knumu, knumv, kqc_cutoff ) 
     
    14261407      !! References : 
    14271408      !!    
    1428       !! History : 
    1429       !!        !  2009-2  (K. Mogensen) Original code 
    1430       !!---------------------------------------------------------------------- 
    1431       !! * Modules used 
    1432       !! * Arguments 
     1409      !! History :   2009-2  (K. Mogensen) Original code 
     1410      !!---------------------------------------------------------------------- 
    14331411      TYPE(obs_prof), INTENT(INOUT) :: profdata   ! Profile data 
    14341412      INTEGER, INTENT(INOUT) :: knumu             ! Number of u rejected 
    14351413      INTEGER, INTENT(INOUT) :: knumv             ! Number of v rejected 
    14361414      INTEGER, INTENT(IN) :: kqc_cutoff           ! QC cutoff value 
    1437  
    1438       !! * Local declarations 
     1415      ! 
    14391416      INTEGER :: jprof 
    14401417      INTEGER :: jvar 
    14411418      INTEGER :: jobs 
    1442        
    1443       ! Loop over profiles 
    1444  
    1445       DO jprof = 1, profdata%nprof 
    1446  
     1419      !!---------------------------------------------------------------------- 
     1420 
     1421      DO jprof = 1, profdata%nprof      !==  Loop over profiles  ==! 
     1422         ! 
    14471423         IF ( ( profdata%npvsta(jprof,1) /= profdata%npvsta(jprof,2) ) .OR. & 
    14481424            & ( profdata%npvend(jprof,1) /= profdata%npvend(jprof,2) ) ) THEN 
    1449  
     1425            ! 
    14501426            CALL ctl_stop('U,V profiles inconsistent in obs_uv_rej') 
    14511427            RETURN 
    1452  
    1453          ENDIF 
    1454  
     1428            ! 
     1429         ENDIF 
     1430         ! 
    14551431         DO jobs = profdata%npvsta(jprof,1), profdata%npvend(jprof,1) 
    1456              
     1432             
    14571433            IF ( ( profdata%var(1)%nvqc(jobs) >  kqc_cutoff ) .AND. & 
    14581434               & ( profdata%var(2)%nvqc(jobs) <=  kqc_cutoff) ) THEN 
     
    14651441               knumu = knumu + 1 
    14661442            ENDIF 
    1467              
     1443            ! 
    14681444         END DO 
    1469              
     1445         ! 
    14701446      END DO 
    1471  
     1447      ! 
    14721448   END SUBROUTINE obs_uv_rej 
    14731449 
     1450   !!===================================================================== 
    14741451END MODULE obs_prep 
  • branches/2017/dev_merge_2017/NEMOGCM/NEMO/OPA_SRC/TRA/tradmp.F90

    r9168 r9490  
    197197      ENDIF 
    198198      ! 
    199       IF( ln_tradmp) THEN 
     199      IF( ln_tradmp ) THEN 
    200200         !                          ! Allocate arrays 
    201201         IF( tra_dmp_alloc() /= 0 )   CALL ctl_stop( 'STOP', 'tra_dmp_init: unable to allocate arrays' ) 
     
    212212         !    so can damp to something other than intitial conditions files? 
    213213         !!gm: In principle yes. Nevertheless, we can't anticipate demands that have never been formulated. 
    214          IF( .NOT.ln_tsd_tradmp ) THEN 
     214         IF( .NOT.ln_tsd_dmp ) THEN 
    215215            IF(lwp) WRITE(numout,*) 
    216             IF(lwp) WRITE(numout, *)  '   read T-S data not initialized, we force ln_tsd_tradmp=T' 
     216            IF(lwp) WRITE(numout, *)  '   read T-S data not initialized, we force ln_tsd_dmp=T' 
    217217            CALL dta_tsd_init( ld_tradmp=ln_tradmp )        ! forces the initialisation of T-S data 
    218218         ENDIF 
  • branches/2017/dev_merge_2017/NEMOGCM/NEMO/OPA_SRC/TRA/traldf.F90

    r9190 r9490  
    3737   PUBLIC   tra_ldf        ! called by step.F90  
    3838   PUBLIC   tra_ldf_init   ! called by nemogcm.F90  
    39    ! 
    40    INTEGER ::   nldf = 0   ! type of lateral diffusion used defined from ln_traldf_... (namlist logicals) 
    4139    
    4240   !! * Substitutions 
    4341#  include "vectopt_loop_substitute.h90" 
    4442   !!---------------------------------------------------------------------- 
    45    !! NEMO/OPA 3.7 , NEMO Consortium (2015) 
     43   !! NEMO/OPA 4.0 , NEMO Consortium (2018) 
    4644   !! $Id$  
    4745   !! Software governed by the CeCILL licence     (NEMOGCM/NEMO_CeCILL.txt) 
     
    6866      ENDIF 
    6967      ! 
    70       SELECT CASE ( nldf )                     !* compute lateral mixing trend and add it to the general trend 
     68      SELECT CASE ( nldf_tra )                 !* compute lateral mixing trend and add it to the general trend 
    7169      CASE ( np_lap   )                                  ! laplacian: iso-level operator 
    7270         CALL tra_ldf_lap  ( kt, nit000,'TRA', ahtu, ahtv, gtsu, gtsv, gtui, gtvi, tsb,      tsa, jpts,  1   ) 
     
    7674         CALL tra_ldf_triad( kt, nit000,'TRA', ahtu, ahtv, gtsu, gtsv, gtui, gtvi, tsb, tsb, tsa, jpts,  1   ) 
    7775      CASE ( np_blp , np_blp_i , np_blp_it )             ! bilaplacian: iso-level & iso-neutral operators 
    78          CALL tra_ldf_blp  ( kt, nit000,'TRA', ahtu, ahtv, gtsu, gtsv, gtui, gtvi, tsb      , tsa, jpts, nldf ) 
     76         CALL tra_ldf_blp  ( kt, nit000,'TRA', ahtu, ahtv, gtsu, gtsv, gtui, gtvi, tsb      , tsa, jpts, nldf_tra ) 
    7977      END SELECT 
    8078      ! 
     
    10199      !! ** Purpose :   Choice of the operator for the lateral tracer diffusion 
    102100      !! 
    103       !! ** Method  :   set nldf from the namtra_ldf logicals 
     101      !! ** Method  :   set nldf_tra from the namtra_ldf logicals 
    104102      !!---------------------------------------------------------------------- 
    105103      INTEGER ::   ioptio, ierr   ! temporary integers  
     
    112110         WRITE(numout,*) '   Namelist namtra_ldf: already read in ldftra module' 
    113111         WRITE(numout,*) '      see ldf_tra_init report for lateral mixing parameters' 
    114       ENDIF 
    115       !                                !==  use of lateral operator or not  ==! 
    116       nldf   = np_ERROR 
    117       ioptio = 0 
    118       IF( ln_traldf_NONE ) THEN   ;   nldf = np_no_ldf   ;   ioptio = ioptio + 1   ;   ENDIF 
    119       IF( ln_traldf_lap  ) THEN   ;                          ioptio = ioptio + 1   ;   ENDIF 
    120       IF( ln_traldf_blp  ) THEN   ;                          ioptio = ioptio + 1   ;   ENDIF 
    121       IF( ioptio /=  1   )   CALL ctl_stop( 'tra_ldf_init: use ONE of the 3 operator options (NONE/lap/blp)' ) 
    122       ! 
    123       IF( .NOT.ln_traldf_NONE ) THEN   !==  direction ==>> type of operator  ==! 
    124          ioptio = 0 
    125          IF( ln_traldf_lev )   ioptio = ioptio + 1 
    126          IF( ln_traldf_hor )   ioptio = ioptio + 1 
    127          IF( ln_traldf_iso )   ioptio = ioptio + 1 
    128          IF( ioptio /=  1  )   CALL ctl_stop( 'tra_ldf_init: use ONE direction (level/hor/iso)' ) 
     112         WRITE(numout,*) 
    129113         ! 
    130          !                                ! defined the type of lateral diffusion from ln_traldf_... logicals 
    131          ierr = 0 
    132          IF( ln_traldf_lap ) THEN         ! laplacian operator 
    133             IF ( ln_zco ) THEN               ! z-coordinate 
    134                IF ( ln_traldf_lev   )   nldf = np_lap     ! iso-level = horizontal (no rotation) 
    135                IF ( ln_traldf_hor   )   nldf = np_lap     ! iso-level = horizontal (no rotation) 
    136                IF ( ln_traldf_iso   )   nldf = np_lap_i   ! iso-neutral: standard  (   rotation) 
    137                IF ( ln_traldf_triad )   nldf = np_lap_it  ! iso-neutral: triad     (   rotation) 
    138             ENDIF 
    139             IF ( ln_zps ) THEN               ! z-coordinate with partial step 
    140                IF ( ln_traldf_lev   )   ierr = 1          ! iso-level not allowed  
    141                IF ( ln_traldf_hor   )   nldf = np_lap     ! horizontal             (no rotation) 
    142                IF ( ln_traldf_iso   )   nldf = np_lap_i   ! iso-neutral: standard     (rotation) 
    143                IF ( ln_traldf_triad )   nldf = np_lap_it  ! iso-neutral: triad        (rotation) 
    144             ENDIF 
    145             IF ( ln_sco ) THEN               ! s-coordinate 
    146                IF ( ln_traldf_lev   )   nldf = np_lap     ! iso-level              (no rotation) 
    147                IF ( ln_traldf_hor   )   nldf = np_lap_i   ! horizontal             (   rotation) 
    148                IF ( ln_traldf_iso   )   nldf = np_lap_i   ! iso-neutral: standard  (   rotation) 
    149                IF ( ln_traldf_triad )   nldf = np_lap_it  ! iso-neutral: triad     (   rotation) 
    150             ENDIF 
    151          ENDIF 
    152          ! 
    153          IF( ln_traldf_blp ) THEN         ! bilaplacian operator 
    154             IF ( ln_zco ) THEN               ! z-coordinate 
    155                IF ( ln_traldf_lev   )   nldf = np_blp     ! iso-level = horizontal (no rotation) 
    156                IF ( ln_traldf_hor   )   nldf = np_blp     ! iso-level = horizontal (no rotation) 
    157                IF ( ln_traldf_iso   )   nldf = np_blp_i   ! iso-neutral: standard  (   rotation) 
    158                IF ( ln_traldf_triad )   nldf = np_blp_it  ! iso-neutral: triad     (   rotation) 
    159             ENDIF 
    160             IF ( ln_zps ) THEN               ! z-coordinate with partial step 
    161                IF ( ln_traldf_lev   )   ierr = 1          ! iso-level not allowed  
    162                IF ( ln_traldf_hor   )   nldf = np_blp     ! horizontal             (no rotation) 
    163                IF ( ln_traldf_iso   )   nldf = np_blp_i   ! iso-neutral: standard  (   rotation) 
    164                IF ( ln_traldf_triad )   nldf = np_blp_it  ! iso-neutral: triad     (   rotation) 
    165             ENDIF 
    166             IF ( ln_sco ) THEN               ! s-coordinate 
    167                IF ( ln_traldf_lev   )   nldf = np_blp     ! iso-level              (no rotation) 
    168                IF ( ln_traldf_hor   )   nldf = np_blp_it  ! horizontal             (   rotation) 
    169                IF ( ln_traldf_iso   )   nldf = np_blp_i   ! iso-neutral: standard  (   rotation) 
    170                IF ( ln_traldf_triad )   nldf = np_blp_it  ! iso-neutral: triad     (   rotation) 
    171             ENDIF 
    172          ENDIF 
    173          IF( ierr == 1 )   CALL ctl_stop( 'iso-level in z-partial step, not allowed' ) 
    174       ENDIF 
    175       ! 
    176       IF( ln_ldfeiv .AND. .NOT.( ln_traldf_iso .OR. ln_traldf_triad ) )                                    & 
    177            &            CALL ctl_stop( 'eddy induced velocity on tracers requires iso-neutral laplacian diffusion' ) 
    178       IF( ln_isfcav .AND. ln_traldf_triad ) & 
    179            &            CALL ctl_stop( ' ice shelf cavity and traldf_triad not tested' ) 
    180            ! 
    181       IF(  nldf == np_lap_i .OR. nldf == np_lap_it .OR. & 
    182          & nldf == np_blp_i .OR. nldf == np_blp_it  )   l_ldfslp = .TRUE.    ! slope of neutral surfaces required  
    183       ! 
    184       IF(lwp) THEN 
    185          WRITE(numout,*) 
    186          SELECT CASE( nldf ) 
     114         SELECT CASE( nldf_tra )             ! print the choice of operator 
    187115         CASE( np_no_ldf )   ;   WRITE(numout,*) '   ==>>>   NO lateral diffusion' 
    188116         CASE( np_lap    )   ;   WRITE(numout,*) '   ==>>>   laplacian iso-level operator' 
  • branches/2017/dev_merge_2017/NEMOGCM/NEMO/OPA_SRC/TRA/traldf_lap_blp.F90

    r9124 r9490  
    3333   PUBLIC   tra_ldf_blp   ! called by traldf.F90 
    3434 
    35    !                      ! Flag to control the type of lateral diffusive operator 
    36    INTEGER, PARAMETER, PUBLIC ::   np_ERROR  =-10   ! error in specification of lateral diffusion 
    37    INTEGER, PARAMETER, PUBLIC ::   np_no_ldf = 00   ! without operator (i.e. no lateral diffusive trend) 
    38    !                          !!      laplacian     !    bilaplacian    ! 
    39    INTEGER, PARAMETER, PUBLIC ::   np_lap    = 10   ,   np_blp    = 20  ! iso-level operator 
    40    INTEGER, PARAMETER, PUBLIC ::   np_lap_i  = 11   ,   np_blp_i  = 21  ! standard iso-neutral or geopotential operator 
    41    INTEGER, PARAMETER, PUBLIC ::   np_lap_it = 12   ,   np_blp_it = 22  ! triad    iso-neutral or geopotential operator 
    42  
    4335   LOGICAL  ::   l_ptr   ! flag to compute poleward transport 
    4436   LOGICAL  ::   l_hst   ! flag to compute heat transport 
  • branches/2017/dev_merge_2017/NEMOGCM/NEMO/OPA_SRC/nemogcm.F90

    r9436 r9490  
    234234      INTEGER  ::   ji                 ! dummy loop indices 
    235235      INTEGER  ::   ios, ilocal_comm   ! local integers 
    236       CHARACTER(len=120), DIMENSION(30) ::   cltxt, cltxt2, clnam 
     236      CHARACTER(len=120), DIMENSION(60) ::   cltxt, cltxt2, clnam 
    237237      !! 
    238238      NAMELIST/namctl/ ln_ctl   , nn_print, nn_ictls, nn_ictle,   & 
  • branches/2017/dev_merge_2017/NEMOGCM/NEMO/OPA_SRC/step.F90

    r9485 r9490  
    122122 
    123123      !>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
    124       ! Ocean physics update                (ua, va, tsa used as workspace) 
     124      ! Ocean physics update 
    125125      !<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 
    126126      !  THERMODYNAMICS 
     
    208208       
    209209      !>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
    210       ! diagnostics and outputs             (ua, va, tsa used as workspace) 
    211       !<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 
    212       IF( lk_floats  )   CALL flo_stp( kstp )         ! drifting Floats 
    213       IF( ln_diacfl  )   CALL dia_cfl( kstp )         ! Courant number diagnostics 
    214       IF( lk_diahth  )   CALL dia_hth( kstp )         ! Thermocline depth (20 degres isotherm depth) 
    215       IF( lk_diadct  )   CALL dia_dct( kstp )         ! Transports 
    216                          CALL dia_ar5( kstp )         ! ar5 diag 
     210      ! diagnostics and outputs 
     211      !<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 
     212      IF( lk_floats  )   CALL flo_stp ( kstp )        ! drifting Floats 
     213      IF( ln_diacfl  )   CALL dia_cfl ( kstp )        ! Courant number diagnostics 
     214      IF( lk_diahth  )   CALL dia_hth ( kstp )        ! Thermocline depth (20 degres isotherm depth) 
     215      IF( lk_diadct  )   CALL dia_dct ( kstp )        ! Transports 
     216                         CALL dia_ar5 ( kstp )        ! ar5 diag 
    217217      IF( lk_diaharm )   CALL dia_harm( kstp )        ! Tidal harmonic analysis 
    218                          CALL dia_wri( kstp )         ! ocean model: outputs 
     218                         CALL dia_wri ( kstp )        ! ocean model: outputs 
    219219      ! 
    220220      IF( ln_crs     )   CALL crs_fld       ( kstp )  ! ocean model: online field coarsening & output 
  • branches/2017/dev_merge_2017/NEMOGCM/NEMO/TOP_SRC/TRP/trcldf.F90

    r9169 r9490  
    3333   PUBLIC   trc_ldf_ini    
    3434   ! 
    35    LOGICAL , PUBLIC ::   ln_trcldf_NONE      !: No operator (no explicit lateral diffusion) 
    36    LOGICAL , PUBLIC ::   ln_trcldf_lap       !:   laplacian operator 
    37    LOGICAL , PUBLIC ::   ln_trcldf_blp       !: bilaplacian operator 
    38    LOGICAL , PUBLIC ::   ln_trcldf_lev       !: iso-level   direction 
    39    LOGICAL , PUBLIC ::   ln_trcldf_hor       !: horizontal  direction (rotation to geopotential) 
    40    LOGICAL , PUBLIC ::   ln_trcldf_iso       !: iso-neutral direction (standard) 
    41    LOGICAL , PUBLIC ::   ln_trcldf_triad     !: iso-neutral direction (triad) 
    42    REAL(wp), PUBLIC ::   rn_ahtrc_0          !:   laplacian diffusivity coefficient for passive tracer [m2/s] 
    43    REAL(wp), PUBLIC ::   rn_bhtrc_0          !: bilaplacian      -          --     -       -   [m4/s] 
    44    REAL(wp), PUBLIC ::   rn_fact_lap         !: Enhanced zonal diffusivity coefficent in the equatorial domain 
     35   !                                      !!: ** lateral mixing namelist (nam_trcldf) ** 
     36   LOGICAL , PUBLIC ::   ln_trcldf_NONE    !: No operator (no explicit lateral diffusion) 
     37   LOGICAL , PUBLIC ::   ln_trcldf_tra     !: use active tracer operator 
     38   REAL(wp), PUBLIC ::      rn_ldf_multi      !: multiplier of T-S eddy diffusivity to obtain the passive tracer one 
     39   REAL(wp), PUBLIC ::      rn_fact_lap       !: enhanced Equatorial zonal diffusivity coefficent 
    4540   ! 
    46    !                      !!: ** lateral mixing namelist (nam_trcldf) ** 
    47    REAL(wp) ::  rldf       ! ratio between active and passive tracers diffusive coefficient 
    48     
    49    INTEGER  ::  nldf       ! type of lateral diffusion used defined from ln_trcldf_... namlist logicals) 
     41   INTEGER  ::   nldf_trc = 0   ! type of lateral diffusion used defined from ln_traldf_... (namlist logicals) 
     42   REAL(wp) ::   rldf           ! multiplier between active and passive tracers eddy diffusivity   [-] 
    5043    
    5144   !! * Substitutions 
     
    7467      !!---------------------------------------------------------------------- 
    7568      ! 
     69      IF( ln_trcldf_NONE )   RETURN       ! not lateral diffusion applied on passive tracers 
     70      ! 
    7671      IF( ln_timing )   CALL timing_start('trc_ldf') 
    7772      ! 
     
    9590      END DO 
    9691      ! 
    97       SELECT CASE ( nldf )                     !* compute lateral mixing trend and add it to the general trend 
     92      SELECT CASE ( nldf_trc )                 !* compute lateral mixing trend and add it to the general trend 
    9893      ! 
    9994      CASE ( np_lap   )                               ! iso-level laplacian 
    100          CALL tra_ldf_lap  ( kt, nittrc000,'TRC', zahu, zahv, gtru, gtrv, gtrui, gtrvi, trb,      tra, jptra,  1   ) 
     95         CALL tra_ldf_lap  ( kt, nittrc000,'TRC', zahu, zahv, gtru, gtrv, gtrui, gtrvi, trb,      tra, jptra,    1     ) 
    10196      CASE ( np_lap_i )                               ! laplacian : standard iso-neutral operator (Madec) 
    102          CALL tra_ldf_iso  ( kt, nittrc000,'TRC', zahu, zahv, gtru, gtrv, gtrui, gtrvi, trb, trb, tra, jptra,  1   ) 
     97         CALL tra_ldf_iso  ( kt, nittrc000,'TRC', zahu, zahv, gtru, gtrv, gtrui, gtrvi, trb, trb, tra, jptra,    1     ) 
    10398      CASE ( np_lap_it )                              ! laplacian : triad iso-neutral operator (griffies) 
    104          CALL tra_ldf_triad( kt, nittrc000,'TRC', zahu, zahv, gtru, gtrv, gtrui, gtrvi, trb, trb, tra, jptra,  1   ) 
     99         CALL tra_ldf_triad( kt, nittrc000,'TRC', zahu, zahv, gtru, gtrv, gtrui, gtrvi, trb, trb, tra, jptra,    1     ) 
    105100      CASE ( np_blp , np_blp_i , np_blp_it )          ! bilaplacian: all operator (iso-level, -neutral) 
    106          CALL tra_ldf_blp  ( kt, nittrc000,'TRC', zahu, zahv, gtru, gtrv, gtrui, gtrvi, trb     , tra, jptra, nldf ) 
     101         CALL tra_ldf_blp  ( kt, nittrc000,'TRC', zahu, zahv, gtru, gtrv, gtrui, gtrvi, trb     , tra, jptra, nldf_trc ) 
    107102      END SELECT 
    108103      ! 
     
    132127      !! ** Purpose :   Define the operator for the lateral diffusion 
    133128      !! 
    134       !! ** Method  :   set nldf from the namtra_ldf logicals 
    135       !!      nldf ==  0   laplacian operator 
    136       !!      nldf ==  1   Rotated laplacian operator 
    137       !!      nldf ==  2   bilaplacian operator 
    138       !!      nldf ==  3   Rotated bilaplacian 
     129      !! ** Method  : - ln_trcldf_tra =T : use nldf_tra set in ldftra module  
     130      !!              to defined the passive tracer lateral diffusive operator 
     131      !!              - ln_trcldf_NONE=T : no explicit diffusion used 
    139132      !!---------------------------------------------------------------------- 
    140       INTEGER ::   ioptio, ierr   ! temporary integers 
    141       INTEGER ::   ios            ! Local integer output status for namelist read 
     133      INTEGER ::   ios, ioptio   ! local integers 
    142134      !! 
    143       NAMELIST/namtrc_ldf/ ln_trcldf_lap, ln_trcldf_blp,                                  & 
    144          &                 ln_trcldf_lev, ln_trcldf_hor, ln_trcldf_iso, ln_trcldf_triad,  & 
    145          &                 rn_ahtrc_0   , rn_bhtrc_0   , rn_fact_lap   
     135      NAMELIST/namtrc_ldf/ ln_trcldf_NONE, ln_trcldf_tra,   &   ! operator & direction 
     136         &                 rn_ldf_multi  , rn_fact_lap          ! coefficient 
    146137      !!---------------------------------------------------------------------- 
     138      ! 
     139      IF(lwp) THEN 
     140         WRITE(numout,*) 
     141         WRITE(numout,*) 'trc_ldf_ini : lateral passive tracer diffusive operator' 
     142         WRITE(numout,*) '~~~~~~~~~~~' 
     143      ENDIF 
    147144      ! 
    148145      REWIND( numnat_ref )             !  namtrc_ldf in reference namelist  
     
    156153      ! 
    157154      IF(lwp) THEN                     ! Namelist print 
    158          WRITE(numout,*) 
    159          WRITE(numout,*) 'trc_ldf_ini : lateral tracer diffusive operator' 
    160          WRITE(numout,*) '~~~~~~~~~~~' 
    161155         WRITE(numout,*) '   Namelist namtrc_ldf : set lateral mixing parameters (type, direction, coefficients)' 
    162          WRITE(numout,*) '      operator' 
    163          WRITE(numout,*) '         no explicit diffusion       ln_trcldf_NONE  = ', ln_trcldf_NONE 
    164          WRITE(numout,*) '           laplacian                 ln_trcldf_lap   = ', ln_trcldf_lap 
    165          WRITE(numout,*) '         bilaplacian                 ln_trcldf_blp   = ', ln_trcldf_blp 
    166          WRITE(numout,*) '      direction of action' 
    167          WRITE(numout,*) '         iso-level                   ln_trcldf_lev   = ', ln_trcldf_lev 
    168          WRITE(numout,*) '         horizontal (geopotential)   ln_trcldf_hor   = ', ln_trcldf_hor 
    169          WRITE(numout,*) '         iso-neutral (standard)      ln_trcldf_iso   = ', ln_trcldf_iso 
    170          WRITE(numout,*) '         iso-neutral (triad)         ln_trcldf_triad = ', ln_trcldf_triad 
    171          WRITE(numout,*) '      diffusivity coefficient' 
    172          WRITE(numout,*) '           laplacian                 rn_ahtrc_0      = ', rn_ahtrc_0 
    173          WRITE(numout,*) '         bilaplacian                 rn_bhtrc_0      = ', rn_bhtrc_0 
    174          WRITE(numout,*) '      enhanced zonal diffusivity     rn_fact_lap     = ', rn_fact_lap 
     156         WRITE(numout,*) '      no explicit diffusion                 ln_trcldf_NONE  = ', ln_trcldf_NONE 
     157         WRITE(numout,*) '      use active tracer operator            ln_trcldf_tra   = ', ln_trcldf_tra 
     158         WRITE(numout,*) '      diffusivity coefficient :' 
     159         WRITE(numout,*) '         multiplier of TRA coef. for TRC          rn_ldf_multi = ', rn_ldf_multi 
     160         WRITE(numout,*) '         enhanced zonal Eq. laplacian coef.       rn_fact_lap  = ', rn_fact_lap 
    175161 
    176162      ENDIF 
    177163      !       
    178164      !                                ! control the namelist parameters 
    179       ioptio = 0 
    180       IF( ln_trcldf_NONE ) THEN   ;   nldf = np_no_ldf   ;   ioptio = ioptio + 1   ;   ENDIF 
    181       IF( ln_trcldf_lap  ) THEN   ;                          ioptio = ioptio + 1   ;   ENDIF 
    182       IF( ln_trcldf_blp  ) THEN   ;                          ioptio = ioptio + 1   ;   ENDIF 
    183       IF( ioptio /=  1   )   CALL ctl_stop( 'trc_ldf_ini: use ONE of the 3 operator options (NONE/lap/blp)' ) 
     165      nldf_trc = np_ERROR 
     166      ioptio   = 0 
     167      IF( ln_trcldf_NONE ) THEN   ;   nldf_trc = np_no_ldf   ;   ioptio = ioptio + 1   ;   ENDIF 
     168      IF( ln_trcldf_tra  ) THEN   ;   nldf_trc = nldf_tra    ;   ioptio = ioptio + 1   ;   ENDIF 
     169      IF( ioptio /=  1   )   CALL ctl_stop( 'trc_ldf_ini: use ONE of the 2 operator options (NONE/tra)' ) 
    184170       
    185       IF( ln_trcldf_lap .AND. .NOT.ln_traldf_lap )   CALL ctl_stop( 'trc_ldf_ini:   laplacian should be used on both TRC and TRA' ) 
    186       IF( ln_trcldf_blp .AND. .NOT.ln_traldf_blp )   CALL ctl_stop( 'trc_ldf_ini: bilaplacian should be used on both TRC and TRA' ) 
    187       ! 
    188       IF( .NOT.ln_trcldf_NONE ) THEN   ! direction ==>> type of operator  
    189          ioptio = 0 
    190          IF( ln_trcldf_lev )   ioptio = ioptio + 1 
    191          IF( ln_trcldf_hor )   ioptio = ioptio + 1 
    192          IF( ln_trcldf_iso )   ioptio = ioptio + 1 
    193          IF( ioptio /= 1   )   CALL ctl_stop( 'trc_ldf_ini: use ONE direction (level/hor/iso)' ) 
    194          ! 
    195          ! defined the type of lateral diffusion from ln_trcldf_... logicals 
    196          ! CAUTION : nldf = 1 is used in trazdf_imp, change it carefully 
    197          ierr = 0 
    198          IF( ln_trcldf_lap ) THEN      !==  laplacian operator  ==! 
    199             IF( ln_zco ) THEN                ! z-coordinate 
    200                IF( ln_trcldf_lev   )   nldf = np_lap     ! iso-level = horizontal (no rotation) 
    201                IF( ln_trcldf_hor   )   nldf = np_lap     ! iso-level = horizontal (no rotation) 
    202                IF( ln_trcldf_iso   )   nldf = np_lap_i   ! iso-neutral: standard  (   rotation) 
    203                IF( ln_trcldf_triad )   nldf = np_lap_it  ! iso-neutral: triad     (   rotation) 
    204             ENDIF 
    205             IF( ln_zps ) THEN             ! z-coordinate with partial step 
    206                IF( ln_trcldf_lev   )   ierr = 1          ! iso-level not allowed  
    207                IF( ln_trcldf_hor   )   nldf = np_lap     ! horizontal (no rotation) 
    208                IF( ln_trcldf_iso   )   nldf = np_lap_i   ! iso-neutral: standard (rotation) 
    209                IF( ln_trcldf_triad )   nldf = np_lap_it  ! iso-neutral: triad    (rotation) 
    210             ENDIF 
    211             IF( ln_sco ) THEN             ! s-coordinate 
    212                IF( ln_trcldf_lev   )   nldf = np_lap     ! iso-level  (no rotation) 
    213                IF( ln_trcldf_hor   )   nldf = np_lap_it  ! horizontal (   rotation)       !!gm   a checker.... 
    214                IF( ln_trcldf_iso   )   nldf = np_lap_i   ! iso-neutral: standard (rotation) 
    215                IF( ln_trcldf_triad )   nldf = np_lap_it  ! iso-neutral: triad    (rotation) 
    216             ENDIF 
    217             !                                ! diffusivity ratio: passive / active tracers  
    218             IF( ABS(rn_aht_0) < 2._wp*TINY(1._wp) ) THEN 
    219                IF( ABS(rn_ahtrc_0) < 2._wp*TINY(1._wp) ) THEN 
    220                   rldf = 1.0_wp 
    221                ELSE 
    222                   CALL ctl_stop( 'trc_ldf_ctl : cannot define rldf, rn_aht_0==0, rn_ahtrc_0 /=0' ) 
    223                ENDIF 
    224             ELSE 
    225                rldf = rn_ahtrc_0 / rn_aht_0 
    226             ENDIF 
    227          ENDIF 
    228          ! 
    229          IF( ln_trcldf_blp ) THEN      !==  bilaplacian operator  ==! 
    230             IF ( ln_zco ) THEN                ! z-coordinate 
    231                IF ( ln_trcldf_lev   )   nldf = np_blp     ! iso-level = horizontal (no rotation) 
    232                IF ( ln_trcldf_hor   )   nldf = np_blp     ! iso-level = horizontal (no rotation) 
    233                IF ( ln_trcldf_iso   )   nldf = np_blp_i   ! iso-neutral: standard (rotation) 
    234                IF ( ln_trcldf_triad )   nldf = np_blp_it  ! iso-neutral: triad    (rotation) 
    235             ENDIF 
    236             IF ( ln_zps ) THEN             ! z-coordinate with partial step 
    237                IF ( ln_trcldf_lev   )   ierr = 1         ! iso-level not allowed  
    238                IF ( ln_trcldf_hor   )   nldf = np_blp     ! horizontal (no rotation) 
    239                IF ( ln_trcldf_iso   )   nldf = np_blp_i   ! iso-neutral: standard (rotation) 
    240                IF ( ln_trcldf_triad )   nldf = np_blp_it  ! iso-neutral: triad    (rotation) 
    241             ENDIF 
    242             IF ( ln_sco ) THEN             ! s-coordinate 
    243                IF ( ln_trcldf_lev   )   nldf = np_blp     ! iso-level  (no rotation) 
    244                IF ( ln_trcldf_hor   )   nldf = np_blp_it  ! horizontal (   rotation)       !!gm   a checker.... 
    245                IF ( ln_trcldf_iso   )   nldf = np_blp_i   ! iso-neutral: standard (rotation) 
    246                IF ( ln_trcldf_triad )   nldf = np_blp_it  ! iso-neutral: triad    (rotation) 
    247             ENDIF 
    248             !                                ! diffusivity ratio: passive / active tracers  
    249             IF( ABS(rn_bht_0) < 2._wp*TINY(1._wp) ) THEN 
    250                IF( ABS(rn_bhtrc_0) < 2._wp*TINY(1._wp) ) THEN 
    251                   rldf = 1.0_wp 
    252                ELSE 
    253                   CALL ctl_stop( 'trc_ldf_ctl : cannot define rldf, rn_aht_0==0, rn_ahtrc_0 /=0' ) 
    254                ENDIF 
    255             ELSE 
    256                rldf = SQRT(  ABS( rn_bhtrc_0 / rn_bht_0 )  ) 
    257             ENDIF 
    258          ENDIF 
    259          ! 
    260          IF( ierr == 1 )   CALL ctl_stop( 'trc_ldf_ini: iso-level in z-partial step, not allowed' ) 
     171      !                                ! multiplier : passive/active tracers ration 
     172      IF( ln_traldf_lap ) THEN               ! laplacian operator 
     173         rldf = rn_ldf_multi                       ! simple multiplier 
     174      ELSEIF( ln_traldf_blp ) THEN           ! bilaplacian operator:  
     175         rldf = SQRT( ABS( rn_ldf_multi )  )       ! the coef. used is the SQRT of the bilaplacian coef. 
    261176      ENDIF 
    262       ! 
    263       IF( ln_ldfeiv .AND. .NOT.ln_trcldf_iso )   CALL ctl_stop( 'trc_ldf_ini: eiv requires isopycnal laplacian diffusion' ) 
    264       IF( nldf == 1 .OR. nldf == 3 )   l_ldfslp = .TRUE.    ! slope of neutral surfaces required  
    265177      ! 
    266178      IF(lwp) THEN 
    267179         WRITE(numout,*) 
    268          SELECT CASE( nldf ) 
     180         SELECT CASE( nldf_trc ) 
    269181         CASE( np_no_ldf )   ;   WRITE(numout,*) '      ===>>   NO lateral diffusion' 
    270182         CASE( np_lap    )   ;   WRITE(numout,*) '      ===>>   laplacian iso-level operator' 
  • branches/2017/dev_merge_2017/NEMOGCM/NEMO/TOP_SRC/oce_trc.F90

    r9125 r9490  
    7373 
    7474   USE trc_oce 
    75  
    76 !!gm : I don't understand this as ldftra (where everything is defined) is used by TRC in all cases (ON/OFF-line) 
    77 !!gm   so the following lines should be removed....   logical should be the one of TRC namelist 
    78 !!gm   In case off coarsening....  the ( ahtu, ahtv, aeiu, aeiv) arrays are needed that's all. 
    79    !* lateral diffusivity (tracers) * 
    80    USE ldftra , ONLY :  rn_aht_0     =>   rn_aht_0     !:   laplacian lateral eddy diffusivity [m2/s] 
    81    USE ldftra , ONLY :  rn_bht_0     =>   rn_bht_0     !: bilaplacian lateral eddy diffusivity [m4/s] 
    82    USE ldftra , ONLY :  ahtu         =>   ahtu         !: lateral diffusivity coef. at u-points  
    83    USE ldftra , ONLY :  ahtv         =>   ahtv         !: lateral diffusivity coef. at v-points  
    84    USE ldftra , ONLY :  rn_aeiv_0    =>   rn_aeiv_0    !: eddy induced velocity coefficient (m2/s)  
    85    USE ldftra , ONLY :  aeiu         =>   aeiu         !: eddy induced velocity coef. at u-points (m2/s)    
    86    USE ldftra , ONLY :  aeiv         =>   aeiv         !: eddy induced velocity coef. at v-points (m2/s)  
    87    USE ldftra , ONLY :  ln_ldfeiv    =>   ln_ldfeiv    !: eddy induced velocity flag 
    8875      
    89 !!gm this should be : ln_trcldf_triad (TRC namelist) 
    90    USE ldfslp , ONLY :  ln_traldf_triad => ln_traldf_triad   !: triad scheme (Griffies et al.) 
    91  
     76!!gm  this can be removed if : 
     77!!gm    in trcadv.F90 and trcsub.F90  we add a USE ldfslp 
    9278   !* direction of lateral diffusion * 
    9379   USE ldfslp , ONLY :   l_ldfslp  =>  l_ldfslp       !: slopes flag 
     
    9682   USE ldfslp , ONLY :   wslpi      =>   wslpi        !: i-slope at w-point 
    9783   USE ldfslp , ONLY :   wslpj      =>   wslpj        !: j-slope at w-point 
    98 !!gm end  
     84   USE ldfslp , ONLY :  ln_traldf_triad => ln_traldf_triad   !: use of triad scheme 
     85!!gm end 
    9986 
    10087   !* vertical diffusion * 
Note: See TracChangeset for help on using the changeset viewer.