~grm08/fluidity/hilbert-for-pyop2

« back to all changes in this revision

Viewing changes to tests_adj_list_error/ekman/ekman.flml

  • Committer: Mark Filipiak
  • Date: 2013-02-01 00:10:45 UTC
  • Revision ID: mjf@staffmail.ed.ac.uk-20130201001045-jqeavowd64abhuv9
And more.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?xml version='1.0' encoding='utf-8'?>
2
 
<fluidity_options>
3
 
  <simulation_name>
4
 
    <string_value lines="1">ekman</string_value>
5
 
  </simulation_name>
6
 
  <problem_type>
7
 
    <string_value lines="1">oceans</string_value>
8
 
  </problem_type>
9
 
  <geometry>
10
 
    <dimension>
11
 
      <integer_value rank="0">3</integer_value>
12
 
    </dimension>
13
 
    <mesh name="CoordinateMesh">
14
 
      <from_file file_name="mesh">
15
 
        <format name="triangle"/>
16
 
        <stat>
17
 
          <include_in_stat/>
18
 
        </stat>
19
 
      </from_file>
20
 
    </mesh>
21
 
    <mesh name="VelocityMesh">
22
 
      <from_mesh>
23
 
        <mesh name="DoublyPeriodicMesh"/>
24
 
        <stat>
25
 
          <exclude_from_stat/>
26
 
        </stat>
27
 
      </from_mesh>
28
 
    </mesh>
29
 
    <mesh name="PressureMesh">
30
 
      <from_mesh>
31
 
        <mesh name="DoublyPeriodicMesh"/>
32
 
        <stat>
33
 
          <exclude_from_stat/>
34
 
        </stat>
35
 
      </from_mesh>
36
 
    </mesh>
37
 
    <mesh name="DoublyPeriodicMesh">
38
 
      <from_mesh>
39
 
        <mesh name="CoordinateMesh"/>
40
 
        <periodic_boundary_conditions name="X_Periodic">
41
 
          <physical_boundary_ids>
42
 
            <integer_value shape="1" rank="1">5</integer_value>
43
 
          </physical_boundary_ids>
44
 
          <aliased_boundary_ids>
45
 
            <integer_value shape="1" rank="1">6</integer_value>
46
 
          </aliased_boundary_ids>
47
 
          <coordinate_map>
48
 
            <string_value lines="20" type="code" language="python">def val(X,t):
49
 
   return (X[0]-100,X[1],X[2])</string_value>
50
 
          </coordinate_map>
51
 
        </periodic_boundary_conditions>
52
 
        <periodic_boundary_conditions name="Y_Periodic">
53
 
          <physical_boundary_ids>
54
 
            <integer_value shape="1" rank="1">3</integer_value>
55
 
          </physical_boundary_ids>
56
 
          <aliased_boundary_ids>
57
 
            <integer_value shape="1" rank="1">4</integer_value>
58
 
          </aliased_boundary_ids>
59
 
          <coordinate_map>
60
 
            <string_value lines="20" type="code" language="python">def val(X,t):
61
 
   return (X[0],X[1]-100,X[2])</string_value>
62
 
          </coordinate_map>
63
 
        </periodic_boundary_conditions>
64
 
        <stat>
65
 
          <exclude_from_stat/>
66
 
        </stat>
67
 
      </from_mesh>
68
 
    </mesh>
69
 
    <quadrature>
70
 
      <degree>
71
 
        <integer_value rank="0">4</integer_value>
72
 
      </degree>
73
 
    </quadrature>
74
 
  </geometry>
75
 
  <io>
76
 
    <dump_format>
77
 
      <string_value>vtk</string_value>
78
 
    </dump_format>
79
 
    <dump_period_in_timesteps>
80
 
      <constant>
81
 
        <integer_value rank="0">1000</integer_value>
82
 
      </constant>
83
 
    </dump_period_in_timesteps>
84
 
    <output_mesh name="CoordinateMesh"/>
