-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathparam.nml
More file actions
628 lines (561 loc) · 30.8 KB
/
param.nml
File metadata and controls
628 lines (561 loc) · 30.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
!parameter inputs via namelist convention.
!(1) Use ' ' (single quotes) for chars;
!(2) integer values are fine for real vars/arrays;
!(3) if multiple entries for a parameter are found, the last one wins - please avoid this
!(4) array inputs follow column major (like FORTRAN) and can spill to multiple lines
!(5) space allowed before/after '='
&CORE
!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
! Core (mandatory) parameters; no defaults
!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
! Pre-processing option. Useful for checking grid violations.
ipre = 0 !Pre-processor flag (1: on; 0: off)
! Baroclinic/barotropic option. If ibc=0 (baroclinic model), ibtp is not used.
ibc = 0 !Baroclinic option
ibtp = 1
rnday = 365. !total run time in days
dt = 100. !Time step in sec
! Grid for WWM (USE_WWM)
msc2 = 24 !same as msc in .nml ... for consitency check between SCHISM and WWM
mdc2 = 30 !same as mdc in .nml
! Define # of tracers in tracer modules (if enabled)
ntracer_gen = 30 !user defined module (USE_GEN)
ntracer_age = 4 !age calculation (USE_AGE). Must be =2*N where N is # of age tracers
sed_class = 5 !SED3D (USE_SED)
eco_class = 27 !EcoSim (USE_ECO): must be between [25,60]
! Global output controls
!output hourly
nspool = 36 !output step spool
!10 days per file
ihfskip = 8640 !stack spool; every ihfskip steps will be put into 1_*, 2_*, etc...
/
&OPT
!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
! Optional parameters
!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
! Starting time
start_year = 2019 !int
start_month = 1 !int
start_day = 1 !int
start_hour = 0 !double
utc_start = 0 !double
!-----------------------------------------------------------------------
! Coordinate option: 1: Cartesian; 2: lon/lat (hgrid.gr3=hgrid.ll in this case,
! and orientation of element is outward of earth)
!-----------------------------------------------------------------------
ics = 2 !Coordinate option
!-----------------------------------------------------------------------
! Hotstart option. 0: cold start; 1: hotstart with time reset to 0; 2:
! continue from the step in hotstart.nc
!-----------------------------------------------------------------------
ihot = 0
!-----------------------------------------------------------------------
! Equation of State type used
! ieos_type=0: UNESCO 1980 (nonlinear); =1: linear function of T ONLY, i.e.
! \rho=eos_b+eos_a*T, where eos_a<=0 in kg/m^3/C
!-----------------------------------------------------------------------
ieos_type = 0
ieos_pres = 0 !used only if ieos_type=0. 0: without pressure effects
eos_a = -0.1 !needed if ieos_type=1; should be <=0
eos_b = 1001. !needed if ieos_type=1
!-----------------------------------------------------------------------
! Main ramp option
!-----------------------------------------------------------------------
! nramp = 1 !ramp-up option (1: on; 0: off)
dramp = 1. !needed if nramp=1; ramp-up period in days
! nrampbc = 0 !ramp-up flag for baroclinic force
drampbc = 1. !not used if nrampbc=0
!-----------------------------------------------------------------------
! Method for momentum advection. 0: ELM; 1: upwind (not quite working yet)
!-----------------------------------------------------------------------
iupwind_mom = 0
!-----------------------------------------------------------------------
! Methods for computing velocity at nodes.
! If indvel=0, conformal linear shape function is used; if indvel=1, averaging method is used.
! For indvel=0, a stabilization method is needed (see below).
!-----------------------------------------------------------------------
indvel = 0
!-----------------------------------------------------------------------
! 2 stabilization methods, mostly for indvel=0.
! (1) Horizontal viscosity option. ihorcon=0: no viscosity is used; =1: Lapacian;
! =2: bi-harmonic. If ihorcon=1, horizontal viscosity _coefficient_ (<=1/8, related
! to diffusion number) is given in hvis_coef0, and the diffusion #
! is problem dependent; [0.001-1/8] seems to work well.
! If ihorcon=2, diffusion number is given by hvis_coef0 (<=0.025).
! If indvel=1, no horizontal viscosity is needed.
! (2) Shapiro filter (see below)
!
! For non-eddying regime applications (nearshore, estuary, river), two easiest options are:
! (1) indvel=1, ishapiro=ihorcon=0, and any choices of inter_mom;
! (2) indvel=0, ishapiro=1 (shapiro0=0.5), ihorcon=inter_mom=0.
! For applications that include eddying regime, refer to the manual.
!-----------------------------------------------------------------------
ihorcon = 0
hvis_coef0 = 0.025 !const. diffusion # if ihorcon/=0; <=0.025 for ihorcon=2, <=0.125 for ihorcon=1
! cdh = 0.01 !needed only if ihorcon/=0; land friction coefficient - not active yet
!-----------------------------------------------------------------------
! 2nd stabilization method via Shapiro filter. This should normally be used
! if indvel=ihorcon=0. To transition between eddying/non-eddying regimes, use
! indvel=0, ihorcon/=0, and ishapiro=-1 (shapiro.gr3).
!-----------------------------------------------------------------------
ishapiro = 1 !on/off flag
shapiro0 = 0.5 !Shapiro filter strength, needed only if ishapiro=1; max is 0.5
niter_shap = 1 !needed of ishapiro/=0 - # of iterations with Shapiro filter. Suggested: 1
!-----------------------------------------------------------------------
! Implicitness factor (0.5<thetai<=1).
!-----------------------------------------------------------------------
thetai = 0.6
!-----------------------------------------------------------------------
! If WWM is used, set coupling/decoupling flag. Not used if USE_WWM is distabled in Makefile
! 0: decoupled so 2 models will run independently;
! 1: full coupled (elevation, vel, and wind are all passed to WWM);
! 2: elevation and currents in wwm, no wave force in SCHISM;
! 3: no elevation and no currents in wwm, wave force in SCHISM;
! 4: elevation but no currents in wwm, wave force in SCHISM;
! 5: elevation but no currents in wwm, no wave force in SCHISM;
! 6: no elevation but currents in wwm, wave force in SCHISM;
! 7: no elevation but currents in wwm, no wave force in SCHISM;
! Note that all these parameters must be present in this file (even though not used).
!-----------------------------------------------------------------------
icou_elfe_wwm = 0
nstep_wwm = 1 !call WWM every this many time steps. If /=1, consider using quasi-steady mode in WWM
iwbl = 0 !wave boundary layer formulation (used only if USE_WMM and
!icou_elfe_wwm/=0 and nchi=1. If icou_elfe_wwm=0, set iwbl=0):
!1-modified Grant-Madsen formulation; 2-Soulsby (1997)
hmin_radstress = 1. !min. total water depth used only in radiation stress calculation [m]
! nrampwafo = 1 !ramp-up option for the wave forces (1: on; 0: off)
drampwafo = 1. !needed if nrampwafo=1; ramp-up period in days
turbinj = 0.15 !% of depth-induced wave breaking energy injected in turbulence (default: 0.15 (15%), as proposed by Feddersen, 2012)
!-----------------------------------------------------------------------
! Bed deformation option (0: off; 1: vertical deformation only; 2: 3D bed deformation).
! If imm=1, bdef.gr3 is needed; if imm=2, user needs to update depth info etc
! in the code (not working for ics=2 yet).
!-----------------------------------------------------------------------
imm = 0
ibdef = 10 !needed if imm=1; # of steps used in deformation
!-----------------------------------------------------------------------
! Reference latitude for beta-plane approximation when ncor=1 (not used if ics=2)
!-----------------------------------------------------------------------
slam0 = -124 !lon - not really used
sfea0 = 45 !lat
!-----------------------------------------------------------------------
! Baroclinicity calculation in off/nearshore. The 'below-bottom' gradient
! is zeroed out if h>=h2_bcc (i.e. like Z) or uses const extrap
! (i.e. like terrain-following) if h<=h1_bcc(<h2_bcc) (and linear
! transition in between based on local depth)
!-----------------------------------------------------------------------
h1_bcc = 50. ![m]
h2_bcc = 100. ![m]; >h1_bcc
!-----------------------------------------------------------------------
! Hydraulic model option. If ihydraulics/=0, hydraulics.in
! is required. This option cannot be used with non-hydrostatic model.
!-----------------------------------------------------------------------
ihydraulics = 0
!-----------------------------------------------------------------------
! Point sources/sinks option (0: no; 1: on). If =1, needs source_sink.in (list of elements),
! vsource,th, vsink.th, and msource.th. Source/sinks can be specified at an elem more
! than once, and the code will accumulate the volumes, but for mass conc, one of
! the specified values will be taken (no summation).
!-----------------------------------------------------------------------
if_source = 0
! nramp_ss = 1 !needed if if_source=1; ramp-up flag for source/sinks
dramp_ss = 2. !needed if if_source=1; ramp-up period in days
!-----------------------------------------------------------------------
! Horizontal diffusivity option. if ihdif=1, horizontal diffusivity is given in hdif.gr3
!-----------------------------------------------------------------------
ihdif = 0
!-----------------------------------------------------------------------
! Bottom friction.
! nchi=0: drag coefficients specified in drag.gr3; nchi=-1: Manning's
! formulation (even for 3D prisms).
! nchi=1: bottom roughness (in meters) specified in rough.gr3 (and in this case, negative
! or 0 depths in rough.gr3 indicate time-independent Cd, not roughness!).
! Cd is calculated using the log law, when dzb>=dzb_min; when dzb<dzb_min,
! Cd=Cdmax*exp[dzb_decay*(1-dzb/dzb_min)], where Cdmax=Cd(dzb=dzb_min),
! and dzb_decay (<=0) is a decay const specified below. We recommend dzb_decay=0
! and may remove this constant in the future.
! If iwbl/=0, nchi must =1.
!-----------------------------------------------------------------------
nchi = -1
!-----------------------------------------------------------------------
! Coriolis. If ncor=-1, specify "rlatitude" (in degrees); if ncor=0,
! specify Coriolis parameter in "coricoef"; if ncor=1, model uses
! lat/lon in hgrid.ll for beta-plane approximation if ics=1, and in this case,
! the latitude specified in CPP projection ('sfea0') is used. If ncor=1 and ics=2,
! Coriolis is calculated from local latitude, and 'sfea0' is not used.
!-----------------------------------------------------------------------
ncor = 1 !should usually be 1 if ics=2
coricoef = 0 !if ncor=0
!-----------------------------------------------------------------------
! Elevation initial condition flag for cold start only. If ic_elev=1, elev.ic (in *.gr3 format) is needed
! to specify the initial elevations; otherwise elevation is initialized to 0 everywhere
!-----------------------------------------------------------------------
ic_elev = 0
!-----------------------------------------------------------------------
! Elevation boundary condition ramp-up flag. =0: ramp up from 0; =1: ramp up from
! elev. values read in from elev.ic or hotstart.nc - if neither is present, from 0.
! This flag is mainly used to start the simulation from non-zero elev.
! The ramp-up period is same as 'dramp' below.
!-----------------------------------------------------------------------
nramp_elev = 0
!-----------------------------------------------------------------------
! Optional inverse barometric effects on the elev. b.c.
! If inv_atm_bnd=1, the elev.'s at boundary are corrected by the difference
! between the actual atmos. pressure and a reference pressure (prmsl_ref below)
!-----------------------------------------------------------------------
inv_atm_bnd = 0 !0: off; 1: on
prmsl_ref = 101325. !reference atmos. pressure on bnd [Pa]
!-----------------------------------------------------------------------
! Initial condition for T,S. This value only matters for ihot=0 (cold start).
! If flag_ic(1:2)=1, the initial T,S field is read in from temp.ic and salt.ic (horizontally varying).
! If flag_ic(1:2)=2, the initial T,S field is read in from ts.ic (vertical varying).
! If ihot=0 && flag_ic(1:2)=2 || ibcc_mean=1, ts.ic is used for removing mean density profile.
! flag_ic(1) must =flag_ic(2)
!-----------------------------------------------------------------------
flag_ic(1) = 1 !T
flag_ic(2) = 1 !S
! initial conditions for other tracers.
! 1: needs inputs [MOD]_hvar_[1,2,...].ic ('1...' is tracer id); format of each file is similar to salt.ic;
! i.e. horizontally varying i.c. is used for each tracer.
! 2: needs [MOD]_vvar_[1,2,...].ic. Format of each file (for each tracer in tis MOD) is similar to ts.ic
! (i.e. level #, z-coord., tracer value). Verically varying i.c. is used for each tracer.
! 0: model sets own i.c. (EcoSim; TIMOR)
flag_ic(3) = 1 !GEN (user defined module)
flag_ic(4) = 1 !Age
flag_ic(5) = 1 !SED3D
flag_ic(6) = 1 !EcoSim
flag_ic(7) = 1 !ICM
flag_ic(8) = 1 !CoSINE
flag_ic(9) = 1 !FIB
flag_ic(10) = 1 !TIMOR
flag_ic(11) = 1 !FABM
flag_ic(12) = 0 !DVD
!-----------------------------------------------------------------------
! Settling vel [m/s] for GEN module (positive downward)
!-----------------------------------------------------------------------
gen_wsett = 1.e-4
!-----------------------------------------------------------------------
! Mean T,S profile option. If ibcc_mean=1 (or ihot=0 and flag_ic(1)=2), mean profile
! is read in from ts.ic, and will be removed when calculating baroclinic force.
! No ts.ic is needed if ibcc_mean=0.
!-----------------------------------------------------------------------
ibcc_mean = 0
!-----------------------------------------------------------------------
! Max. horizontal velocity magnitude, used mainly to prevent problem in
! bulk aerodynamic module
!-----------------------------------------------------------------------
rmaxvel = 10.
!-----------------------------------------------------------------------
! Following 2 parameters control backtracking
!-----------------------------------------------------------------------
!-----------------------------------------------------------------------
! min. vel for invoking btrack and for abnormal exit in quicksearch
!-----------------------------------------------------------------------
velmin_btrack = 1.e-4
!-----------------------------------------------------------------------
! Nudging factors for starting side/node - add noise to avoid underflow
! The starting location is nudged to: old*(1-btrack_nudge)+btrack_nudge*centroid
! Suggested value: btrack_nudge=9.013e-3
!-----------------------------------------------------------------------
btrack_nudge= 9.013e-3
!-----------------------------------------------------------------------
! Wetting and drying.
! - if ihhat=1, \hat{H} is made non-negative to enhance robustness near
! wetting and drying; if ihhat=0, no retriction is imposed for this quantity.
! - inunfl=0 is used for normal cases and inunfl=1 is used for more accurate wetting
! and drying if grid resolution is sufficiently fine.
! - if shorewafo=1, we impose radiation stress R_s = g*grad(eta) (balance between radiation stress
! gradients and the barotropic gradients) at the numerical shoreline (boundary between
! dry and wet elements). This option ensures that the shallow depth in dry elements does not
! create unphysical and very high wave forces at the shoreline (advised for morphodynamics runs).
!-----------------------------------------------------------------------
ihhat = 1
inunfl = 0
h0 = 0.01 !min. water depth for wetting/drying [m]
shorewafo = 0 !Matters only if USE_WWM
!-----------------------------------------------------------------------
! Solver options
! USE_PETSC controls the solver type. If it's diabled, the default JCG
! solver is used. If it's enabled, use PetSc lib. Some of the parameters
! have different meanings under these 2 options. Also with PetSc one can
! use cmd line options to choose solver etc.
!-----------------------------------------------------------------------
moitn0 = 100 !output spool for solver info; used only with JCG
mxitn0 = 1500 !max. iteration allowed
rtol0 = 1.e-12 !error tolerance
!-----------------------------------------------------------------------
! Advection (ELM) option. If nadv=1, backtracking is done using Euler method;
! nadv=2, using 2nd order Runge-Kutta; if nadv=0, advection in momentum
! is turned off/on in adv.gr3 (the depths=0,1, or 2 also control methods
! in backtracking as above). dtb_max/min are the max/min steps allowed -
! actual step is calculated adaptively based on local gradient.
!-----------------------------------------------------------------------
nadv = 2
dtb_max = 30. !in sec
dtb_min = 10.
!-----------------------------------------------------------------------
! If inter_mom=0, linear interpolation is used for velocity at foot of char. line.
! If inter_mom=1 or -1, Kriging is used, and the choice of covariance function is
! specified in 'kr_co'. If inter_mom=1, Kriging is applied to whole domain;
! if inter_mom=-1, the regions where Kriging is used is specified in krvel.gr3
! (depth=0: no kriging; depth=1: with kriging).
!-----------------------------------------------------------------------
inter_mom = 0
kr_co = 1 !not used if inter_mom=0
!-----------------------------------------------------------------------
! Transport method.
! If itr_met=1, upwind method is used. If itr_met>=2, TVD or WENO method is used
! on an element/prism if the total depth (at all nodes of the elem.)>=h_tvd and the flag in
! tvd.prop = 1 for the elem. (tvd.prop is required in this case);
! otherwise upwind is used for efficiency.
! itr_met=3 (horizontal TVD) or 4 (horizontal WENO): implicit TVD in the vertical dimension.
! Also if itr_met==3 and h_tvd>=1.e5, some parts of the code are bypassed for efficiency
! Controls for WENO are not yet in place
!-----------------------------------------------------------------------
itr_met = 3
h_tvd = 5. !used only if itr_met>=2; cut-off depth (m)
!If itr_met=3 or 4, need the following 2 tolerances of convergence. The convergence
!is achieved when sqrt[\sum_i(T_i^s+1-T_i^s)^2]<=eps1_tvd_imp*sqrt[\sum_i(T_i^s)^2]+eps2_tvd_imp
eps1_tvd_imp = 1.e-4 !suggested value is 1.e-4, but for large suspended load, need to use a smaller value (e.g. 1.e-9)
eps2_tvd_imp = 1.e-14
!-----------------------------------------------------------------------
! Atmos. option. nws=3 is reserved for coupling with atmospheric model.
! If nws=0, no atmos. forcing is applied. If nws=1, atmos.
! variables are read in from wind.th. If nws=2, atmos. variables are
! read in from sflux_ files.
! If nws=4, ascii format is used for wind and atmos. pressure at each node (see source code).
! If nws>0, 'iwindoff' can be used to scale wind speed (with windfactor.gr3).
!
! Stress calculation:
! If nws=2, ihconsv=1 and iwind_form=0, the stress is calculated from heat exchange
! routine;
! Otherwise if iwind_form=-1, the stress is calculated from Pond & Pichard formulation;
! if iwind_form=1, Hwang (2018) formulation (Cd tapers off at high wind).
! If WWM is enabled and icou_elfe_wwm>0 and iwind_form=-2, stress is overwritten by WWM.
! In all cases, if USE_ICE the stress in ice-covered portion is calculated by ICE routine.
!-----------------------------------------------------------------------
nws = 2
! wtiminc = 3600. !time step for atmos. forcing
! nrampwind = 1 !ramp-up option for atmos. forcing
! drampwind = 2. !needed if nrampwind/=0; ramp-up period in days
! iwindoff = 0 !needed only if nws/=0; '1': needs windfactor.gr3
! iwind_form = -1 !needed if nws/=0
!If impose_net_flux/=0 and nws=2, read in net _surface_ heat flux as var 'dlwrf'
!(Downward Long Wave) in sflux_rad (solar radiation is still used separately),
!and if PREC_EVAP is on, also read in net P-E as 'prate' (Surface Precipitation Rate) in sflux_prc.
! impose_net_flux = 0
!-----------------------------------------------------------------------
! Heat and salt exchange. isconsv=1 needs ihconsv=1; ihconsv=1 needs nws=2.
! If isconsv=1, need to compile with precip/evap module turned on.
!-----------------------------------------------------------------------
ihconsv = 1 !heat exchange option
isconsv = 0 !evaporation/precipitation model
!-----------------------------------------------------------------------
! Turbulence closure.
!-----------------------------------------------------------------------
itur = 3
dfv0 = 1.e-6 !needed if itur=0
dfh0 = 1.e-6 !needed if itur=0
!-----------------------------------------------------------------------
! Sponge layer for elevation and vel.
! If inu_elev=0, no relaxation is applied to elev.
! If inu_elev=1, relax. constants are specified in elev_nudge.gr3
! and applied to eta=0 (thus a depth=0 means no relaxation).
! Similarly for inu_uv (with input uv_nudge.gr3)
!-----------------------------------------------------------------------
inu_elev = 0
inu_uv = 0
!-----------------------------------------------------------------------
! Nudging options for tracers. If inu_[MOD]=0, no nudging is used. If inu_tr=1,
! nudge to initial condition according to relaxation constants specified.
! If inu_tr=2, nudge to values in [MOD]_nu.nc (with step 'step_nu_tr').
! The relaxation constants = [horizontal relax (specified in [MOD]_nudge.gr3) +
! vertical relax] times dt, where vertical relax is a linear function of
! vnh[1,2] and vnf[1,2], and [MOD] are tracer model names.
!-----------------------------------------------------------------------
inu_tr(1) = 0 !T
inu_tr(2) = 0 !S
inu_tr(3) = 0 !GEN
inu_tr(4) = 0 !Age
inu_tr(5) = 0 !SED3D
inu_tr(6) = 0 !EcoSim
inu_tr(7) = 0 !ICM
inu_tr(8) = 0 !CoSINE
inu_tr(9) = 0 !FIB
inu_tr(10) = 0 !TIMOR
inu_tr(11) = 0 !FABM
inu_tr(12) = 0 !DVD
vnh1 = 400 !vertical nudging depth 1
vnf1 = 0. !vertical relax \in [0,1]
vnh2 = 401 !vertical nudging depth 2 (must >vnh1)
vnf2 = 0. !vertical relax
step_nu_tr = 86400. !time step [sec] in all [MOD]_nu.nc (for inu_[MOD]=2)
!-----------------------------------------------------------------------
! Cut-off depth for cubic spline interpolation near bottom when computing horizontal gradients
! e.g. using hgrad_nodes() (radiation stress, and gradients of qnon and qhat in non-hydro model).
! If depth > h_bcc1 ('deep'),
! a min. (e.g. max bottom z-cor for the element) is imposed in the spline and so a more
! conservative method is used without extrapolation beyond bottom;
! otherwise constant extrapolation below bottom is used.
!-----------------------------------------------------------------------
h_bcc1 = 100. !h_bcc1
!-----------------------------------------------------------------------
! Dimensioning parameters for inter-subdomain btrack.
! If error occurs like 'bktrk_subs: overflow' or 'MAIN: nbtrk > mxnbt'
! gradually increasing these will solve the problem
!-----------------------------------------------------------------------
s1_mxnbt = 0.5
s2_mxnbt = 3.5
!-----------------------------------------------------------------------
! Flag for harmonic analysis for elevation. If used , need to turn on cpp flags
! in Makefile first. Otherwise set it to 0.
!-----------------------------------------------------------------------
iharind = 0
!-----------------------------------------------------------------------
! Conservation check option. If iflux=1, some fluxes are computed
! in regions specified in fluxflag.prop (regional number from -1 to an arbitrary integer).
!-----------------------------------------------------------------------
iflux = 0
!-----------------------------------------------------------------------
! Test flags for debugging. These flags should be turned off normally.
!-----------------------------------------------------------------------
! Williamson test #5 (zonal flow over an isolated mount); if
! on, ics must =2
!-----------------------------------------------------------------------
izonal5 = 0 !"0" - no test; otherwise on
!-----------------------------------------------------------------------
! Rotating Gausshill test with stratified T,S (1: on; 0: off)
! Surface T,S read in from *.ic; code generates stratification
!-----------------------------------------------------------------------
ibtrack_test = 0
!-----------------------------------------------------------------------
! Rouse profile test (1: on; 0: off)
! If on, must turn on USE_TIMOR
!-----------------------------------------------------------------------
irouse_test = 0
!-----------------------------------------------------------------------
! Flag to choose FIB model for bacteria decay (used with USE_FIB)
! flag_fib = 1 - Constant decay rate (/day) in .gr3 format
! (kkfib_1.gr3 and kkfib_2.gr3)
! flag_fib = 2 - Decay rate computed from Canteras et al., 1995
! flag_fib = 3 - Decay rate computed from Servais et al., 2007
!----------------------------------------------------------------------
flag_fib = 1
!----------------------------------------------------------------------
! Marsh model parameters (only if USE_MARSH is on)
!----------------------------------------------------------------------
slr_rate = 120. !sea-level rise rate in mm/yr, times morphological acceleration if used
!----------------------------------------------------------------------
! Vegetation model
! If isav=1, need 3 extra inputs: (1) sav_D.gr3 (depth is stem diameter in meters);
! (2) sav_N.gr3 (depth is # of stems per m^2);
! (3) sav_h.gr3 (height of canopy in meters).
! If one of these depths=0 at a node, the code will set all to 0.
! If USE_MARSH is on and isav=1, all .gr3 must have constant depths!
!----------------------------------------------------------------------
isav = 0 !on/off flag
!----------------------------------------------------------------------
! Coupling step with ICE module.
!----------------------------------------------------------------------
nstep_ice = 1 !call ice module every nstep_ice steps of SCHISM
!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
! Physical constants
!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
!-----------------------------------------------------------------------
! Earth's radii at pole and equator (to define an ellipsoid)
!-----------------------------------------------------------------------
rearth_pole = 6378206.4
rearth_eq = 6378206.4
!-----------------------------------------------------------------------
! Specific heat of water (C_p) in J/kg/K
!-----------------------------------------------------------------------
shw = 4184.d0
!-----------------------------------------------------------------------
! Reference water density for Boussinesq approximation
!-----------------------------------------------------------------------
rho0 = 1000.d0 !kg/m^3
/
&SCHOUT
!-----------------------------------------------------------------------
! Output section - all optional
!-----------------------------------------------------------------------
! Option for hotstart outputs
!-----------------------------------------------------------------------
nhot = 0 !1: output *_hotstart every 'hotout_write' steps
nhot_write = 63072 !must be a multiple of ihfskip if nhot=1
!-----------------------------------------------------------------------
! Station output option. If iout_sta/=0, need output skip (nspool_sta) and
! a station.in. If ics=2, the cordinates in station.in must be in lon., lat,
! and z (positive upward; not used for 2D variables).
!-----------------------------------------------------------------------
iout_sta = 0
nspool_sta = 10 !needed if iout_sta/=0; mod(nhot_write,nspool_sta) must=0
!-----------------------------------------------------------------------
! Global output options
!-----------------------------------------------------------------------
iof_hydro(1) = 0 !0: off; 1: on - elev. [m]
iof_hydro(2) = 0 !air pressure [Pa]
iof_hydro(3) = 0 !air temperature [C]
iof_hydro(4) = 0 !Specific humidity [-]
iof_hydro(5) = 0 !solar (shortwave) radiation [W/m/m]
iof_hydro(6) = 0 !sensible flux (positive upward) [W/m/m]
iof_hydro(7) = 0 !latent heat flux (positive upward) [W/m/m]
iof_hydro(8) = 0 !upward longwave radiation (positive upward) [W/m/m]
iof_hydro(9) = 0 !downward longwave radiation (positive downward) [W/m/m]
iof_hydro(10) = 0 !total flux=-flsu-fllu-(radu-radd) [W/m/m]
iof_hydro(11) = 0 !evaporation rate [kg/m/m/s]
iof_hydro(12) = 0 !precipitation rate [kg/m/m/s]
iof_hydro(13) = 0 !Bottom drag coefficient [-]
iof_hydro(14) = 0 !wind velocity vector [m/s]
iof_hydro(15) = 0 !wind stress vector [m^2/s/s]
iof_hydro(16) = 0 !depth-averaged vel vector [m/s]
iof_hydro(17) = 1 !vertical velocity [m/s]
iof_hydro(18) = 0 !water temperature [C]
iof_hydro(19) = 0 !water salinity [PSU]
iof_hydro(20) = 0 !water density [kg/m^3]
iof_hydro(21) = 0 !eddy diffusivity [m^2/s]
iof_hydro(22) = 0 !eddy viscosity [m^2/s]
iof_hydro(23) = 0 !turbulent kinetic energy
iof_hydro(24) = 0 !turbulent mixing length [m]
iof_hydro(26) = 1 !horizontal vel vector [m/s]
iof_hydro(27) = 0 !horizontal vel vector defined @side [m/s]
iof_hydro(28) = 0 !vertical vel. @elem [m/s]
iof_hydro(29) = 0 !T @prism centers [C]
iof_hydro(30) = 0 !S @prism centers [PSU]
iof_hydro(31) = 0 !Barotropic pressure gradient force vector (m.s-2) @side centers
!-----------------------------------------------------------------------
! Tracer module outputs. In most cases, actual # of outputs depends on # of tracers used
!-----------------------------------------------------------------------
! Outputs for user-defined tracer module (USE_GEN)
!-----------------------------------------------------------------------
iof_gen(1) = 1 !1st tracer, A
iof_gen(2) = 1 !2nd tracer, Qn
iof_gen(3) = 1 !3rd tracer, Qp
iof_gen(4) = 1 !4th tracer, Z1
iof_gen(5) = 1 !5th tracer, Z2
iof_gen(6) = 1 !6th tracer, NO3
iof_gen(7) = 1 !7th tracer, NH4
iof_gen(8) = 1 !8th tracer, PO4
iof_gen(9) = 1 !9 tracer, DIC
iof_gen(10) = 1 !10 tracer, O2
iof_gen(11) = 1 !11 tracer, OM1CA
iof_gen(12) = 1 !12 tracer, OM1NA
iof_gen(13) = 1 !13 tracer, OM1PA
iof_gen(14) = 1 !14 tracer, OM2CA
iof_gen(15) = 1 !15 tracer, OM2NA
iof_gen(16) = 1 !16 tracer, OM2PA
iof_gen(17) = 1 !17 tracer, OM1CZ
iof_gen(18) = 1 !18 tracer, OM1NZ
iof_gen(19) = 1 !19 tracer, OM1PZ
iof_gen(20) = 1 !20 tracer, OM2CZ
iof_gen(21) = 1 !21 tracer, OM2NZ
iof_gen(22) = 1 !22 tracer, OM2PZ
iof_gen(23) = 1 !23 tracer, OM1R
iof_gen(24) = 1 !24 tracer, OM2R
iof_gen(25) = 1 !25 tracer, CDOM
iof_gen(26) = 1 !26 tracer, Si
iof_gen(27) = 1 !27 tracer, OM1_BC
iof_gen(28) = 1 !28 tracer, OM2_BC
iof_gen(29) = 1 !29 tracer, ALK
iof_gen(30) = 1 !30 tracer, iTr
/