~asc/fluidity/fluidity-darwin-port-working

« back to all changes in this revision

Viewing changes to tests/exodusii_read_support/exodusii_read_support_3d.flml

  • Committer: Adam Candy
  • Date: 2012-10-27 15:48:15 UTC
  • mfrom: (3961.5.127 fluidity-trunk-2)
  • Revision ID: adam.candy@imperial.ac.uk-20121027154815-fgbs5fp48nfp67sx
Trunk merge.

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">exodus_support_test_3d</string_value>
 
5
  </simulation_name>
 
6
  <problem_type>
 
7
    <string_value lines="1">fluids</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="cube">
 
15
        <format name="exodusii"/>
 
16
        <stat>
 
17
          <include_in_stat/>
 
18
        </stat>
 
19
      </from_file>
 
20
    </mesh>
 
21
    <mesh name="VelocityMesh">
 
22
      <from_mesh>
 
23
        <mesh name="CoordinateMesh"/>
 
24
        <stat>
 
25
          <include_in_stat/>
 
26
        </stat>
 
27
      </from_mesh>
 
28
    </mesh>
 
29
    <mesh name="PressureMesh">
 
30
      <from_mesh>
 
31
        <mesh name="CoordinateMesh"/>
 
32
        <stat>
 
33
          <include_in_stat/>
 
34
        </stat>
 
35
      </from_mesh>
 
36
    </mesh>
 
37
    <quadrature>
 
38
      <degree>
 
39
        <integer_value rank="0">4</integer_value>
 
40
      </degree>
 
41
    </quadrature>
 
42
  </geometry>
 
43
  <io>
 
44
    <dump_format>
 
45
      <string_value>vtk</string_value>
 
46
    </dump_format>
 
47
    <dump_period_in_timesteps>
 
48
      <constant>
 
49
        <integer_value rank="0">10</integer_value>
 
50
      </constant>
 
51
    </dump_period_in_timesteps>
 
52
    <disable_dump_at_start/>
 
53
    <disable_dump_at_end/>
 
54
    <output_mesh name="VelocityMesh"/>
 
55
    <stat>
 
56
      <output_at_start/>
 
57
    </stat>
 
58
  </io>
 
59
  <timestepping>
 
60
    <current_time>
 
61
      <real_value rank="0">0.0</real_value>
 
62
    </current_time>
 
63
    <timestep>
 
64
      <real_value rank="0">0.01</real_value>
 
65
    </timestep>
 
66
    <finish_time>
 
67
      <real_value rank="0">50.0</real_value>
 
68
    </finish_time>
 
69
    <final_timestep>
 
70
      <integer_value rank="0">1</integer_value>
 
71
    </final_timestep>
 
72
    <nonlinear_iterations>
 
73
      <integer_value rank="0">2</integer_value>
 
74
    </nonlinear_iterations>
 
75
  </timestepping>
 
76
  <material_phase name="Fluid">
 
77
    <scalar_field name="Pressure" rank="0">
 
78
      <prognostic>
 
79
        <mesh name="PressureMesh"/>
 
80
        <spatial_discretisation>
 
81
          <continuous_galerkin>
 
82
            <integrate_continuity_by_parts/>
 
83
          </continuous_galerkin>
 
84
        </spatial_discretisation>
 
85
        <scheme>
 
86
          <poisson_pressure_solution>
 
87
            <string_value lines="1">only first timestep</string_value>
 
88
          </poisson_pressure_solution>
 
89
          <use_projection_method/>
 
90
        </scheme>
 
91
        <solver>
 
92
          <iterative_method name="cg"/>
 
93
          <preconditioner name="mg"/>
 
94
          <relative_error>
 
95
            <real_value rank="0">1.0E-7</real_value>
 
96
          </relative_error>
 
97
          <max_iterations>
 
98
            <integer_value rank="0">10000</integer_value>
 
99
          </max_iterations>
 
100
          <never_ignore_solver_failures/>
 
101
          <diagnostics>
 
102
            <monitors/>
 
103
          </diagnostics>
 
104
        </solver>
 
105
        <output/>
 
106
        <stat/>
 
107
        <convergence>
 
108
          <include_in_convergence/>
 
109
        </convergence>
 
110
        <detectors>
 
111
          <exclude_from_detectors/>
 
112
        </detectors>
 
113
        <steady_state>
 
114
          <include_in_steady_state/>
 
115
        </steady_state>
 
116
        <no_interpolation/>
 
117
      </prognostic>
 
118
    </scalar_field>
 
119
    <vector_field name="Velocity" rank="1">
 
120
      <prognostic>
 
121
        <mesh name="VelocityMesh"/>
 
122
        <equation name="Boussinesq"/>
 
123
        <spatial_discretisation>
 
124
          <continuous_galerkin>
 
125
            <stabilisation>
 
126
              <no_stabilisation/>
 
127
            </stabilisation>
 
128
            <mass_terms>
 
129
              <lump_mass_matrix/>
 
130
            </mass_terms>
 
131
            <advection_terms/>
 
132
            <stress_terms>
 
133
              <tensor_form/>
 
134
            </stress_terms>
 