85
 
    <checkpointing>
86
 
      <checkpoint_period_in_dumps>
87
 
        <integer_value rank="0">100</integer_value>
88
 
      </checkpoint_period_in_dumps>
89
 
    </checkpointing>
90
 
    <stat/>
91
 
  </io>
92
 
  <timestepping>
93
 
    <current_time>
94
 
      <real_value rank="0">0</real_value>
95
 
    </current_time>
96
 
    <timestep>
97
 
      <real_value rank="0">1000</real_value>
98
 
    </timestep>
99
 
    <finish_time>
100
 
      <real_value rank="0">1e10</real_value>
101
 
    </finish_time>
102
 
    <final_timestep>
103
 
      <integer_value rank="0">1000</integer_value>
104
 
    </final_timestep>
105
 
    <nonlinear_iterations>
106
 
      <integer_value rank="0">2</integer_value>
107
 
    </nonlinear_iterations>
108
 
  </timestepping>
109
 
  <physical_parameters>
110
 
    <gravity>
111
 
      <magnitude>
112
 
        <real_value rank="0">9.81</real_value>
113
 
      </magnitude>
114
 
      <vector_field name="GravityDirection" rank="1">
115
 
        <prescribed>
116
 
          <mesh name="CoordinateMesh"/>
117
 
          <value name="WholeMesh">
118
 
            <constant>
119
 
              <real_value shape="3" dim1="dim" rank="1">0 0 -1</real_value>
120
 
            </constant>
121
 
          </value>
122
 
          <output/>
123
 
          <stat>
124
 
            <include_in_stat/>
125
 
          </stat>
126
 
          <detectors>
127
 
            <exclude_from_detectors/>
128
 
          </detectors>
129
 
        </prescribed>
130
 
      </vector_field>
131
 
    </gravity>
132
 
    <coriolis>
133
 
      <f_plane>
134
 
        <f>
135
 
          <real_value rank="0">1.0324e-4</real_value>
136
 
        </f>
137
 
      </f_plane>
138
 
    </coriolis>
139
 
  </physical_parameters>
140
 
  <material_phase name="Fluid">
141
 
    <equation_of_state>
142
 
      <fluids>
143
 
        <linear>
144
 
          <reference_density>
145
 
            <real_value rank="0">1.0</real_value>
146
 
          </reference_density>
147
 
          <subtract_out_hydrostatic_level/>
148
 
        </linear>
149
 
      </fluids>
150
 
    </equation_of_state>
151
 
    <scalar_field name="Pressure" rank="0">
152
 
      <prognostic>
153
 
        <mesh name="PressureMesh"/>
154
 
        <spatial_discretisation>
155
 
          <continuous_galerkin/>
156
 
        </spatial_discretisation>
157
 
        <reference_node>
158
 
          <integer_value rank="0">100</integer_value>
159
 
        </reference_node>
160
 
        <scheme>
161
 
          <poisson_pressure_solution>
162
 
            <string_value lines="1">only first timestep</string_value>
163
 
          </poisson_pressure_solution>
164
 
          <use_projection_method/>
165
 
        </scheme>
166
 
        <solver>
167
 
          <iterative_method name="cg"/>
168
 
          <preconditioner name="sor"/>
169
 
          <relative_error>
170
 
            <real_value rank="0">1e-7</real_value>
171
 
          </relative_error>
172
 
          <max_iterations>
173
 
            <integer_value rank="0">1000</integer_value>
174
 
          </max_iterations>
175
 
          <never_ignore_solver_failures/>
176
 
          <diagnostics>
177
 
            <monitors/>
178
 
          </diagnostics>
179
 
        </solver>
180
 
        <output/>
181
 
        <stat/>
182
 
        <convergence>
183
 
          <include_in_convergence/>
184
 
        </convergence>
185
 
        <detectors>
186
 
          <exclude_from_detectors/>
187
 
        </detectors>
188
 
        <steady_state>
189
 
          <include_in_steady_state/>
