-
Notifications
You must be signed in to change notification settings - Fork 544
/
ww3_multi.inp
207 lines (207 loc) · 8.77 KB
/
ww3_multi.inp
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
$ -------------------------------------------------------------------- $
$ WAVEWATCH III multi-grid model driver input file $
$ -------------------------------------------------------------------- $
$
$ *******************************************************************
$ *** NOTE : This is an example file from the mww3_test_05 script ***
$ *** Unlike other input example files this one CANNOT ***
$ *** be run as an independent interactive run ***
$ *******************************************************************
$
$ The first input line sets up the general multi-grid model definition
$ by defining the following six parameters :
$
$ 1) Number of wave model grids. ( NRGRD )
$ 2) Number of grids defining input fields. ( NRINP )
$ 3) Flag for using unified point output file. ( UNIPTS )
$ 4) Output server type as in ww3_shel.inp
$ 5) Flag for dedicated process for unified point output.
$ 6) Flag for grids sharing dedicated output processes.
$
3 1 T 1 T T
$
$ -------------------------------------------------------------------- $
$ If there are input data grids defined ( NRINP > 0 ), then these
$ grids are defined first. These grids are defined as if they are wave
$ model grids using the file mod_def.MODID. Each grid is defined on
$ a separate input line with MODID, and eight input flags identifying
$ the presence of 1) water levels 2) currents 3) winds 4) ice
$ 5) momentum 6) air density and 7-9) assimilation data as in the
$ file ww3_shel.inp.
$
'input' F F T F F F F F F
$
$ In this example, we need the file mod_def.input to define the grid
$ and the file wind.input to provide the corresponding wind data.
$
$ -------------------------------------------------------------------- $
$ If all point output is gathered in a unified point output file
$ ( UNIPTS = .TRUE. ), then the output spectral grid needs to be
$ defined. This information is taken from a wave model grid, and only
$ the spectral definitions from this grid are relevant. Define the
$ name of this grid here
$
'points'
$
$ In this example, we need the file mod_def.points to define the
$ spectral output grid, and the point output will be written to the
$ file out_pnt.points
$
$ -------------------------------------------------------------------- $
$ Now each actual wave model grid is defined using 13 parameters to be
$ read from a single line in the file. Each line contains the following
$ parameters
$ 1) Define the grid with the extension of the mod_def file.
$ 2-10) Define the inputs used by the grids with 10 keywords
$ corresponding to the 10 flags defining the input in the
$ input files. Valid keywords are:
$ 'no' : This input is not used.
$ 'native' : This grid has its own input files, e.g. grid
$ grdX (mod_def.grdX) uses ice.grdX.
$ 'MODID' : Take input from the grid identified by
$ MODID. In the example below, all grids get
$ their wind from wind.input (mod_def.input).
$ 11) Rank number of grid (internally sorted and reassigned).
$ 12) Group number (internally reassigned so that different
$ ranks result in different group numbers.
$ 13-14) Define fraction of communicator (processes) used for this
$ grid. '0.00 1.00' is appropriate in many cases. Partial
$ fractions, i.e. settings other than '0.00 1.00', are
$ intended for equal rank grids, to improve scaling. The
$ commented example provided here (partial fractions with
$ non-equal rank) is not generally recommended.
$ 15) Flag identifying dumping of boundary data used by this
$ grid. If true, the file nest.MODID is generated.
$
'grd1' 'no' 'no' 'input' 'no' 'no' 'no' 'no' 'no' 'no' 1 1 0.00 1.00 F
'grd2' 'no' 'no' 'input' 'no' 'no' 'no' 'no' 'no' 'no' 2 1 0.00 1.00 F
'grd3' 'no' 'no' 'input' 'no' 'no' 'no' 'no' 'no' 'no' 3 1 0.00 1.00 F
$ 'grd1' 'no' 'no' 'input' 'no' 'no' 'no' 'no' 'no' 'no' 1 1 0.00 0.50 F
$ 'grd2' 'no' 'no' 'input' 'no' 'no' 'no' 'no' 'no' 'no' 2 1 0.25 0.75 F
$ 'grd3' 'no' 'no' 'input' 'no' 'no' 'no' 'no' 'no' 'no' 3 1 0.50 1.00 F
$
$ In this example three grids are used requiring the files
$ mod_def.grdN. All files get their winds from the grid 'input'
$ defined by mod_def.input, and no other inputs are used. In the lines
$ that are commented out, each grid runs on a part of the pool of
$ processes assigned to the computation.
$
$ Limitations relevant to irregular (curvilinear) grids:
$ 1) Equal rank is not supported when one or more is an irregular
$ grid. Use non-equal rank instead. (see wmgridmd.ftn)
$ 2) Non-native input grids: feature is not supported when either
$ an input grid or computational grids is irregular.
$ (see wmupdtmd.ftn)
$ 3) Irregular grids with unified point output: This is supported
$ but the feature has not been verified for accuracy.
$ (see wmiopomd.ftn)
$
$ -------------------------------------------------------------------- $
$ Starting and ending times for the entire model run
$
19680606 000000 19680607 000000
$
$ -------------------------------------------------------------------- $
$ Specific multi-scale model settings (single line).
$ Flag for masking computation in two-way nesting (except at
$ output times).
$ Flag for masking at printout time.
$
F F
$
$ -------------------------------------------------------------------- $
$ Conventional output requests as in ww3_shel.inp. Will be applied
$ to all grids.
$
19680606 000000 3600 19680607 000000
$----------------------------------------------------------------
$
$ Output request flags identifying fields as in ww3_shel.inp. See that
$ file for a full documentation of field output options. Namelist type
$ selection is used here (for alternative F/T flags, see ww3_shel.inp).
$
N
DPT CUR WND HS T0M1 FP DP PHS PTP PDIR
$
$----------------------------------------------------------------
$
$ NOTE: If UNIPTS = .TRUE. then the point output needs to be defined
$ here and cannot be redefined below.
$
19680606 000000 3600 19680608 000000
0.E3 0.E3 'eye '
0.E3 50.E3 'mN '
-35.E3 35.E3 'mNW '
-50.E3 0.E3 'mW '
-35.E3 -35.E3 'mSW '
0.E3 -50.E3 'mS '
35.E3 -35.E3 'mSE '
50.E3 0.E3 'mE '
35.E3 35.E3 'mNE '
0.E3 100.E3 'aN '
-70.E3 70.E3 'aNW '
-100.E3 0.E3 'aW '
-70.E3 -70.E3 'aSW '
0.E3 -100.E3 'aS '
70.E3 -70.E3 'aSE '
100.E3 0.E3 'aE '
70.E3 70.E3 'aNE '
0.E3 210.E3 'bN '
-150.E3 150.E3 'bNW '
-210.E3 0.E3 'bW '
-150.E3 -150.E3 'bSW '
0.E3 -210.E3 'bS '
150.E3 -150.E3 'bSE '
210.E3 0.E3 'bE '
150.E3 150.E3 'bNE '
0.E3 800.E3 'cN '
-550.E3 550.E3 'cNW '
-800.E3 0.E3 'cW '
-550.E3 -550.E3 'cSW '
0.E3 -800.E3 'cS '
550.E3 -550.E3 'cSE '
800.E3 0.E3 'cE '
550.E3 550.E3 'cNE '
0.E3 0.E3 'STOPSTRING'
$
$ Four additional output types: see ww3_shel.inp for documentation.
$
$ track output
19680606 000000 0 19680608 000000
$
$ restart files
19680606 000000 0 19680608 000000
$
$ boundary output
19680606 000000 0 19680608 000000
$
$ separated wave field data
19680606 000000 0 19680608 000000
$
$ -------------------------------------------------------------------- $
$ Output requests per grid and type to overwrite general setup
$ as defined above. First record per set is the grid name MODID
$ and the output type number. Then follows the standard time string,
$ and conventional data as per output type. In mww3_test_05 this is
$ not used. Below, one example generating partitioning output for
$ the inner grid is included but commented out.
$
$ 'grd3' 6
$ 19680606 000000 900 19680608 000000
$ 0 999 1 0 999 1 T
$
$ -------------------------------------------------------------------- $
$ Mandatory end of output requests per grid, identified by output
$ type set to 0.
$
'the_end' 0
$
$ -------------------------------------------------------------------- $
$ Moving grid data as in ww3_shel.inp. All grids will use same data.
$
'MOV' 19680606 000000 5. 90.
'STP'
$
$ -------------------------------------------------------------------- $
$ End of input file $
$ -------------------------------------------------------------------- $