135
          </continuous_galerkin>
 
136
          <conservative_advection>
 
137
            <real_value rank="0">0.0</real_value>
 
138
          </conservative_advection>
 
139
        </spatial_discretisation>
 
140
        <temporal_discretisation>
 
141
          <theta>
 
142
            <real_value rank="0">0.5</real_value>
 
143
          </theta>
 
144
          <relaxation>
 
145
            <real_value rank="0">0.5</real_value>
 
146
          </relaxation>
 
147
        </temporal_discretisation>
 
148
        <solver>
 
149
          <iterative_method name="gmres">
 
150
            <restart>
 
151
              <integer_value rank="0">30</integer_value>
 
152
            </restart>
 
153
          </iterative_method>
 
154
          <preconditioner name="sor"/>
 
155
          <relative_error>
 
156
            <real_value rank="0">1.0E-7</real_value>
 
157
          </relative_error>
 
158
          <max_iterations>
 
159
            <integer_value rank="0">1000</integer_value>
 
160
          </max_iterations>
 
161
          <never_ignore_solver_failures/>
 
162
          <diagnostics>
 
163
            <monitors/>
 
164
          </diagnostics>
 
165
        </solver>
 
166
        <initial_condition name="WholeMesh">
 
167
          <constant>
 
168
            <real_value shape="2" dim1="dim" rank="1">0.0 0.0 0.0</real_value>
 
169
          </constant>
 
170
        </initial_condition>
 
171
        <boundary_conditions name="Inflow">
 
172
          <surface_ids>
 
173
            <integer_value shape="1" rank="1">10</integer_value>
 
174
          </surface_ids>
 
175
          <type name="dirichlet">
 
176
            <align_bc_with_cartesian>
 
177
              <x_component>
 
178
                <constant>
 
179
                  <real_value rank="0">1</real_value>
 
180
                </constant>
 
181
              </x_component>
 
182
              <y_component>
 
183
                <constant>
 
184
                  <real_value rank="0">0.</real_value>
 
185
                </constant>
 
186
              </y_component>
 
187
            </align_bc_with_cartesian>
 
188
          </type>
 
189
        </boundary_conditions>
 
190
        <boundary_conditions name="topbottom">
 
191
          <surface_ids>
 
192
            <integer_value shape="1" rank="1">11</integer_value>
 
193
          </surface_ids>
 
194
          <type name="dirichlet">
 
195
            <align_bc_with_cartesian>
 
196
              <x_component>
 
197
                <constant>
 
198
                  <real_value rank="0">0.0</real_value>
 
199
                </constant>
 
200
              </x_component>
 
201
              <y_component>
 
202
                <constant>
 
203
                  <real_value rank="0">0.0</real_value>
 
204
                </constant>
 
205
              </y_component>
 
206
            </align_bc_with_cartesian>
 
207
          </type>
 
208
        </boundary_conditions>
 
209
        <boundary_conditions name="sides">
 
210
          <surface_ids>
 
211
            <integer_value shape="1" rank="1">12</integer_value>
 
212
          </surface_ids>
 
213
          <type name="dirichlet">
 
214
            <align_bc_with_cartesian>
 
215
              <x_component>
 
216
                <constant>
 
217
                  <real_value rank="0">0.0</real_value>
 
218
                </constant>
 
219
              </x_component>
 
220
              <y_component>
 
221
                <constant>
 
222
                  <real_value rank="0">0.0</real_value>
 
223
                </constant>
 
224
              </y_component>
 
225
            </align_bc_with_cartesian>
 
226
          </type>
 
227
        </boundary_conditions>
 
228
        <boundary_conditions name="outflow">
 
229
          <surface_ids>
 
230
            <integer_value shape="1" rank="1">13</integer_value>
 
231
          </surface_ids>
 
232
          <type name="dirichlet">
 
233
            <align_bc_with_cartesian/>
 
234
          </type>
 
235
        </boundary_conditions>
 
236
        <tensor_field name="Viscosity" rank="2">
 
237
          <prescribed>
 
238
            <value name="WholeMesh">
 
239
              <isotropic>
 
240
                <constant>
 
241
                  <real_value rank="0">1.24e-4</real_value>
 
242
                </constant>
 
243
              </isotropic>
 
244
            </value>
 
245
            <output/>
 
246
          </prescribed>
 
247
        </tensor_field>
 
248
        <output/>
 
249
        <stat>
 
250
          <include_in_stat/>
 
251
          <previous_time_step>
 
252
            <exclude_from_stat/>
 
253
          </previous_time_step>
 
254
          <nonlinear_field>
 
255
            <exclude_from_stat/>
 
256
          </nonlinear_field>
 
257
        </stat>
 
258
        <convergence>
 
259
          <include_in_convergence/>
 
260
        </convergence>
 
261
        <detectors>
 
262
          <include_in_detectors/>
 
263
        </detectors>
 
264
        <steady_state>
 
265
          <include_in_steady_state/>
 
266
        </steady_state>
 
267
        <consistent_interpolation/>
 
268
      </prognostic>
 
269
    </vector_field>
 
270
  </material_phase>
 
271
</fluidity_options>