~fluidity-core/fluidity/profiling

« back to all changes in this revision

Viewing changes to tests/meshconv_test/meshconv_exo2triangle.flml

  • Committer: f.milthaler10 at uk
  • Date: 2013-04-11 12:27:07 UTC
  • mfrom: (4196.1.7 fluidity-meshconv)
  • Revision ID: f.milthaler10@imperial.ac.ic.uk.-20130411122707-kxgjivoex87cc8d9
Merging the mesh converter. It allows one to convert mesh files between the mesh formats supported by Fluidity, whereas the mesh format ExodusII must not be used as the output format.

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