1 |
# ==================== |
2 |
# | Model parameters | |
3 |
# ==================== |
4 |
# |
5 |
# Continuous equation parameters |
6 |
&PARM01 |
7 |
tRef = 42*20., |
8 |
sRef = 42*35., |
9 |
bottomDragQuadratic = 0.002, |
10 |
viscAr=1.5E-4, |
11 |
# This is the minimum viscosity used total=viscah+viscleith |
12 |
# Often U*deltaX/2 for grid noise (Griffies and Hallberg,2000) |
13 |
# viscAh=1.1E4, |
14 |
viscAh=1.E3, |
15 |
# viscA4=3.E2, |
16 |
# viscA4=1.E4, |
17 |
# This is the standard Leith Viscosity, prop to grad(curl v_h) |
18 |
viscC2leith=1.5, |
19 |
# viscC4leith=.2, |
20 |
# This is an additional Leith Viscosity, prop to grad(div.v_h) |
21 |
# It traps instabilities that have no signal in grad(curl v_h) |
22 |
viscC2leithD=1.5, |
23 |
# viscC4leithD=.2, |
24 |
# These are the minimum viscosities used with Smagorinsky |
25 |
# total=viscastrain+viscsmag, etc. |
26 |
# viscAstrain=3.E1, |
27 |
# viscAtension=3.E1, |
28 |
# This is harmonic Smagorinsky Coefficient |
29 |
# 0.15=value from 3-d turbulence theory; |
30 |
# 3-4=stable oceanic values (Griffies and Hallberg, 2000) |
31 |
# viscC2Smag=4., |
32 |
# This is the max Viscosity used, be it Smag or Leith, and it scales |
33 |
# with grid size and timestep |
34 |
# Often 0.5 for stability (Griffies and Hallberg,2000) |
35 |
# viscAhGridMax=0.5, |
36 |
# viscA4GridMax=.5, |
37 |
# viscA4max = 1.E11, |
38 |
useFullLeith=.TRUE., |
39 |
# viscA4=1.4E10, |
40 |
viscA4=1.5E10, |
41 |
#- diffKhT=.5E3, |
42 |
# ********** DIFFUSION ************* |
43 |
#- diffKhS=.5E3, |
44 |
diffK4T=1.5E10, |
45 |
diffK4S=1.5E10, |
46 |
diffKrNrT=3*3.E-5,12*3.E-5,1*1.E-5,1*7.E-6,1*2.E-6,1*8.E-7,1*4.E-7,22*1.E-7, |
47 |
diffKrNrS=3*3.E-5,12*3.E-5,1*1.E-5,1*7.E-6,1*2.E-6,1*8.E-7,1*4.E-7,22*1.E-7, |
48 |
staggerTimeStep = .TRUE. |
49 |
tempAdvScheme = 33, |
50 |
saltAdvScheme = 33, |
51 |
implicitDiffusion=.TRUE., |
52 |
implicitViscosity=.TRUE., |
53 |
vectorInvariantMomentum=.TRUE., |
54 |
nonLinFreeSurf = 0, |
55 |
# exactConserv = .TRUE., |
56 |
rhonil=1035., |
57 |
gravity=9.81, |
58 |
# eosType = 'MDJWF', |
59 |
eosType = 'JMD95Z', |
60 |
ivdc_kappa=1., |
61 |
useOldFreezing=.TRUE., |
62 |
# useRealFreshWaterFlux=.TRUE., |
63 |
useNHMTerms=.TRUE., |
64 |
# turn on looped cells |
65 |
hFacMin=.1, |
66 |
hFacMindr=30., |
67 |
# set precision of data files |
68 |
readBinaryPrec=32, |
69 |
useSingleCpuIO=.TRUE., |
70 |
#debugMode = .TRUE., |
71 |
& |
72 |
|
73 |
# Elliptic solver parameters |
74 |
&PARM02 |
75 |
cg2dMaxIters=500, |
76 |
cg2dTargetResidual=1.E-13, |
77 |
& |
78 |
|
79 |
# Time stepping parameters |
80 |
&PARM03 |
81 |
nIter0 = 0, |
82 |
nTimeSteps = 240, |
83 |
#- 366.days ; 32.days (1 yr of integration will yield a reasonable flow field) |
84 |
#endTime = 31622400., |
85 |
#endTime = 2764800., |
86 |
deltaTmom = 1800.0, |
87 |
deltaTtracer= 1800.0, |
88 |
deltaTClock = 1800.0, |
89 |
abEps = 0.1, |
90 |
#pChkptFreq= 2628000., |
91 |
dumpFreq= 864000., |
92 |
taveFreq= 2628000., |
93 |
# taveFreq= 31536000., |
94 |
monitorFreq= 86400., |
95 |
monitorFreq= 3600., |
96 |
# 1 months restoring timescale for temperature |
97 |
# tauThetaClimRelax = 2592000., |
98 |
# 5 days restoring timescale for salinity |
99 |
# tauSaltClimRelax = 432000., |
100 |
# periodicExternalForcing=.TRUE., |
101 |
# externForcingPeriod=86400., |
102 |
# externForcingCycle=31104000., |
103 |
nTimeSteps = 12, |
104 |
monitorFreq= 1., |
105 |
& |
106 |
|
107 |
# Gridding parameters |
108 |
&PARM04 |
109 |
usingCartesianGrid=.FALSE., |
110 |
usingSphericalPolarGrid=.TRUE., |
111 |
delR = 10., 10., 10., 20., 20., |
112 |
20., 30., 30., 30., 40., |
113 |
40., 40., 40., 40., 40., |
114 |
40., 40., 50., 50., 50., |
115 |
60., 60., 70., 70., 80., |
116 |
80., 90., 90.,100.,120., |
117 |
130.,150.,150.,200.,200., |
118 |
200.,200.,200.,200.,300., |
119 |
300.,300., |
120 |
ygOrigin = 30.4375, |
121 |
xgOrigin =-13.6875, |
122 |
dySpacing=.125, |
123 |
dxSpacing=.125, |
124 |
& |
125 |
|
126 |
# Input datasets |
127 |
&PARM05 |
128 |
bathyFile= 'bathy_MITgcm.bin', |
129 |
hydrogThetaFile='init_temp.bin', |
130 |
hydrogSaltFile= 'init_sal.bin', |
131 |
# zonalWindFile= 'wind_stress_x.bin', |
132 |
# meridWindFile= 'wind_stress_y.bin', |
133 |
# thetaClimFile= 'lev_sst.bin', |
134 |
# saltClimFile= 'lev_sss.bin', |
135 |
# surfQFile= 'ncep_qnet.bin', |
136 |
# EmPmRFile= 'ncep_emp.bin', |
137 |
& |