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.
namelist on IS-ENES/core2_cmip – Attachment – NEMO

IS-ENES/core2_cmip: namelist

File namelist, 49.4 KB (added by flavoni, 14 years ago)

namelist

Line 
1!!>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2!! NEMO/OPA  :  1 - run manager      (namrun)
3!! namelists    2 - Domain           (namzgr, namzgr_sco, namdom)
4!!              3 - Surface boundary (namsbc, namsbc_ana, namsbc_flx, namsbc_clio, namsbc_core
5!!                                    namsbc_cpl, namqsr, namsbc_rnf, namsbc_ssr, namsbc_alb)
6!!              4 - lateral boundary (namlbc, namcla, namobc, namagrif, nambdy, nambdy_tide)
7!!              5 - bottom  boundary (nambfr, nambbc, nambbl)
8!!              6 - Tracer           (nameos, namtra_adv, namtra_ldf, namtra_dmp)
9!!              7 - dynamics         (namdyn_adv, namdyn_vor, namdyn_hpg, namdyn_spg, namdyn_ldf)
10!!              8 - Verical physics  (namzdf, namzdf_ric, namzdf_tke, namzdf_kpp, namzdf_ddm, namzdf_tmx)
11!!              9 - diagnostics      (namtrd, namgap, namspr, namflo, namptr)
12!!              9 - miscellaneous    (namsol, nammpp, nammpp_dyndist, namctl)
13!!>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
14!  CAUTION: some scripts does not support CAPITALs for logical use .true./.false., not .TRUE./.FALSE.
15
16!!======================================================================
17!!                   ***  Run management namelists  ***
18!!======================================================================
19!!   namrun            parameters of the run
20!!======================================================================
21
22!-----------------------------------------------------------------------
23&namrun        !   parameters of the run
24!-----------------------------------------------------------------------
25   nn_no       =       0   !  job number
26   cn_exp      =  "v32core"  !  experience name
27   nn_it000    =       1   !  first time step
28!   nn_itend    =    5475   !  last  time step (std 5475)
29   nn_itend    =    54750  !  last  time step (std 5475)
30   nn_date0    =  900101   !  initial calendar date yymmdd (used if nrstdt=1)
31   nn_leapy    =       0   !  Leap year calendar (1) or not (0)
32   nn_istate   =       0   !  output the initial state (1) or not (0)
33   nn_stock    =    5475   !  frequency of creation of a restart file (modulo referenced to 1)
34   nn_write    =    5475   !  frequency of write in the output file   (modulo referenced to nit000)
35   ln_dimgnnn  = .false.   !  DIMG file format: 1 file for all processors (F) or by processor (T)
36   ln_mskland  = .false.   !  mask land points in NetCDF outputs (costly: + ~15%)
37   ln_clobber  = .false.   !  clobber (overwrite) an existing file
38   nn_chunksz  =       0   !  chunksize (bytes) for NetCDF file (working only with iom_nf90 routines)
39   ln_rstart   = .false.   !  start from rest (F) or from a restart file (T)
40   nn_rstctl   =       0       !  restart control = 0 nit000 is not compared to the restart file value
41                               !                  = 1 use ndate0 in namelist (not the value in the restart file)
42                               !                  = 2 calendar parameters read in the restart file
43   cn_ocerst_in  = "restart"   !  suffix of ocean restart name (input)
44   cn_ocerst_out = "restart"   !  suffix of ocean restart name (output)
45/
46!!======================================================================
47!!                      ***  Domain namelists  ***
48!!======================================================================
49!!   namzgr       vertical coordinate
50!!   namzgr_sco   s-coordinate or hybrid z-s-coordinate
51!!   namdom       space and time domain (bathymetry, mesh, timestep)
52!!======================================================================
53
54!-----------------------------------------------------------------------
55&namzgr        !   vertical coordinate
56!-----------------------------------------------------------------------
57   ln_zco      = .false.   !  z-coordinate - full    steps   (T/F)      ("key_zco" may also be defined)
58   ln_zps      = .true.    !  z-coordinate - partial steps   (T/F)
59   ln_sco      = .false.   !  s- or hybrid z-s-coordinate    (T/F)
60/
61!-----------------------------------------------------------------------
62&namzgr_sco    !   s-coordinate or hybrid z-s-coordinate
63!-----------------------------------------------------------------------
64   rn_sbot_min =  300.     !  minimum depth of s-bottom surface (>0) (m)
65   rn_sbot_max = 5250.     !  maximum depth of s-bottom surface (= ocean depth) (>0) (m)
66   rn_theta    =    6.0    !  surface control parameter (0<=theta<=20)
67   rn_thetb    =    0.75   !  bottom control parameter  (0<=thetb<= 1)
68   rn_rmax     =    0.15   !  maximum cut-off r-value allowed (0<r_max<1)
69   ln_s_sigma  = .false.   !  hybrid s-sigma coordinates
70   rn_bb       =    0.8    !  stretching with s-sigma
71   rn_hc       =  150.0    !  critical depth with s-sigma
72/
73!-----------------------------------------------------------------------
74&namdom        !   space and time domain (bathymetry, mesh, timestep)
75!-----------------------------------------------------------------------
76   nn_bathy    =    1      !  compute (=0) or read(=1) the bathymetry file
77   nn_closea   =    0      !  closed seas and lakes are removed (=0) or kept (=1) from the ORCA domain
78   nn_msh      =    0      !  create (=1) a mesh file (coordinates, scale factors, masks) or not (=0)
79   rn_e3zps_min=   20.     !  the thickness of the partial step is set larger than the minimum
80   rn_e3zps_rat=    0.1    !  of e3zps_min and e3zps_rat * e3t   (N.B. 0<e3zps_rat<1)
81                           !
82   rn_rdt      = 5760.     !  time step for the dynamics (and tracer if nacc=0)   ==> 5760
83   nn_baro     =   64      !  number of barotropic time step (for the split explicit algorithm) ("key_dynspg_ts")
84   rn_atfp     =    0.1    !  asselin time filter parameter
85   nn_acc      =    0      !  acceleration of convergence : =1      used, rdt < rdttra(k)
86                                 !                          =0, not used, rdt = rdttra
87   rn_rdtmin   = 28800.          !  minimum time step on tracers (used if nacc=1)
88   rn_rdtmax   = 28800.          !  maximum time step on tracers (used if nacc=1)
89   rn_rdth     =  800.           !  depth variation of tracer time step  (used if nacc=1)
90/
91!!======================================================================
92!!            ***  Surface Boundary Condition namelists  ***
93!!======================================================================
94!!   namsbc        surface boundary condition
95!!   namsbc_ana    analytical         formulation
96!!   namsbc_flx    flux               formulation
97!!   namsbc_clio   CLIO bulk formulea formulation
98!!   namsbc_core   CORE bulk formulea formulation
99!!   namsbc_cpl    CouPLed            formulation                       ("key_coupled")
100!!   namtra_qsr    penetrative solar radiation
101!!   namsbc_rnf    river runoffs
102!!   namsbc_ssr    sea surface restoring term (for T and/or S)
103!!   namsbc_alb    albedo parameters
104!!======================================================================
105
106!-----------------------------------------------------------------------
107&namsbc        !   Surface Boundary Condition (surface module)
108!-----------------------------------------------------------------------
109   nn_fsbc     = 5         !  frequency of surface boundary condition computation
110                           !               (= the frequency of sea-ice model call)
111   ln_ana      = .false.   !  analytical formulation (T => fill namsbc_ana )
112   ln_flx      = .false.   !  flux formulation       (T => fill namsbc_flx )
113   ln_blk_clio = .false.   !  CLIO bulk formulation  (T => fill namsbc_clio)
114   ln_blk_core = .true.    !  CORE bulk formulation  (T => fill namsbc_core)
115   ln_cpl      = .false.   !  Coupled formulation    (T => fill namsbc_cpl )
116   nn_ice      = 2         !  =0 no ice boundary condition   ,
117                           !  =1 use observed ice-cover      ,
118                           !  =2 ice-model used                             ("key_lim3" or "key_lim2)
119   nn_ico_cpl  = 0         !  ice-ocean coupling : =0 each nn_fsbc
120                           !                       =1 stresses recomputed each ocean time step ("key_lim3" only)
121                           !                       =2 combination of 0 and 1 cases             ("key_lim3" only)
122   ln_dm2dc    = .false.   !  daily mean to diurnal cycle short wave (qsr)
123   ln_rnf      = .true.    !  runoffs (T => fill namsbc_rnf)
124   ln_ssr      = .true.    !  Sea Surface Restoring on T and/or S (T => fill namsbc_ssr)
125   nn_fwb      = 3         !  FreshWater Budget: =0 unchecked
126                           !                     =1 global mean of e-p-r set to zero at each time step
127                           !                     =2 annual global mean of e-p-r set to zero
128                           !                     =3 global emp set to zero and spread out over erp area
129/
130!-----------------------------------------------------------------------
131&namsbc_ana    !   analytical surface boundary condition
132!-----------------------------------------------------------------------
133   nn_tau000   =   0       !  gently increase the stress over the first ntau_rst time-steps
134   rn_utau0    =   0.5     !  uniform value for the i-stress
135   rn_vtau0    =   0.e0    !  uniform value for the j-stress
136   rn_qns0     =   0.e0    !  uniform value for the total heat flux
137   rn_qsr0     =   0.e0    !  uniform value for the solar radiation
138   rn_emp0     =   0.e0    !  uniform value for the freswater budget (E-P)
139/
140!-----------------------------------------------------------------------
141&namsbc_flx    !   surface boundary condition : flux formulation
142!-----------------------------------------------------------------------
143!              !   file name  ! frequency (hours) !  variable  ! time interpol. !  clim   ! 'yearly'/ ! weights  ! rotation !
144!              !              !  (if <0  months)  !    name    !    (logical)   !  (T/F)  ! 'monthly' ! filename ! pairing  !
145   sn_utau     = 'utau'       ,        24         ,    'utau'  ,     .false.    , .false. , 'yearly'  , ''       , ''
146   sn_vtau     = 'vtau'       ,        24         ,    'vtau'  ,     .false.    , .false. , 'yearly'  , ''       , ''
147   sn_qtot     = 'qtot'       ,        24         ,    'qtot'  ,     .false.    , .false. , 'yearly'  , ''       , ''
148   sn_qsr      = 'qsr'        ,        24         ,    'qsr'   ,     .false.    , .false. , 'yearly'  , ''       , ''
149   sn_emp      = 'emp'        ,        24         ,    'emp'   ,     .false.    , .false. , 'yearly'  , ''       , ''
150!
151   cn_dir      = './'      !  root directory for the location of the flux files
152/     
153!-----------------------------------------------------------------------
154&namsbc_clio   !   namsbc_clio  CLIO bulk formulea
155!-----------------------------------------------------------------------
156!              !   file name  ! frequency (hours) !  variable  ! time interpol. !  clim   ! 'yearly'/ ! weights  ! rotation !
157!              !              !  (if <0  months)  !    name    !    (logical)   !  (T/F)  ! 'monthly' ! filename ! pairing  !
158   sn_utau     = 'taux_1m'    ,       -1          , 'sozotaux' ,    .true.      , .true.  , 'yearly'  , ''       , ''
159   sn_vtau     = 'tauy_1m'    ,       -1          , 'sometauy' ,    .true.      , .true.  , 'yearly'  , ''       , ''
160   sn_wndm     = 'flx'        ,       -1          , 'socliowi' ,    .true.      , .true.  , 'yearly'  , ''       , ''
161   sn_tair     = 'flx'        ,       -1          , 'socliot2' ,    .true.      , .true.  , 'yearly'  , ''       , ''
162   sn_humi     = 'flx'        ,       -1          , 'socliohu' ,    .true.      , .true.  , 'yearly'  , ''       , ''
163   sn_ccov     = 'flx'        ,       -1          , 'socliocl' ,    .false.     , .true.  , 'yearly'  , ''       , ''
164   sn_prec     = 'flx'        ,       -1          , 'socliopl' ,    .false.     , .true.  , 'yearly'  , ''       , ''
165!
166   cn_dir      = './'      !  root directory for the location of the bulk files are
167/
168!-----------------------------------------------------------------------
169&namsbc_core   !   namsbc_core  CORE bulk formulea
170!-----------------------------------------------------------------------
171!              !   file name                   ! frequency (hours) ! variable    ! time interpol. !  clim   ! 'yearly'/ ! weights  ! rotation !
172!              !                               !  (if <0  months)  !   name      !    (logical)   !  (T/F)  ! 'monthly' ! filename ! pairing  !
173   sn_wndi     = 'u_10.15JUNE2009_orca2'       ,       6           , 'U_10_MOD'  ,    .false.     , .true.  , 'yearly'  ,   ''     ,   'Uwnd'
174   sn_wndj     = 'v_10.15JUNE2009_orca2'       ,       6           , 'V_10_MOD'  ,    .false.     , .true.  , 'yearly'  ,   ''     ,   'Vwnd'
175   sn_qsr      = 'ncar_rad.15JUNE2009_orca2'   ,       24          , 'SWDN_MOD'  ,    .false.     , .true.  , 'yearly'  ,   ''     ,   ''
176   sn_qlw      = 'ncar_rad.15JUNE2009_orca2'   ,       24          , 'LWDN_MOD'  ,    .false.     , .true.  , 'yearly'  ,   ''     ,   ''
177   sn_tair     = 't_10.15JUNE2009_orca2'       ,       6           , 'T_10_MOD'  ,    .false.     , .true.  , 'yearly'  ,   ''     ,   ''
178   sn_humi     = 'q_10.15JUNE2009_orca2'       ,       6           , 'Q_10_MOD'  ,    .false.     , .true.  , 'yearly'  ,   ''     ,   ''
179   sn_prec     = 'ncar_precip.15JUNE2009_orca2',       -1          , 'PRC_MOD1'  ,    .false.     , .true.  , 'yearly'  ,   ''     ,   ''
180   sn_snow     = 'ncar_precip.15JUNE2009_orca2',       -1          , 'SNOW'      ,    .false.     , .true.  , 'yearly'  ,   ''     ,   ''
181   sn_tdif     = 'taudif_core'                 ,       24          , 'taudif'    ,    .false.     , .true.  , 'yearly'  ,   ''     ,   ''
182!
183   cn_dir      = './'      !  root directory for the location of the bulk files
184   ln_2m       = .false.   !  air temperature and humidity referenced at 2m (T) instead 10m (F)
185   ln_taudif   = .false.   !  HF tau contribution: use "mean of stress module - module of the mean stress" data ?
186   rn_pfac     = 1.        !  multiplicative factor for precipitation (total & snow)
187/
188!-----------------------------------------------------------------------
189&namsbc_cpl    !   coupled ocean/atmosphere model                        ("key_coupled")
190!-----------------------------------------------------------------------
191                                       ! send
192cn_snd_temperature= 'weighted oce and ice'  ! 'oce only' 'weighted oce and ice' 'mixed oce-ice'
193cn_snd_albedo     = 'weighted ice'          ! 'none' 'weighted ice' 'mixed oce-ice'
194cn_snd_thickness  = 'none'                  ! 'none' 'weighted ice and snow'
195cn_snd_crt_nature = 'none'                  ! 'none' 'oce only' 'weighted oce and ice' 'mixed oce-ice'
196cn_snd_crt_refere = 'spherical'             ! 'spherical' 'cartesian'
197cn_snd_crt_orient = 'eastward-northward'    ! 'eastward-northward' or 'local grid'
198cn_snd_crt_grid   = 'T'                     ! 'T'
199                                       ! receive
200cn_rcv_w10m       = 'none'                  ! 'none' 'coupled'
201cn_rcv_taumod     = 'coupled'               ! 'none' 'coupled'
202cn_rcv_tau_nature = 'oce only'              ! 'oce only' 'oce and ice' 'mixed oce-ice'
203cn_rcv_tau_refere = 'cartesian'             ! 'spherical' 'cartesian'
204cn_rcv_tau_orient = 'eastward-northward'    ! 'eastward-northward' or 'local grid'
205cn_rcv_tau_grid   = 'U,V'                   ! 'T' 'U,V' 'U,V,F' 'U,V,I' 'T,F' 'T,I' 'T,U,V'
206cn_rcv_dqnsdt     = 'coupled'               ! 'none' 'coupled'
207cn_rcv_qsr        = 'oce and ice'           ! 'conservative' 'oce and ice' 'mixed oce-ice'
208cn_rcv_qns        = 'oce and ice'           ! 'conservative' 'oce and ice' 'mixed oce-ice'
209cn_rcv_emp        = 'conservative'          ! 'conservative' 'oce and ice' 'mixed oce-ice'
210cn_rcv_rnf        = 'coupled'               ! 'coupled' 'climato' 'mixed'
211cn_rcv_cal        = 'coupled'               ! 'none' 'coupled'
212/
213!-----------------------------------------------------------------------
214&namsbc_cpl_co2   !   coupled ocean/biogeo/atmosphere model            ("key_cpl_carbon_cycle")
215!-----------------------------------------------------------------------
216cn_snd_co2        = 'coupled'         ! send    :  'none' 'coupled'
217cn_rcv_co2        = 'coupled'         ! receive : 'none' 'coupled'
218/
219!-----------------------------------------------------------------------
220&namtra_qsr    !   penetrative solar radiation
221!-----------------------------------------------------------------------
222!              !   file name  ! frequency (hours) ! variable   ! time interpol. !  clim   ! 'yearly'/ ! weights  ! rotation !
223!              !              !  (if <0  months)  !   name     !    (logical)   !  (T/F)  ! 'monthly' ! filename ! pairing  !
224   sn_chl      = 'chlorophyll',        -1         , 'CHLA'     ,    .true.      , .true.  , 'yearly'  , ''       , ''
225 
226   cn_dir      = './'      !  root directory for the location of the runoff files
227   ln_traqsr   = .true.    !  Light penetration (T) or not (F)
228   ln_qsr_rgb  = .true.    !  RGB (Red-Green-Blue) light penetration
229   ln_qsr_2bd  = .false.   !  2 bands              light penetration
230   ln_qsr_bio  = .false.   !  bio-model light penetration
231   nn_chldta   =      1    !  RGB : Chl data (=1) or cst value (=0)
232   rn_abs      =   0.58    !  RGB & 2 bands: fraction of light (rn_si1)
233   rn_si0      =   0.35    !  RGB & 2 bands: shortess depth of extinction
234   rn_si1      =   23.0    !  2 bands: longest depth of extinction
235   rn_si2      =   62.0    !  3 bands: longest depth of extinction (for blue waveband & 0.01 mg/m2 Chl)
236/
237!-----------------------------------------------------------------------
238&namsbc_rnf    !   runoffs namelist surface boundary condition
239!-----------------------------------------------------------------------
240!              !   file name               u frequency (hours) ! variable      ! time interpol. !  clim   ! 'yearly'/ ! weights  ! rotation !
241!              !                           !  (if <0  months)  !   name        !    (logical)   !  (T/F)  ! 'monthly' ! filename ! pairing  !
242!   sn_rnf      = 'runoff_1m_nomask'       ,  -1               , 'sorunoff'    ,    .true.      , .true.  , 'yearly'  , ''       , ''
243!   sn_cnf      = 'runoff_1m_nomask'       ,   0               , 'socoefr'     ,    .false.     , .true.  , 'yearly'  , ''       , ''
244   sn_rnf       = 'runoff_core_monthly'    ,  -1               , 'sorunoff'    ,    .false.     , .true.  , 'yearly'  , ''       , ''
245   sn_cnf       = 'runoff_core_monthly'    ,   0               , 'socoefr0'    ,    .false.     , .true.  , 'yearly'  , ''       , ''
246   cn_dir       = './'      !  root directory for the location of the runoff files
247   ln_rnf_emp   =   .false. !  runoffs included into precipitation field (T) or into a file (F)
248   ln_rnf_mouth =   .false. !  specific treatment at rivers mouths
249   rn_hrnf      =  15.e0    !  depth over which enhanced vertical mixing is used
250   rn_avt_rnf   =   1.e-3   !  value of the additional vertical mixing coef. [m2/s]
251   rn_rfact     =   1.e0    !  multiplicative factor for runoff
252/
253!-----------------------------------------------------------------------
254&namsbc_ssr    !   surface boundary condition : sea surface restoring
255!-----------------------------------------------------------------------
256!              !   file name  ! frequency (hours) ! variable   ! time interpol. !  clim   ! 'yearly'/ ! weights  ! rotation !
257!              !              !  (if <0  months)  !   name     !    (logical)   !  (T/F)  ! 'monthly' ! filename ! pairing  !
258   sn_sst      = 'sst_data'   ,        24         ,  'sst'     ,     .false.    , .false. , 'yearly'  , ''       , ''
259   sn_sss      = 'sss_data'   ,        -1         ,  'sss'     ,     .true.     , .true.  , 'yearly'  , ''       , ''
260   
261   cn_dir      = './'      !  root directory for the location of the runoff files
262   nn_sstr     =     0     !  add a retroaction term in the surface heat       flux (=1) or not (=0)
263   nn_sssr     =     2     !  add a damping     term in the surface freshwater flux (=2)
264                           !  or to SSS only (=1) or no damping term (=0)
265   rn_dqdt     =   -40.    !  magnitude of the retroaction on temperature   [W/m2/K]
266   rn_deds     =   -166.67 !  magnitude of the damping on salinity   [mm/day]
267   ln_sssr_bnd =   .true.  !  flag to bound erp term (associated with nn_sssr=2)
268   rn_sssr_bnd =   4.e0    !  ABS(Max/Min) value of the damping erp term [mm/day]
269/     
270!-----------------------------------------------------------------------
271&namsbc_alb    !   albedo parameters
272!-----------------------------------------------------------------------
273   rn_cloud    =    0.06   !  cloud correction to snow and ice albedo
274   rn_albice   =    0.53   !  albedo of melting ice in the arctic and antarctic
275   rn_alphd    =    0.80   !  coefficients for linear interpolation used to
276   rn_alphc    =    0.65   !  compute albedo between two extremes values
277   rn_alphdi   =    0.72   !  (Pyane, 1972)
278/
279
280!!======================================================================
281!!               ***  Lateral boundary condition  ***
282!!======================================================================
283!!   namlbc        lateral momentum boundary condition
284!!   namcla        cross land advection
285!!   namobc        open boundaries parameters                           ("key_obc")
286!!   namagrif      agrif nested grid ( read by child model only )       ("key_agrif")
287!!   nambdy        Unstructured open boundaries                         ("key_bdy")
288!!   namtide       Tidal forcing at open boundaries                     ("key_bdy_tides")
289!!======================================================================
290
291!-----------------------------------------------------------------------
292&namlbc        !   lateral momentum boundary condition
293!-----------------------------------------------------------------------
294   rn_shlat    =    2.     !  shlat = 0  !  0 < shlat < 2  !  shlat = 2  !  2 < shlat
295                           !  free slip  !   partial slip  !   no slip   ! strong slip
296/
297!-----------------------------------------------------------------------
298&namcla        !   cross land advection
299!-----------------------------------------------------------------------
300   nn_cla      =    0      !  advection between 2 ocean pts separates by land
301/
302!-----------------------------------------------------------------------
303&namobc        !   open boundaries parameters                           ("key_obc")
304!-----------------------------------------------------------------------
305    ln_obc_clim= .false.   !  climatological obc data files (T) or not (F)
306    ln_vol_cst = .true.    !  impose the total volume conservation (T) or not (F)
307    ln_obc_fla = .false.   !  Flather open boundary condition
308    nn_obcdta  =    1      !  = 0 the obc data are equal to the initial state
309                           !  = 1 the obc data are read in 'obc.dta' files
310    cn_obcdta  = 'annual'  !  set to annual if obc datafile hold 1 year of data
311                           !  set to monthly if obc datafile hold 1 month of data
312    rn_dpein   =    1.     !  damping time scale for inflow at east  open boundary
313    rn_dpwin   =    1.     !     -           -         -       west    -      -
314    rn_dpnin   =    1.     !     -           -         -       north   -      -
315    rn_dpsin   =    1.     !     -           -         -       south   -      -
316    rn_dpeob   = 3000.     !  time relaxation (days) for the east  open boundary
317    rn_dpwob   =   15.     !     -           -         -     west    -      -
318    rn_dpnob   = 3000.     !     -           -         -     north   -      -
319    rn_dpsob   =   15.     !     -           -         -     south   -      -
320    rn_volemp  =  1.       !  = 0 the total volume change with the surface flux (E-P-R)
321                           !  = 1 the total volume remains constant
322/
323!-----------------------------------------------------------------------
324&namagrif      !  AGRIF zoom                                            ("key_agrif")
325!-----------------------------------------------------------------------
326    nn_cln_update = 3      !  baroclinic update frequency
327    ln_spc_dyn    = .true. !  use 0 as special value for dynamics
328    rn_sponge_tra = 2880.  !  coefficient for tracer   sponge layer [s]
329    rn_sponge_dyn = 2880.  !  coefficient for dynamics sponge layer [s]
330/
331!-----------------------------------------------------------------------
332&nambdy        !  unstructured open boundaries                          ("key_bdy")
333!-----------------------------------------------------------------------
334    filbdy_mask    =  ''                  !  name of mask file (if ln_bdy_mask=.TRUE.)
335    filbdy_data_T  = 'bdydata_grid_T.nc'  !  name of data file (T-points)
336    filbdy_data_U  = 'bdydata_grid_U.nc'  !  name of data file (U-points)
337    filbdy_data_V  = 'bdydata_grid_V.nc'  !  name of data file (V-points)
338    ln_bdy_clim    = .false.              !  contain 1 (T) or 12 (F) time dumps and be cyclic
339    ln_bdy_vol     = .true.               !  total volume correction (see volbdy parameter)
340    ln_bdy_mask    = .false.              !  boundary mask from filbdy_mask (T) or boundaries are on edges of domain (F)
341    ln_bdy_tides   = .true.               !  Apply tidal harmonic forcing with Flather condition
342    ln_bdy_dyn_fla = .true.               !  Apply Flather condition to velocities
343    ln_bdy_tra_frs = .false.              !  Apply FRS condition to temperature and salinity
344    ln_bdy_dyn_frs = .false.              !  Apply FRS condition to velocities
345    nbdy_dta       =  1                   !  = 0, bdy data are equal to the initial state
346                                          !  = 1, bdy data are read in 'bdydata   .nc' files
347    nb_rimwidth    = 9                    !  width of the relaxation zone
348    volbdy         = 0                    !  = 0, the total water flux across open boundaries is zero
349                                          !  = 1, the total volume of the system is conserved
350/
351!-----------------------------------------------------------------------
352&nambdy_tide     ! tidal forcing at unstructured boundaries             
353!-----------------------------------------------------------------------
354    filtide      = 'bdytide_'           !  file name root of tidal forcing files
355    tide_cpt     = 'M2','S1'            !  names of tidal components used
356    tide_speed   = 28.984106, 15.000001 !  phase speeds of tidal components (deg/hour)
357    ln_tide_date = .false.              !  adjust tidal harmonics for start date of run
358/
359
360!!======================================================================
361!!                 ***  Bottom boundary condition  ***
362!!======================================================================
363!!   nambfr        bottom friction
364!!   nambbc        bottom temperature boundary condition                ("key_trabbc")
365!!   nambbl        bottom boundary layer scheme                         ("key_trabbl_dif","key_trabbl_adv")
366!!======================================================================
367
368!-----------------------------------------------------------------------
369&nambfr        !   bottom friction
370!-----------------------------------------------------------------------
371   nn_bfr      =    1      !  type of bottom friction :   = 0 : free slip,  = 1 : linear friction
372                           !                              = 2 : nonlinear friction
373   rn_bfri1    =    4.e-4  !  bottom drag coefficient (linear case)
374   rn_bfri2    =    1.e-3  !  bottom drag coefficient (non linear case)
375   rn_bfeb2    =    2.5e-3 !  bottom turbulent kinetic energy background  (m^2/s^2)
376   ln_bfr2d    =   .false. !  horizontal variation of the bottom friction coef (read a 2D mask file )
377   rn_bfrien   =    50.    !  local multiplying factor of bfr (ln_bfr2d = .true.)
378/
379!-----------------------------------------------------------------------
380&nambbc        !   bottom temperature boundary condition
381!-----------------------------------------------------------------------
382   nn_geoflx   =    2      !  geothermal heat flux: = 0 no flux
383                           !     = 1 constant flux
384                           !     = 2 variable flux (read in geothermal_heating.nc in mW/m2)
385   rn_geoflx_cst = 86.4e-3 !  Constant value of geothermal heat flux [W/m2]
386/
387!-----------------------------------------------------------------------
388&nambbl        !   bottom boundary layer scheme
389!-----------------------------------------------------------------------
390!                          !  diffusive bbl                             ("key_trabbl")
391!                          !  advective bbl                             ("key_trabbl_adv")
392   rn_ahtbbl   =  10000.   !  lateral mixing coefficient in the bbl  [m2/s]
393/
394!!======================================================================
395!!                        Tracer (T & S ) namelists
396!!======================================================================
397!!   nameos        equation of state
398!!   namtra_adv    advection scheme
399!!   namtra_ldf    lateral diffusion scheme
400!!   namtra_dmp    T & S newtonian damping                              ("key_tradmp")
401!!======================================================================
402
403!-----------------------------------------------------------------------
404&nameos        !   ocean physical parameters
405!-----------------------------------------------------------------------
406   nn_eos      =    0      !  type of equation of state and Brunt-Vaisala frequency
407                           !     = 0, UNESCO (formulation of Jackett and McDougall (1994) and of McDougall (1987) )
408                           !     = 1, linear: rho(T)   = rau0 * ( 1.028 - ralpha * T )
409                           !     = 2, linear: rho(T,S) = rau0 * ( rbeta * S - ralpha * T )
410   rn_alpha    =    2.e-4  !  thermal expension coefficient (neos= 1 or 2)
411   rn_beta     =    0.001  !  saline  expension coefficient (neos= 2)
412/
413!-----------------------------------------------------------------------
414&namtra_adv    !   advection scheme for tracer
415!-----------------------------------------------------------------------
416   ln_traadv_cen2   =  .false.  !  2nd order centered scheme   
417   ln_traadv_tvd    =  .true.   !  TVD scheme               
418   ln_traadv_muscl  =  .false.  !  MUSCL scheme             
419   ln_traadv_muscl2 =  .false.  !  MUSCL2 scheme + cen2 at boundaries 
420   ln_traadv_ubs    =  .false.  !  UBS scheme                 
421/
422!-----------------------------------------------------------------------
423&namtra_ldf    !   lateral diffusion scheme for tracer
424!-----------------------------------------------------------------------
425                           !  Type of the operator :
426   ln_traldf_lap    =  .true.   !     laplacian operator       
427   ln_traldf_bilap  =  .false.  !     bilaplacian operator     
428                           !  Direction of action  :
429   ln_traldf_level  =  .false.  !     iso-level               
430   ln_traldf_hor    =  .false.  !     horizontal (geopotential)         (require "key_ldfslp" when ln_sco=T)
431   ln_traldf_iso    =  .true.   !     iso-neutral                       (require "key_ldfslp")
432                           !  Coefficient
433   rn_aht_0         =  2000.    !     horizontal eddy diffusivity for tracers [m2/s]
434   rn_ahtb_0        =     0.    !     background eddy diffusivity for ldf_iso [m2/s]
435   rn_aeiv_0        =  2000.    !     eddy induced velocity coefficient [m2/s]    (require "key_traldf_eiv")
436/
437!-----------------------------------------------------------------------
438&namtra_dmp    !   tracer: T & S newtonian damping                      ('key_tradmp')
439!-----------------------------------------------------------------------
440   nn_hdmp     =   -1      !  horizontal shape =-1, damping in Med and Red Seas only
441                           !                   =XX, damping poleward of XX degrees (XX>0)
442                           !                      + F(distance-to-coast) + Red and Med Seas
443   nn_zdmp     =    0      !  vertical   shape =0    damping throughout the water column
444                           !                   =1 no damping in the mixing layer (kz  criteria)
445                           !                   =2 no damping in the mixed  layer (rho crieria)
446   rn_surf     =   50.     !  surface time scale of damping   [days]
447   rn_bot      =  360.     !  bottom  time scale of damping   [days]
448   rn_dep      =  800.     !  depth of transition between rn_surf and rn_bot [meters]
449   nn_file     =    1      !  create a damping.coeff NetCDF file (=1) or not (=0)
450/
451!!======================================================================
452!!                      ***  Dynamics namelists  ***
453!!======================================================================
454!!   namdyn_adv    formulation of the momentum advection
455!!   namdyn_vor    advection scheme
456!!   namdyn_hpg    hydrostatic pressure gradient
457!!   namdyn_spg    surface pressure gradient                            (CPP key only)
458!!   namdyn_ldf    lateral diffusion scheme
459!!======================================================================
460
461!-----------------------------------------------------------------------
462&namdyn_adv    !   formulation of the momentum advection
463!-----------------------------------------------------------------------
464   ln_dynadv_vec = .true.  !  vector form (T) or flux form (F) 
465   ln_dynadv_cen2= .false. !  flux form - 2nd order centered scheme
466   ln_dynadv_ubs = .false. !  flux form - 3rd order UBS      scheme
467
468!-----------------------------------------------------------------------
469&namdyn_vor    !   option of physics/algorithm (not control by CPP keys)
470!-----------------------------------------------------------------------
471   ln_dynvor_ene = .false. !  enstrophy conserving scheme 
472   ln_dynvor_ens = .false. !  energy conserving scheme   
473   ln_dynvor_mix = .false. !  mixed scheme               
474   ln_dynvor_een = .true.  !  energy & enstrophy scheme 
475/
476!-----------------------------------------------------------------------
477&namdyn_hpg    !   Hydrostatic pressure gradient option
478!-----------------------------------------------------------------------
479   ln_hpg_zco  = .false.   !  z-coordinate - full steps                   
480   ln_hpg_zps  = .true.    !  z-coordinate - partial steps (interpolation)
481   ln_hpg_sco  = .false.   !  s-coordinate (standard jacobian formulation)
482   ln_hpg_hel  = .false.   !  s-coordinate (helsinki modification)
483   ln_hpg_wdj  = .false.   !  s-coordinate (weighted density jacobian)
484   ln_hpg_djc  = .false.   !  s-coordinate (Density Jacobian with Cubic polynomial)
485   ln_hpg_rot  = .false.   !  s-coordinate (ROTated axes scheme)
486   rn_gamma    = 0.e0      !  weighting coefficient (wdj scheme)
487   ln_dynhpg_imp = .false. !  time stepping: semi-implicit time scheme  (T)
488                                 !           centered      time scheme  (F)
489   nn_dynhpg_rst =  0            ! =1 dynhpg restartable restart or not (=0)
490/
491!-----------------------------------------------------------------------
492!namdyn_spg    !   surface pressure gradient   (CPP key only)
493!-----------------------------------------------------------------------
494!                          !  explicit free surface                     ("key_dynspg_exp")
495!                          !  filtered free surface                     ("key_dynspg_flt")
496!                          !  split-explicit free surface               ("key_dynspg_ts")
497
498!-----------------------------------------------------------------------
499&namdyn_ldf    !   lateral diffusion on momentum
500!-----------------------------------------------------------------------
501                           !  Type of the operator :
502   ln_dynldf_lap    =  .true.   !  laplacian operator         
503   ln_dynldf_bilap  =  .false.  !  bilaplacian operator   
504                           !  Direction of action  :
505   ln_dynldf_level  =  .false.  !  iso-level               
506   ln_dynldf_hor    =  .true.   !  horizontal (geopotential)            (require "key_ldfslp" in s-coord.)
507   ln_dynldf_iso    =  .false.  !  iso-neutral                          (require "key_ldfslp")
508                           !  Coefficient
509   rn_ahm_0    = 40000.         !  horizontal eddy viscosity   [m2/s]
510   rn_ahmb_0   =     0.         !  background eddy viscosity for ldf_iso [m2/s]
511/
512!!======================================================================
513!!             Tracers & Dynamics vertical physics namelists
514!!======================================================================
515!!       namzdf        vertical physics
516!!       namzdf_ric    richardson number dependent vertical mixing      ("key_zdfric"      )
517!!       namzdf_tke    TKE dependent vertical mixing                    ("key_zdftke"      )
518!!       namzdf_kpp    KPP dependent vertical mixing                    ("key_zdfkpp"      )
519!!       namzdf_ddm    double diffusive mixing parameterization         ("key_zdfddm"      )
520!!       namzdf_tmx    tidal mixing parameterization                    ("key_zdftmx"      )
521!!======================================================================
522
523!-----------------------------------------------------------------------
524&namzdf        !   vertical physics
525!-----------------------------------------------------------------------
526   rn_avm0     =   1.2e-4  !  vertical eddy viscosity   [m2/s]          (background Kz if not "key_zdfcst")
527   rn_avt0     =   1.2e-5  !  vertical eddy diffusivity [m2/s]          (background Kz if not "key_zdfcst")
528   nn_avb      =    0      !  profile for background avt & avm (=1) or not (=0)
529   nn_havtb    =    0      !  horizontal shape for avtb (=1) or not (=0)
530   ln_zdfevd   = .true.    !  enhanced vertical diffusion (evd) (T) or not (F)
531   nn_evdm     =    0      !  evd apply on tracer (=0) or on tracer and momentum (=1)
532   rn_avevd    =  100.     !  evd mixing coefficient [m2/s]
533   ln_zdfnpc   = .false.   !  Non-Penetrative algorithm (T) or not (F)
534   nn_npc      =    1            !  frequency of application of npc
535   nn_npcp     =  365            !  npc control print frequency
536   ln_zdfexp   = .false.   !  time-stepping: split-explicit (T) or implicit (F) time stepping
537   nn_zdfexp   =    3            !  number of sub-timestep for ln_zdfexp=T
538/
539!-----------------------------------------------------------------------
540&namzdf_ric    !   richardson number dependent vertical diffusion       ("key_zdfric" )
541!-----------------------------------------------------------------------
542   rn_avmri    = 100.e-4   !  maximum value of the vertical viscosity
543   rn_alp      =   5.      !  coefficient of the parameterization
544   nn_ric      =   2       !  coefficient of the parameterization
545/
546!-----------------------------------------------------------------------
547&namzdf_tke    !   turbulent eddy kinetic dependent vertical diffusion  ("key_zdftke")
548!-----------------------------------------------------------------------
549   rn_ediff    =   0.1     !  coef. for vertical eddy coef. (avt=rn_ediff*mxl*sqrt(e) )
550   rn_ediss    =   0.7     !  coef. of the Kolmogoroff dissipation
551   rn_ebb      =  60.      !  coef. of the surface input of tke
552   rn_emin     =   1.e-6   !  minimum value of tke [m2/s2]
553   rn_emin0    =   1.e-4   !  surface minimum value of tke [m2/s2]
554   rn_bshear   =   1.e-20  !  background shear (>0)
555   nn_mxl      =   2       !  mixing length: = 0 bounded by the distance to surface and bottom
556                           !                 = 1 bounded by the local vertical scale factor
557                           !                 = 2 first vertical derivative of mixing length bounded by 1
558                           !                 = 3 same criteria as case 2 but applied in a different way
559   nn_pdl      =   1       !  Prandtl number function of richarson number (=1, avt=pdl(Ri)*avm) or not (=0, avt=avm)
560   ln_mxl0     = .true.    !  mixing length scale surface value as function of wind stress (T) or not (F)
561   rn_lmin     =   0.001   !  interior buoyancy lenght scale minimum value
562   rn_lmin0    =   0.01    !  surface  buoyancy lenght scale minimum value
563   nn_etau     =   1       !  exponentially deceasing penetration of tke due to internal & intertial waves
564                           !        = 0 no penetration ( O(2 km) resolution)
565                           !        = 1 additional tke source (rn_efr * en)
566                           !        = 2 additional tke source (rn_efr * en) applied only at the base of the mixed layer
567                           !        = 3 additional tke source (HF contribution: mean of stress module - module of mean stress)
568   nn_htau     =   1       !  type of exponential decrease of tke penetration
569                           !        = 0  constant 10 m length scale
570                           !        = 1  0.5m at the equator to 30m at high latitudes
571                           !        = 2  30 meters constant depth penetration
572                           !  option used only if nn_etau = 1 or 2:
573   rn_efr      =   0.05    !     fraction of surface tke value which penetrates inside the ocean
574                           !  option used only if nn_etau = 3:
575   rn_addhft   =  -1.e-3   !     add offset   applied to the "mean of stress module - module of mean stress" (always kept > 0)
576   rn_sclhft   =   1.      !     scale factor applied to the "mean of stress module - module of mean stress"
577   ln_lc       = .true.    !  Langmuir cell parameterisation
578   rn_lc       =   0.15    !  coef. associated to Langmuir cells
579/
580!------------------------------------------------------------------------
581&namzdf_kpp    !   K-Profile Parameterization dependent vertical mixing  ("key_zdfkpp", and optionnally:
582!------------------------------------------------------------------------ "key_kppcustom" or "key_kpplktb")
583   ln_kpprimix = .true.    !  shear instability mixing
584   rn_difmiw   =  1.0e-04  !  constant internal wave viscosity [m2/s]
585   rn_difsiw   =  0.1e-04  !  constant internal wave diffusivity [m2/s]
586   rn_riinfty  =  0.8      !  local Richardson Number limit for shear instability
587   rn_difri    =  0.0050   !  maximum shear mixing at Rig = 0    [m2/s]
588   rn_bvsqcon  = -0.01e-07 !  Brunt-Vaisala squared for maximum convection [1/s2]
589   rn_difcon   =  1.       !  maximum mixing in interior convection [m2/s]
590   nn_avb      =  0        !  horizontal averaged (=1) or not (=0) on avt and amv
591   nn_ave      =  1        !  constant (=0) or profile (=1) background on avt
592/
593!-----------------------------------------------------------------------
594&namzdf_ddm    !   double diffusive mixing parameterization             ("key_zdfddm")
595!-----------------------------------------------------------------------
596   rn_avts     = 1.e-4     !  maximum avs (vertical mixing on salinity)
597   rn_hsbfr    = 1.6       !  heat/salt buoyancy flux ratio
598/
599!-----------------------------------------------------------------------
600&namzdf_tmx    !   tidal mixing parameterization                        ("key_zdftmx")
601!-----------------------------------------------------------------------
602   rn_htmx     = 500.      !  vertical decay scale for turbulence (meters)
603   rn_n2min    = 1.e-8     !  threshold of the Brunt-Vaisala frequency (s-1)
604   rn_tfe      = 0.333     !  tidal dissipation efficiency
605   rn_me       = 0.2       !  mixing efficiency
606   ln_tmx_itf  = .true.    !  ITF specific parameterisation
607   rn_tfe_itf  = 1.        !  ITF tidal dissipation efficiency
608/
609!!======================================================================
610!!                  ***  Miscelaneous namelists  ***
611!!======================================================================
612!!   nammpp            Massively Parallel Processing                    ("key_mpp_mpi)
613!!   nammpp_dyndist    Massively Parallel domain decomposition          ("key_agrif" && "key_mpp_dyndist")
614!!   namctl            Control prints & Benchmark
615!!   namsol            elliptic solver / island / free surface
616!!======================================================================
617
618!-----------------------------------------------------------------------
619&namsol        !   elliptic solver / island / free surface
620!-----------------------------------------------------------------------
621   nn_solv     =      1    !  elliptic solver: =1 preconditioned conjugate gradient (pcg)
622                           !                   =2 successive-over-relaxation (sor)
623   nn_sol_arp  =      0    !  absolute/relative (0/1) precision convergence test
624   rn_eps      =  1.e-6    !  absolute precision of the solver
625   nn_nmin     =    300    !  minimum of iterations for the SOR solver
626   nn_nmax     =    800    !  maximum of iterations for the SOR solver
627   nn_nmod     =     10    !  frequency of test for the SOR solver
628   rn_resmax   =  1.e-10   !  absolute precision for the SOR solver
629   rn_sor      =  1.92     !  optimal coefficient for SOR solver (to be adjusted with the domain)
630/
631!-----------------------------------------------------------------------
632&nammpp        !   Massively Parallel Processing                        ("key_mpp_mpi)
633!-----------------------------------------------------------------------
634   cn_mpi_send =  'S'      !  mpi send/recieve type   ='S', 'B', or 'I' for standard send,
635                           !  buffer blocking send or immediate non-blocking sends, resp.
636   nn_buffer   =   0       !  size in bytes of exported buffer ('B' case), 0 no exportation
637/
638!-----------------------------------------------------------------------
639&nammpp_dyndist !   Massively Parallel Distribution for AGRIF zoom      ("key_agrif" && "key_mpp_dyndist")
640!-----------------------------------------------------------------------
641   jpni        =    1      !  jpni   number of processors following i
642   jpnj        =    1      !  jpnj   number of processors following j
643   jpnij       =    1      !  jpnij  number of local domains
644/
645!-----------------------------------------------------------------------
646&namctl        !   Control prints & Benchmark
647!-----------------------------------------------------------------------
648   ln_ctl      = .false.   !  trends control print (expensive!)
649   nn_print    =    0      !  level of print (0 no extra print)
650   nn_ictls    =    0      !  start i indice of control sum (use to compare mono versus
651   nn_ictle    =    0      !  end   i indice of control sum        multi processor runs
652   nn_jctls    =    0      !  start j indice of control               over a subdomain)
653   nn_jctle    =    0      !  end   j indice of control
654   nn_isplt    =    1      !  number of processors in i-direction
655   nn_jsplt    =    1      !  number of processors in j-direction
656   nn_bench    =    0      !  Bench mode (1/0): CAUTION use zero except for bench
657                           !     (no physical validity of the results)
658   nn_bit_cmp  =    0      !  bit comparison mode (1/0): CAUTION use zero except for test
659                           !     of comparison between single and multiple processor runs
660/
661
662!!======================================================================
663!!                       ***  Diagnostics namelists  ***
664!!======================================================================
665!!   namtrd       dynamics and/or tracer trends                         ("key_trddyn","key_trdtra","key_trdmld")
666!!   namgap       level mean model-data gap                             ("key_diagap")
667!!   namflo       float parameters                                      ("key_float")
668!!   namptr       Poleward Transport Diagnostics
669!!======================================================================
670
671!-----------------------------------------------------------------------
672&namtrd        !   diagnostics on dynamics and/or tracer trends         ("key_trddyn" and/or "key_trdtra")
673!              !       or mixed-layer trends or barotropic vorticity    ('key_trdmld' or  "key_trdvor")
674!-----------------------------------------------------------------------
675   nn_trd      = 365       !  time step frequency dynamics and tracers trends
676   nn_ctls     =   0       !  control surface type in mixed-layer trends (0,1 or n<jpk)
677   rn_ucf      =   1.      !  unit conversion factor (=1 -> /seconds ; =86400. -> /day)
678   cn_trdrst_in      = "restart_mld"   ! suffix of ocean restart name (input)
679   cn_trdrst_out     = "restart_mld"   ! suffix of ocean restart name (output)
680   ln_trdmld_restart = .false.         !  restart for ML diagnostics
681   ln_trdmld_instant = .false.         !  flag to diagnose trends of instantantaneous or mean ML T/S
682/
683!-----------------------------------------------------------------------
684&namgap       !   level mean model-data gap                             ('key_diagap')
685!-----------------------------------------------------------------------
686   nn_gap     =  15        !  time-step frequency of model-data gap computation
687   nn_prg     =  10        !  time-step frequency of gap print in model output
688/
689!-----------------------------------------------------------------------
690&namflo       !   float parameters                                      ("key_float")
691!-----------------------------------------------------------------------
692    ln_rstflo = .false.    !  float restart (T) or not (F)
693    nn_writefl=      75    !  frequency of writing in float output file
694    nn_stockfl=    5475    !  frequency of creation of the float restart file
695    ln_argo   = .false.    !  Argo type floats (stay at the surface each 10 days)
696    ln_flork4 = .false.    !  trajectories computed with a 4th order Runge-Kutta (T)
697                           !  or computed with Blanke' scheme (F)
698/
699!-----------------------------------------------------------------------
700&namptr       !   Poleward Transport Diagnostic
701!-----------------------------------------------------------------------
702   ln_diaptr  = .true.     !  Poleward heat and salt transport (T) or not (F)
703   ln_diaznl  = .true.     !  Add zonal means and meridional stream functions
704   ln_subbas  = .true.     !  Atlantic/Pacific/Indian basins computation (T) or not
705                           !  (orca configuration only, need input basins mask file named "subbasins.nc"
706   ln_ptrcomp = .true.     !  Add decomposition : overturning
707   nf_ptr     =  1         !  Frequency of ptr computation [time step]
708   nf_ptr_wri =  15        !  Frequency of ptr outputs
709/