190
 
        </steady_state>
191
 
        <consistent_interpolation/>
192
 
      </prognostic>
193
 
    </scalar_field>
194
 
    <vector_field name="Velocity" rank="1">
195
 
      <prognostic>
196
 
        <mesh name="VelocityMesh"/>
197
 
        <equation name="Boussinesq"/>
198
 
        <spatial_discretisation>
199
 
          <continuous_galerkin>
200
 
            <stabilisation>
201
 
              <no_stabilisation/>
202
 
            </stabilisation>
203
 
            <mass_terms>
204
 
              <lump_mass_matrix/>
205
 
            </mass_terms>
206
 
            <advection_terms/>
207
 
            <stress_terms>
208
 
              <tensor_form/>
209
 
            </stress_terms>
210
 
          </continuous_galerkin>
211
 
          <conservative_advection>
212
 
            <real_value rank="0">0.5</real_value>
213
 
          </conservative_advection>
214
 
        </spatial_discretisation>
215
 
        <temporal_discretisation>
216
 
          <theta>
217
 
            <real_value rank="0">1.0</real_value>
218
 
          </theta>
219
 
          <relaxation>
220
 
            <real_value rank="0">1.0</real_value>
221
 
          </relaxation>
222
 
        </temporal_discretisation>
223
 
        <solver>
224
 
          <iterative_method name="gmres">
225
 
            <restart>
226
 
              <integer_value rank="0">30</integer_value>
227
 
            </restart>
228
 
          </iterative_method>
229
 
          <preconditioner name="sor"/>
230
 
          <relative_error>
231
 
            <real_value rank="0">1e-7</real_value>
232
 
          </relative_error>
233
 
          <max_iterations>
234
 
            <integer_value rank="0">1000</integer_value>
235
 
          </max_iterations>
236
 
          <never_ignore_solver_failures/>
237
 
          <diagnostics>
238
 
            <monitors/>
239
 
          </diagnostics>
240
 
        </solver>
241
 
        <initial_condition name="WholeMesh">
242
 
          <constant>
243
 
            <real_value shape="3" dim1="dim" rank="1">0 0 0</real_value>
244
 
          </constant>
245
 
        </initial_condition>
246
 
        <boundary_conditions name="Top">
247
 
          <surface_ids>
248
 
            <integer_value shape="1" rank="1">2</integer_value>
249
 
          </surface_ids>
250
 
          <type name="wind_forcing">
251
 
            <wind_stress>
252
 
              <constant>
253
 
                <real_value shape="2" dim1="dim-1" rank="1">0 1.775e-4</real_value>
254
 
              </constant>
255
 
            </wind_stress>
256
 
          </type>
257
 
        </boundary_conditions>
258
 
        <tensor_field name="Viscosity" rank="2">
259
 
          <prescribed>
260
 
            <value name="WholeMesh">
261
 
              <diagonal>
262
 
                <constant>
263
 
                  <real_value shape="3" dim1="dim" rank="1">100.0 100.0 0.014</real_value>
264
 
                </constant>
265
 
              </diagonal>
266
 
            </value>
267
 
            <output/>
268
 
          </prescribed>
269
 
        </tensor_field>
270
 
        <output/>
271
 
        <stat>
272
 
          <include_in_stat/>
273
 
          <previous_time_step>
274
 
            <exclude_from_stat/>
275
 
          </previous_time_step>
276
 
          <nonlinear_field>
277
 
            <exclude_from_stat/>
278
 
          </nonlinear_field>
279
 
        </stat>
280
 
        <convergence>
281
 
          <include_in_convergence/>
282
 
        </convergence>
283
 
        <detectors>
284
 
          <include_in_detectors/>
285
 
        </detectors>
286
 
        <steady_state>
287
 
          <include_in_steady_state/>
288
 
        </steady_state>
289
 
        <consistent_interpolation/>
290
 
      </prognostic>
291
 
    </vector_field>
292
 
  </material_phase>
293
 
</fluidity_options>