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 Ticket #378 – Attachment – NEMO

Ticket #378: namelist

File namelist, 36.6 KB (added by rachel.furner, 15 years ago)
Line 
1
2!>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
3! OPA namelist :  model option and parameter input
4! -------------
5!>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
6!
7!-----------------------------------------------------------------------
8!       namrun   parameters of the run
9!-----------------------------------------------------------------------
10!  no         job number
11!  cexper     experience name for vairmer format: NO MORE THAN 12 CHARACTERS!
12!  ln_rstart  boolean term for restart (true or false)
13!  nrstdt     control of the restart timestep:
14!                = 0 restart, do not control nit000 in the restart file.
15!                = 1 restart, control nit000 in the restart file. Do not
16!                    use the date in the restart file (use ndate0 in namelist)
17!                = 2 restart, control nit000 in the restart file, use the date
18!                    in the restart file. ndate0 in the namelist is ignored.
19!  nit000     number of the first time step
20!  nitend     number of the last time step
21!  ndate0     initial calendar date aammjj
22!  nleapy     Leap year calendar (0/1)
23!  ninist     initial state output flag (0/1)
24!  nstock     frequency of restart file
25!  nwrite     frequency of OUTPUT file
26!  nrunoff    = 0 no, 1 runoff, 2 runoff+river mouth ups adv
27!
28!  CAUTION: for usual run scripts, logical value of
29!  *******  ln_rstart must be .true. or .false.
30!                     and NOT .TRUE. or .FALSE.
31&namrun
32   no         =       0
33   cexper     = "amm_sco"
34   ln_rstart  = .false.
35   ln_depwri  = .false.
36   nrstdt     =       0
37   nit000     =       1
38   nitend     =       100      ! 300second / 5minute timestep -> 50 days output
39   ndate0     =    20071102 ! 20041022   !20071101   
40   nleapy     =       1
41   ninist     =       0
42   nstock     =       100   
43   nwrite     =       10        ! 5-minute timestep -> 1-day output
44   ln_shapiro = .false.
45/
46!-----------------------------------------------------------------------
47!       nam_ctl      Control prints & Benchmark
48!-----------------------------------------------------------------------
49!  ln_ctl     trends control print (expensive!)
50!  nprint     level of print (0 no print)
51!  nictls     start i indice to make the control SUM (very usefull to compare mono-
52!  nictle     end   i indice to make the control SUM (-versus multi processor runs)
53!  njctls     start j indice to make the control SUM (very usefull to compare mono-
54!  njctle     end   j indice to make the control SUM (-versus multi processor runs)
55!  nisplt     number of processors following i
56!  njsplt     number of processors following j
57!  nbench     Bench parameter (0/1): CAUTION it must be zero except for bench
58!             for which we don't care about physical meaning of the results
59!  nbit_cmp   bit comparison mode parameter (0/1): enables bit comparison between
60!             single and multiple processor runs.
61&namctl
62   ln_ctl     =  .false.
63   nprint     =       0
64   nictls     =       0
65   nictle     =       0
66   njctls     =       0
67   njctle     =       0
68   isplt      =       1
69   jsplt      =       1
70   nbench     =       0
71!-----------------------------------------------------------------------
72!       nam_svf      Shapiro Velocity Filter (SVF)
73!-----------------------------------------------------------------------
74!  nn_svf_freq  number of timesteps between calculating
75!               filter increments and targeting
76!  ln_svf_cts   logical to control continuous filtering (default .true.)
77!               T=nudge increments in every timestep between filter steps
78!               F=apply increments in one discrete block when calculated
79&namsvf
80   ln_svf_cts  =  .true.
81   nn_svf_freq =  15
82/
83!-----------------------------------------------------------------------
84!       nam_mpp      Massively Parallel Processing
85!-----------------------------------------------------------------------
86!  c_mpi_send         mpi send/recieve type
87!                      = 'S'  : standard blocking send
88!                      = 'B'  : buffer blocking send
89!                      = 'I'  : immediate non-blocking send
90&nam_mpp
91   c_mpi_send =  'S'
92/
93!-----------------------------------------------------------------------
94!       nam_zgr       vertical coordinate
95!-----------------------------------------------------------------------
96!  ln_zco     z-coordinate - full steps      (T/F)
97!  ln_zps     z-coordinate - partial steps   (T/F)
98!  ln_sco     s- or hybrid z-s-coordinate    (T/F)
99&nam_zgr
100   ln_zco   =  .true.
101   ln_zps   =  .false.
102   ln_sco   =  .false.
103/
104!-----------------------------------------------------------------------
105!       nam_zgr_sco   s-coordinate or hybrid z-s-coordinate
106!-----------------------------------------------------------------------
107!  sbot_min   minimum depth of s-bottom surface (>0) (m)
108!  sbot_max   maximum depth of s-bottom surface (= ocean depth) (>0) (m)
109!  theta      surface control parameter (0<=theta<=20). Theta=0 for uniform sigma.
110!  thetb      bottom control parameter  (0<=thetb<= 1)
111!  r_max      maximum cut-off r-value allowed (0<r_max<1)
112&nam_zgr_sco
113   sbot_max =   6000.0
114   sbot_min =    10.0
115   theta    =    6.0
116   thetb    =    5.0
117   r_max    =    1.0
118   ln_s_sigma= .false.
119   bb = 0.8
120   hc = 150.0
121/
122---------------------------------------------------------------------
123!       nam_traadv   advection scheme for tracer (option not control by CPP keys)
124!-----------------------------------------------------------------------
125!  ln_traadv_cen2     2nd order centered scheme    (default T)
126!  ln_traadv_tvd      TVD scheme                   (default F)
127!  ln_traadv_muscl    MUSCL scheme                 (default F)
128!  ln_traadv_muscl2   MUSCL2 scheme                (default F)
129!  ln_traadv_ubs      UBS scheme                   (default F)
130&nam_traadv
131   ln_traadv_cen2   =  .false.
132   ln_traadv_tvd    =  .true.
133   ln_traadv_muscl  =  .false.
134   ln_traadv_muscl2 =  .false.
135   ln_traadv_ubs    =  .false.
136/
137!-----------------------------------------------------------------------
138!       nam_traldf   lateral diffusion scheme for tracer (option not control by CPP keys)
139!-----------------------------------------------------------------------
140!  Type of the operator :
141!     ln_traldf_lap    laplacian operator          (default T)
142!     ln_traldf_bilap  bilaplacian operator        (default F)
143!  Direction of action  :
144!     ln_traldf_level  iso-level                   (default F)
145!     ln_traldf_hor    horizontal (geopotential)   (default F)^**
146!     ln_traldf_iso    iso-neutral                 (default T)^*
147!  Coefficient
148!     aht0    horizontal eddy diffusivity for tracers (m2/s)
149!     ahtb0   background eddy diffusivity for isopycnal diffusion (m2/s)
150!     aeiv0   eddy induced velocity coefficient (m2/s)
151! ^* require key_ldfslp to compute the direction of the lateral diffusion
152! ^** require key_ldfslp in s-coordinate
153&nam_traldf
154   ln_traldf_lap    =  .true.
155   ln_traldf_bilap  =  .false.
156   ln_traldf_level  =  .false.
157   ln_traldf_hor    =  .true.
158   ln_traldf_iso    =  .false.
159   aht0    =   100.
160   ahtb0   =     0.
161   aeiv0   =     0.
162/
163!-----------------------------------------------------------------------
164!       nam_dynldf   lateral diffusion on momentum
165!-----------------------------------------------------------------------
166!  Type of the operator :
167!     ln_dynldf_lap    laplacian operator          (default T)
168!     ln_dynldf_bilap  bilaplacian operator        (default F)
169!  Direction of action  :
170!     ln_dynldf_level  iso-level                   (default F)
171!     ln_dynldf_hor    horizontal (geopotential)   (default F)^**
172!     ln_dynldf_iso    iso-neutral                 (default T)^*
173!  Coefficient
174!  ahm0    horizontal eddy viscosity for the dynamics (m2/s)
175!  ahmb0   background eddy viscosity for isopycnal diffusion (m2/s)
176!  ahm0_blp horizontal bilaplacian eddy viscosity for the dynamics (m4/s)
177&nam_dynldf
178   ln_dynldf_lap    =  .true.
179   ln_dynldf_bilap  =  .true.
180   ln_dynldf_level  =  .false.
181   ln_dynldf_hor    =  .true.
182   ln_dynldf_iso    =  .false.
183   ahm0    =     50.0
184   ahmb0   =     0.0
185   ahm0_blp=   -1.0e+11
186/
187!-----------------------------------------------------------------------
188!       namflg   algorithm flags (algorithm not control by CPP keys)
189!-----------------------------------------------------------------------
190!  ln_dynhpg_imp   hydrostatic pressure gradient: semi-implicit time scheme  (T)
191!                                                  centered      time scheme  (F)
192!   nn_dynhpg_rst  add dynhpg implicit variables in restart ot not (1/0)
193&namflg
194   ln_dynhpg_imp   =  .true.
195   nn_dynhpg_rst   =  0
196/
197!-----------------------------------------------------------------------
198!       nam_dynhpg   Hydrostatic pressure gradient option
199!-----------------------------------------------------------------------
200!  type of pressure gradient scheme (choose one only!)
201!     ln_hpg_zco    z-coordinate - full steps                   (default T)
202!     ln_hpg_zps    z-coordinate - partial steps (interpolation)
203!     ln_hpg_sco    s-coordinate (standard jacobian formulation)
204!     ln_hpg_hel    s-coordinate (helsinki modification)
205!     ln_hpg_wdj    s-coordinate (weighted density jacobian)
206!     ln_hpg_djc    s-coordinate (Density Jacobian with Cubic polynomial)
207!     ln_hpg_rot    s-coordinate (ROTated axes scheme)
208!  parameters
209!    gamm          weighting coefficient (wdj scheme)
210&nam_dynhpg
211   ln_hpg_zco = .false.
212   ln_hpg_zps = .false.
213   ln_hpg_sco = .true.
214   ln_hpg_hel = .false.
215   ln_hpg_wdj = .false.
216   ln_hpg_djc = .false.
217   ln_hpg_rot = .false.
218   gamm       = 0.125
219/
220!-----------------------------------------------------------------------
221!       nam_dynadv   option of physics/algorithm (not control by CPP keys)
222!-----------------------------------------------------------------------
223!  ln_dynadv_vec      vector form flag
224!  ln_dynadv_cen2     flux form - 2nd order centered scheme    (default T)
225!  ln_dynadv_ubs      flux form - 3rd order UBS scheme         (default F)
226&nam_dynadv   
227   ln_dynadv_vec   = .TRUE.
228   ln_dynadv_cen2  = .FALSE.
229   ln_dynadv_ubs   = .FALSE.
230
231!-----------------------------------------------------------------------
232!       nam_dynvor   option of physics/algorithm (not control by CPP keys)
233!-----------------------------------------------------------------------
234!  ln_dynvor_ens   vorticity trends: enstrophy conserving scheme (default T)
235!  ln_dynvor_ene      "         "  : energy conserving scheme    (default F)
236!  ln_dynvor_mix      "         "  : mixed scheme                (default F)
237!  ln_dynvor_een      "         "  : energy & enstrophy scheme   (default F)
238&nam_dynvor
239   ln_dynvor_ene = .FALSE.
240   ln_dynvor_ens = .FALSE.
241   ln_dynvor_mix = .FALSE.
242   ln_dynvor_een = .TRUE.
243/
244!-----------------------------------------------------------------------
245!       namtau   surface wind stress
246!-----------------------------------------------------------------------
247!  ntau000   gently increase the stress over the first ntau_rst time-steps
248!  tau0x     uniform value used as default surface heat flux
249!  tau0y     uniform value used as default solar radiation flux
250&namtau
251   ntau000 =      0
252   tau0x   =      0.e0
253   tau0y   =      0.e0
254/
255!-----------------------------------------------------------------------
256!       namflx   surface fluxes
257!-----------------------------------------------------------------------
258!  q0       uniform value used as default surface heat flux
259!  qsr0     uniform value used as default solar radiation flux
260!  emp0     uniform value used as default surface freswater budget (E-P)
261!  dqdt0    feedback coefficient for SST damping (W/m2/K)
262!  deds0    feedback coefficient for SSS damping (mm/day)
263&namflx
264   q0      =      0.e0
265   qsr0    =      0.e0
266   emp0    =      0.e0
267   dqdt0   =        0.
268   deds0   =        0.
269/
270!-----------------------------------------------------------------------
271!       namalb   albedo parameters
272!-----------------------------------------------------------------------
273!  cgren    correction of the snow or ice albedo to take into account
274!  albice   albedo of melting ice in the arctic and antarctic
275!  alphd    coefficients for linear interpolation used to compute albedo
276!           between two extremes values (Pyane, 1972)
277!  alphc     "                                         "
278!  alphdi    "                                         "
279&namalb
280   cgren    =      0.06
281   albice   =      0.5
282   alphd    =      0.80
283   alphc    =      0.65
284   alphdi   =      0.72
285/
286!-----------------------------------------------------------------------
287!       namdom   space and time domain (bathymetry, mesh, timestep)
288!-----------------------------------------------------------------------
289!  ntopo      = 0/1 ,compute/read the bathymetry file
290!               (mbathy, nb of T-ocean levels)
291!  e3zps_min  the thickness of the partial step is set larger than the
292!  e3zps_rat     the minimum of e3zps_min and e3zps_rat * e3t
293!                (N.B. 0<e3zps_rat<1)
294!                  (coordinates, scale factors)
295!  nmsh       =1 create a mesh file (coordinates, scale factors, masks)
296!  nacc       the acceleration of convergence method
297!             = 0, no acceleration, rdt = rdttra
298!             = 1, acceleration used, rdt < rdttra(k)
299!  atfp       asselin time filter parameter
300!  rdt        time step for the dynamics (and tracer if nacc=0)
301!  rdtmin     minimum time step on tracers
302!  rdtmax     maximum time step on tracers
303!  rdth       depth variation of tracer time step
304!  rdtbt      barotropic time step (for the time splitting algorithm)
305!  nfice      frequency of ice model call
306!  nfbulk     frequency of bulk formulea call (not used if ice used)
307!  nclosea    = 0 no closed sea
308!             = 1 closed sea (Black Sea, Caspian Sea, Great US Lakes...)
309&namdom
310   ntopo     =    1
311   e3zps_min =     5.
312   e3zps_rat =     0.1
313   nmsh      =     0
314   nacc      =     0
315   atfp      =     0.01
316   rdt       =   300.
317   rdtmin    =   300.
318   rdtmax    =   300.
319   rdth      =   300.
320   rdtbt     =   10.0
321   nclosea   =     0
322/
323!-----------------------------------------------------------------------
324!       namfwb   freshwater budget correction
325!-----------------------------------------------------------------------
326!  ln_fwb     logical flag for freshwater budget correction (0 annual mean)
327&namfwb
328   ln_fwb    = .false.
329/
330!-----------------------------------------------------------------------
331!       namptr   Poleward Transport Diagnostic
332!-----------------------------------------------------------------------
333!  ln_diaptr  logical flag for Poleward transport computation
334!  ln_subbas  logical flag for Atlantic/Pacific/Indian basins computation
335!             need input basins mask file named "subbasins.nc"
336!  nf_ptr     Frequency of computation
337&namptr
338   ln_diaptr = .false.
339   ln_subbas = .false.
340   nf_ptr    =  15
341/
342!-----------------------------------------------------------------------
343!       namcro   cross land advection
344!-----------------------------------------------------------------------
345!  n_cla   advection between 2 ocean pts separates by land
346&namcla
347   n_cla   = 0
348/
349!-----------------------------------------------------------------------
350!       namzdf   vertical physics
351!-----------------------------------------------------------------------
352!  ln_zdfevd  enhanced vertical diffusion         (default T)
353!  ln_zdfnpc  Non-Penetrative Convection          (default T)
354!  avm0       vertical eddy viscosity for the dynamic (m2/s)
355!  avt0       vertical eddy diffusivity for tracers (m2/s)
356!  avevd      vertical coefficient for enhanced diffusion scheme (m2/s)
357!  n_evdm     = 0  apply enhanced mixing on tracer only
358!             = 1  apply enhanced mixing on both tracer and momentum
359!  ln_zdfexp   vertical physics: (=T)  time splitting (T)     (Default=F)
360!                               (=F)  euler backward (F)
361!  n_zdfexp   number of sub-timestep for time splitting scheme
362&namzdf
363   ln_zdfevd = .true.
364   ln_zdfnpc = .false.
365   avm0      = 1.2e-4
366   avt0      = 1.2e-5
367   avevd     =   100.
368   n_evdm    =     1
369   ln_zdfexp =  .false.
370   n_zdfexp  =     3
371/
372!-----------------------------------------------------------------------
373!       namnpc   vnon penetrative convection
374!-----------------------------------------------------------------------
375!  nnpc1   non penetrative convective scheme frequency
376!  nnpc2   non penetrative convective scheme print frequency
377&namnpc
378   nnpc1  =      1
379   nnpc2  =    365
380/
381!-----------------------------------------------------------------------
382!       nambbl   bottom boundary layer scheme
383!-----------------------------------------------------------------------
384!  atrbbl   lateral tracer coeff. for bottom boundary layer scheme(m2/s)
385&nambbl
386   atrbbl = 0.
387/
388!-----------------------------------------------------------------------
389!       namric   richardson number dependent vertical diffusion
390!                ( #ifdef "key_zdfrichardson" )
391!-----------------------------------------------------------------------
392!  avmri   maximum value of the vertical viscosity
393!  alp     coefficient of the parameterization
394!  nric    coefficient of the parameterization
395&namric
396   avmri = 100.e-4
397   alp   =      5.
398   nric  =       2
399/
400!-----------------------------------------------------------------------
401!       namtke   turbulent eddy kinetic dependent vertical diffusion
402!                ( #ifdef "key_zdftke" )
403!-----------------------------------------------------------------------
404!  ln_rstke   flag to restart with tke from a run without tke (default F)
405!  rn_ediff   coef. to compute vertical eddy coef. (avt=ediff*mxl*sqrt(e) )
406!  rn_ediss   coef. of the Kolmogoroff dissipation
407!  rn_ebb     coef. of the surface input of tke
408!  rn_efave   coef. to applied to the tke diffusion ( avtke=efave*avm )
409!  rn_emin    minimum value of tke (m^2/s^2)
410!  rn_emin0   surface minimum value of tke (m^2/s^2)
411!  nn_itke    number of restart iterative loops
412!  ri_c       critic richardson number
413!  nn_mxl     flag on mixing length used
414!             = 0 bounded by the distance to surface and bottom
415!             = 1 bounded by the local vertical scale factor
416!             = 2 first vertical derivative of mixing length bounded by 1
417!  nn_pdl     flag on prandtl number
418!             = 0 no vertical prandtl number (avt=avm)
419!             = 1 prandtl number function of richarson number (avt=pdl*avm)
420!             = 2 same as = 1 but a shapiro filter is applied on pdl
421!  nn_ave     horizontal averaged (=1) or not (=0) of avt  (default =1)
422!  nn_avb     = 0 cst background avt0, avm0 / =1 profile used on avtb
423!  ln_lsfc    computation surface value of buoyancy length scale as function of wind stress
424!  rn_lmin    interior mixing length minimum value
425!  rn_lmin0   surface  mixing length minimum value
426!  nn_havtb   horizontal variation for avtb
427!  nn_etau    test param. to add tke induced by wind
428!             = 0 no add tke induced by wind
429!             = 1 add tke induced by wind
430!             = 2 add tke induced by wind only at the base of the mixed layer
431!  nn_htau    flag for computation of exp. tke profile
432!  rn_efr     fraction of TKE surface value which penetrates inside the thermocline
433!  ln_lc      flag to take into account Langmuir circulation
434!  rn_lc      coef to compute vertical velocity of LC
435&namtke
436   ln_rstke =   .false.
437   rn_ediff =   0.2
438   rn_ediss =   0.7
439   rn_ebb   =   60.0
440   rn_efave =   1.
441   rn_emin  =   1.e-6
442   rn_emin0 =   1.e-4
443   nn_itke  =   50
444   nn_mxl   =   3
445   nn_pdl   =   1
446   nn_avb   =   0
447   nn_ave   =   1
448   ln_mxl0  =   .true.
449   rn_lmin  =   0.4
450   rn_lmin0 =   0.4
451   nn_etau  =   1
452   nn_htau  =   3
453   rn_efr   =   0.05
454   ln_lc    =  .false.
455   rn_lc    =      0.15
456/
457!-----------------------------------------------------------------------
458!       namkpp   K-Profile Parameterization dependent vertical diffusion
459!                ( #ifdef "key_zdfkpp" )
460!-----------------------------------------------------------------------
461!  ln_kpprimix   shear instability mixing  (default T)
462!  difmiw        constant internal wave viscosity (m2/s)
463!  difsiw        constant internal wave diffusivity (m2/s)
464!  Riinfty       local Richardson Number limit for shear instability
465!  difri         maximum shear mixing at Rig = 0    (m2/s)
466!  bvsqcon       Brunt-Vaisala squared (1/s**2) for maximum convection
467!  difcon        maximum mixing in interior convection (m2/s)
468!  nave          = 0/1 flag for horizontal average on avt, avmu, avmv
469!  navb          = 0/1 flag for constant or profile background avt
470&namkpp
471   ln_kpprimix  = .true.
472   difmiw       =  1.e-04
473   difsiw       =  0.1e-04
474   Riinfty      =  0.8
475   difri        =  0.0050
476   bvsqcon      = -0.01e-07
477   difcon       =  1.
478   navb         =  0
479   nave         =  1
480/
481!-----------------------------------------------------------------------
482!       namddm   double diffusive mixing parameterization
483!-----------------------------------------------------------------------
484!   avts    maximum avs for dd mixing
485!   hsbfr   heat/salt buoyancy flux ratio
486&namddm
487      avts  = 1.e-4
488      hsbfr = 1.6
489/
490!-----------------------------------------------------------------------
491!       namlbc   lateral momentum boundary condition
492!-----------------------------------------------------------------------
493!  shlat   lateral boundary condition on velocity
494!                   shlat = 0 , free slip
495!               0 < shlat < 2 , partial slip
496!                   shlat = 2 , no slip
497!               2 < shlat     , strong slip
498&namlbc
499   shlat  =      0.
500/
501!-----------------------------------------------------------------------
502!       nambfr   bottom friction
503!-----------------------------------------------------------------------
504!  nbotfr  type of bottom friction
505!                  nbotfr = 0 , no slip
506!                  nbotfr = 1 , linear friction
507!                  nbotfr = 2 , nonlinear friction
508!                  nbotfr = 3 , free slip
509!  bfri1   bottom drag coefficient (linear case)
510!  bfri2   bottom drag coefficient (non linear case)
511!  bfeb2   bottom turbulent kinetic energy  (m^2/s^2) (Default: 2.5e-3)
512!  l_zdfbfr_loglayer  Switch on log-layer formulation of drag coefficient
513&nambfr
514   nbotfr =       2
515   bfri1  =   4.e-4
516   bfri2  =   5.e-3
517   bfeb2  =   0.0
518/
519!-----------------------------------------------------------------------
520!       nambbc   bottom temperature boundary condition
521!-----------------------------------------------------------------------
522!  ngeo_flux  = 0 no geothermal heat flux
523!             = 1 constant geothermal heat flux
524!             = 2 variable geothermal heat flux (read in geothermal_heating.nc)
525!                 ( C A U T I O N : flux in mW/m2 in the NetCDF file )
526!  ngeo_flux_const   Constant value of geothermal heat flux (W/m2)
527&nambbc
528   ngeo_flux =  0
529   ngeo_flux_const = 86.4e-3
530/
531!-----------------------------------------------------------------------
532!       namqsr   penetrative solar radiation
533!-----------------------------------------------------------------------
534!  ln_traqsr : penetrative solar radiation (T) or not (F)     (Default=T)
535!  rabs       fraction of qsr associated with xsi1
536!  xsi1       first depth of extinction
537!  xsi2       second depth of extinction
538&namqsr
539   ln_traqsr = .true.
540   rabs     =   0.58
541   xsi1     =   0.35
542   xsi2     =   23.0
543/
544!-----------------------------------------------------------------------
545!       namtdp   tracer newtonian damping ('key_tradmp')
546!-----------------------------------------------------------------------
547!  ndmp    type of damping in temperature and salinity
548!          (='latitude', damping poleward of 'ndmp' degrees and function
549!             of the distance-to-coast. Red and Med Seas as ndmp=-1)
550!          (=-1 damping only in Med and Red Seas)
551!  ndmpf   =1 create a damping.coeff NetCDF file (the 3D damping array)
552!  nmldmp  type of damping in the mixed layer
553!          (=0 damping throughout the water column)
554!     (=1 no damping in the mixed layer defined by avt >5cm2/s )
555!     (=2 no damping in the mixed layer defined rho<rho(surf)+.01 )
556!  sdmp    surface time scale for internal damping (days)
557!  bdmp    bottom time scale for internal damping (days)
558!  hdmp    depth of transition between sdmp and bdmp (meters)
559&namtdp
560   ndmp   =   -1
561   ndmpf  =    1
562   nmldmp =    1
563   sdmp   =  50.
564   bdmp   = 360.
565   hdmp   = 800.
566/
567!-----------------------------------------------------------------------
568!       nameos   ocean physical parameters
569!-----------------------------------------------------------------------
570!  neos    type of equation of state and Brunt-Vaisala frequency
571!          = 0, UNESCO (formulation of Jackett and McDougall (1994)
572!                                         and of McDougall (1987) )
573!          = 1, linear: rho(T)   = rau0 * ( 1.028 - ralpha * T )
574!          = 2, linear: rho(T,S) = rau0 * ( rbeta * S - ralpha * T )
575!                               with rau0=1020 set in parcst routine
576!  ralpha  thermal expension coefficient (linear equation of state)
577!  rbeta   saline  expension coefficient (linear equation of state)
578&nameos
579   neos   =      0
580   ralpha =  2.e-4
581   rbeta  =  0.001
582/
583!-----------------------------------------------------------------------
584!       namsol   elliptic solver / island / free surface
585!-----------------------------------------------------------------------
586!  nsolv     elliptic solver (=1 preconditioned conjugate gradient: pcg)
587!                            (=2 successive-over-relaxation: sor)
588!                            (=3 FETI: fet, all require "key_feti" defined)
589!                            (=4 sor with extra outer halo)
590!  nsol_arp  absolute/relative (0/1) precision convergence test
591!  nmin      minimum of iterations for the SOR solver
592!  nmax      maximum of iterations for the SOR solver
593!  nmod      frequency of test for the SOR solver
594!  eps       absolute precision of the solver
595!  resmax    absolute precision for the SOR solver
596!  sor       optimal coefficient for SOR solver
597!  epsisl    absolute precision on stream function solver
598!  nmisl     maximum pcg iterations for island
599!  rnu       strength of the additional force used in free surface b.c.
600&namsol
601   nsolv     =      1
602   nsol_arp  =      0
603   nmin      =    300
604   nmax      =   2800
605   nmod      =     10
606   eps       =  1.E-6
607   resmax    = 1.E-10
608   sor       =   1.92
609   epsisl    = 1.e-10
610   nmisl     =   4000
611   rnu       =     1.
612/
613!-----------------------------------------------------------------------
614!       nam_istate   initial state
615!-----------------------------------------------------------------------
616!  n_teminit     Set to 0 for uniform initial temperature field and 1 for
617!                analytic initial temperature profile.
618!  n_sshinit     Set to 0 for a zero initial field and 1 for a gaussian
619!                bump
620&nam_istate
621   n_teminit     =      0
622   n_sshinit     =      0
623/
624!=======================================================================
625!   Diagnostics namelists
626!       namtrd    dynamics and/or tracer trends
627!       namgap    level mean model-data gap
628!       namznl    zonal mean heat & freshwater fluxes computation
629!       namspr    surface pressure in rigid-lid
630!=======================================================================
631!-----------------------------------------------------------------------
632!       namtrd    diagnostics on dynamics and/or tracer trends
633!                         ('key_trdyn' and/or 'key_trtra')
634!                 or mixed-layer trends ('key_trdmld')
635!-----------------------------------------------------------------------
636!  ntrd    time step frequency dynamics and tracers trends
637!  nctls   control surface type in mixed-layer trends (0,1 or n<jpk)
638!  ln_trdmld_restart restart for ML diagnostics
639!  ucf               unit conversion factor (=1 -> /seconds | =86400. -> /day)
640!  ln_trdmld_instant flag to diagnose trends of instantantaneous or mean ML T/S
641&namtrd
642   ntrd  = 365
643   nctls =   0
644   ln_trdmld_restart = .false.
645   ucf   =  1.
646   ln_trdmld_instant = .false.
647/
648!-----------------------------------------------------------------------
649!       namgap    level mean model-data gap ('key_diagap')
650!-----------------------------------------------------------------------
651!  ngap    time-step frequency of model-data gap computation
652!  nprg    time-step frequency of gap print in model output
653&namgap
654   ngap =  15
655   nprg =  10
656/
657!-----------------------------------------------------------------------
658!       namznl    zonal mean heat & freshwater fluxes computation
659!                 (#ifdef "key_diaznl")
660!-----------------------------------------------------------------------
661!  nfznl   time-step frequency of zonal mean fluxes computation
662&namznl
663   nfznl =  15
664/
665!-----------------------------------------------------------------------
666!       namspr  surface pressure diagnostic
667!-----------------------------------------------------------------------
668!  nmaxp   maximum of iterations for the solver
669!  epsp    absolute precision of the solver
670!  niterp  number of iteration done by the solver
671&namspr
672   nmaxp   =   1000
673   epsp    =  1.e-3
674   niterp  =    400
675/
676!-----------------------------------------------------------------------
677!       namcpl    coupled ocean/atmosphere model  (#ifdef "key_coupled")
678!-----------------------------------------------------------------------
679!  nexco   coupling frequency in time steps
680!  cchan   coupling technique 'PIPE' or 'CLIM'
681&namcpl
682   nexco            =         24
683   cchan            =     'PIPE'
684   nmodcpl          =          2
685   cplmodnam        =   'opa.xx'
686   cploasis         =    'Oasis'
687   nfldo2c          =          2
688   nflxc2o          =          6
689   ntauc2o          =          4
690   cpl_writ(1)      = 'SOSSTSST'
691   cpl_f_writ(1)    =   'ocesst'
692   cpl_writ(2)      = 'SOICECOV'
693   cpl_f_writ(2)    =   'oceice'
694   cpl_readflx(1)   = 'SONSFLDO'
695   cpl_f_readflx(1) =   'oceflx'
696   cpl_readflx(2)   = 'SOSHFLDO'
697   cpl_f_readflx(2) =   'oceflx'
698   cpl_readflx(3)   = 'SOTOPRSU'
699   cpl_f_readflx(3) =   'oceflx'
700   cpl_readflx(4)   = 'SOTFSHSU'
701   cpl_f_readflx(4) =   'oceflx'
702   cpl_readflx(5)   = 'SORUNCOA'
703   cpl_f_readflx(5) =   'oceflx'
704   cpl_readflx(6)   = 'SORIVFLU'
705   cpl_f_readflx(6) =   'oceflx'
706   cpl_readtau(1)   = 'SOZOTAUX'
707   cpl_f_readtau(1) =   'ocetau'
708   cpl_readtau(2)   = 'SOZOTAU2'
709   cpl_f_readtau(2) =   'ocetau'
710   cpl_readtau(3)   = 'SOMETAUY'
711   cpl_f_readtau(3) =   'ocetau'
712   cpl_readtau(4)   = 'SOMETAU2'
713   cpl_f_readtau(4) =   'ocetau'
714/
715!-----------------------------------------------------------------------
716!       namobc    open boundaries parameters (#ifdef key_obc)
717!-----------------------------------------------------------------------
718!  nobc_dta   = 0 the obc data are equal to the initial state
719!             = 1 the obc data are read in 'obc   .dta' files
720!  rdpeob  time relaxation (days) for the east open boundary
721!  rdpwob  time relaxation (days) for the west open boundary
722!  rdpnob  time relaxation (days) for the north open boundary
723!  rdpsob  time relaxation (days) for the south open boundary
724!  zbsic1  barotropic stream function on isolated coastline 1
725!  zbsic2  barotropic stream function on isolated coastline 2
726!  zbsic3  barotropic stream function on isolated coastline 3
727!  ln_obc_clim  climatological obc data files (default T)
728!  ln_vol_cst   total volume conserved
729&namobc
730    nobc_dta =    0
731    rdpein   =    1.
732    rdpwin   =    1.
733    rdpnin   =   30.
734    rdpsin   =    1.
735    rdpeob   = 1500.
736    rdpwob   =   15.
737    rdpnob   =  150.
738    rdpsob   =   15.
739    zbsic1   =  140.e+6
740    zbsic2   =    1.e+6
741    zbsic3   =    0.
742    ln_obc_clim = .true.
743    ln_vol_cst  = .false.
744/
745!-----------------------------------------------------------------------
746!       nambdy    unstructured open boundaries parameters (#ifdef key_bdy)
747!-----------------------------------------------------------------------
748!  filbdy_mask   = Name of mask file (at T-points)
749!  filbdy_data_T = Name of data file at T-points
750!  filbdy_data_U = Name of data file at U-points
751!  filbdy_data_V = Name of data file at V-points
752!  ln_bdy_clim = .true.: It is assumed that bdy data files contain 1 or
753!                        12 time dumps and that it is cyclic.
754!  ln_bdy_vol  = .true.: Total volume correction (see volbdy parameter)
755!  ln_bdy_fla  = .true.: Flather boundary conditions                         
756!  nbdy_dta    =   0 the bdy data are equal to the initial state
757!              =   1 the bdy data are read in 'bdydata   .nc' files
758!  nb_rimwidth = width of the relaxation zone
759!  volbdy      =   0 the total water flux across open boundaries is zero
760!              =   1 the total volume of the system is conserved
761!    filbdy_mask  ='bdymask_grid_T.nc'
762!    filbdy_data_T='bdydata_grid_T.nc'
763!    filbdy_data_U='bdydata_grid_T.nc'
764!    filbdy_data_V='bdydata_grid_T.nc'
765&nambdy
766    filbdy_data_T='bdydata_grid_T.nc'
767    filbdy_data_U='bdydata_grid_U.nc'
768    filbdy_data_V='bdydata_grid_V.nc'
769    ln_bdy_clim=.false.
770    ln_bdy_vol=.false.
771    ln_bdy_dyn_fla=.true.
772    ln_bdy_dyn_frs=.false.
773    ln_bdy_tra_frs=.false.
774    ln_bdy_tides=.true.
775
776
777
778    nbdy_dta =  0
779    nb_rimwidth = 1
780    volbdy = 1
781
782/
783!
784!-----------------------------------------------------------------------
785!       namgotm    vertical mixing calculated using GOTM
786&namgotm
787        filename = 'gotmturb.inp'
788        amt_min  = 1.e-6 ! for intialization
789        amt_max  =1.e3  ! for stability
790        epsilon_min =1e-8   ! for initialization
791        ntidestep = 1 ! number of extra step for a tidal foricng model
792/
793!-----------------------------------------------------------------------
794!       namtide   tidal forcing at unstructured boundaries
795!-----------------------------------------------------------------------
796!  filtide       = File name root of tidal forcing files
797!  tide_cpt      = Names of tidal components used
798!  tide_speed    = Phase speeds of tidal components (deg/hr)
799&namtide
800    filtide    ='AMM_bdytide_'
801    tide_cpt(1)   ='M2'
802    tide_speed(1)   = 28.984106
803    ln_tide_date = .true.
804/
805!-----------------------------------------------------------------------
806!       namflo    float parameters (#ifdef key_float)
807!-----------------------------------------------------------------------
808!  ln_rstflo   boolean term for float restart (true or false)
809!  nwritefl   frequency of float output file
810!  nstockfl   frequency of float restart file
811!  ln_argo    Argo type floats (stay at the surface each 10 days)
812!  ln_flork4  = T trajectories computed with a 4th order Runge-Kutta
813!             = F  (default)   computed with Blanke' scheme
814&namflo
815    ln_rstflo = .false.
816    nwritefl  =      75
817    nstockfl  =    5475
818    ln_argo   = .false.
819    ln_flork4 = .false.
820/
821!-----------------------------------------------------------------------
822!       nam_asminc    assim increment parameters (#ifdef key_asminc)
823!-----------------------------------------------------------------------
824!  aincstr    Assimilation period start time (s) relative to run start
825!  aincper    Assimilation period length (s)
826!  ln_trainc  Apply tracer incerements when assimilating
827!  ln_dyninc  Apply velocity incerements when assimilating
828&nam_asminc
829    aincstr   =     0.0
830    aincper   = 86400.0
831    ln_trainc =  .true.
832    ln_dyninc = .false.
833/
834
835/
836!-----------------------------------------------------------------------
837!       namsbc   surface boundary condition
838!-----------------------------------------------------------------------
839!  nn_fsbc         frequency update of sbc (and ice)
840!                  Type of sbc :
841!  ln_ana               analytical formulation
842!  ln_flx               flux       formulation
843!  ln_blk_clio          CLIO bulk  formulation
844!  ln_blk_core          core bulk  formulation
845!  ln_cpl               coupled    formulation (T if key_sbc_cpl)
846!  ln_dm2dc        daily mean to diurnal cycle qsr
847!  ln_rnf          runoff / runoff mouths
848!  ln_ssr          Sea Surface Restoring on SST and/or SSS
849!  nn_ice          ice management in the sbc (=0/1/2/3)
850!  nn_fwb          FreshWater Budget control  (=0/1/2)
851!  nn_ico_cpl      ice-ocean stress computation (=0/1/2)
852&namsbc
853   nn_fsbc     =  1
854   ln_ana      = .TRUE.
855   ln_flx      = .FALSE.
856   ln_blk_clio = .FALSE.
857   ln_blk_core = .FALSE.
858   ln_cpl      = .FALSE.
859   ln_dm2dc    = .FALSE.
860   ln_rnf      = .FALSE.
861   ln_ssr      = .FALSE.
862   nn_ice      = 0
863   nn_fwb      = 0
864   nn_ico_cpl  = 0
865/
866!-----------------------------------------------------------------------
867!       namsbc_ana   constant surface fluxes
868!-----------------------------------------------------------------------
869!  nn_tau000   gently increase the stress over the first ntau_rst time-steps
870!  rn_utau0    default wind stress value in i-direction
871!  rn_vtau0    default wind stress value in j-direction
872!  rn_qns0     uniform value used as default non-solar heat flux
873!  rn_qsr0     uniform value used as default solar heat flux
874!  rn_emp0     uniform value used as default surface freswater budget (E-P)
875&namsbc_ana
876   nn_tau000  =    0
877   rn_utau0   =    0.e0
878   rn_vtau0   =    0.e0
879   rn_qns0    =    0.e0
880   rn_qsr0    =    0.e0
881   rn_emp0    =    0.e0
882/
883