RichardsFlow_2d_small.prj 14.8 KB
Newer Older
1
<?xml version='1.0' encoding='ISO-8859-1'?>
2
<OpenGeoSysProject>
Tom Fischer's avatar
Tom Fischer committed
3
4
    <mesh>RichardsFlow_2d_small.vtu</mesh>
    <geometry>RichardsFlow_2d_small.gml</geometry>
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
    <processes>
        <process>
            <name>RM</name>
            <type>RICHARDS_MECHANICS</type>
            <integration_order>3</integration_order>
            <dimension>2</dimension>
            <constitutive_relation>
                <type>LinearElasticIsotropic</type>
                <youngs_modulus>E</youngs_modulus>
                <poissons_ratio>nu</poissons_ratio>
            </constitutive_relation>
            <process_variables>
                <displacement>displacement</displacement>
                <pressure>pressure</pressure>
            </process_variables>
            <secondary_variables>
21
22
23
24
                <secondary_variable internal_name="sigma" output_name="sigma"/>
                <secondary_variable internal_name="epsilon" output_name="epsilon"/>
                <secondary_variable internal_name="velocity" output_name="velocity"/>
                <secondary_variable internal_name="saturation" output_name="saturation"/>
25
26
27
28
            </secondary_variables>
            <specific_body_force>0 -9.81</specific_body_force>
        </process>
    </processes>
29
30
31
32
33
34
35
36
37
38
39
40
41
    <media>
        <medium>
            <phases>
                <phase>
                    <type>AqueousLiquid</type>
                    <properties>
                        <property>
                            <name>viscosity</name>
                            <type>Constant</type>
                            <value> 1.e-3 </value>
                        </property>
                        <property>
                            <name>density</name>
42
43
44
45
46
47
48
                            <type>Linear</type>
                            <reference_value>1</reference_value>
                            <independent_variable>
                                <variable_name>phase_pressure</variable_name>
                                <reference_condition>-5000</reference_condition>
                                <slope>0.45454545454545454545e-300</slope>
                            </independent_variable>
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
                        </property>
                    </properties>
                </phase>
                <phase>
                    <type>Solid</type>
                    <properties>
                        <property>
                            <name>density</name>
                            <type>Constant</type>
                            <value>1</value>
                        </property>
                    </properties>
                </phase>
            </phases>
            <properties>
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
                <property>
                    <name>biot_coefficient</name>
                    <type>Constant</type>
                    <value>0.38</value>
                </property>
                <property>
                    <name>porosity</name>
                    <type>PorosityFromMassBalance</type>
                    <initial_porosity>phi0</initial_porosity>
                    <minimal_porosity>0</minimal_porosity>
                    <maximal_porosity>1</maximal_porosity>
                </property>
                <property>
                    <name>permeability</name>
                    <type>Constant</type>
                    <value>4.46e-13</value>
                </property>
                <property>
                    <name>storage</name>
                    <type>Constant</type>
                    <value> 0.0 </value>
                </property>
86
87
88
89
90
91
92
93
94
95
96
                <property>
                    <name>reference_temperature</name>
                    <type>Constant</type>
                    <value>293.15</value>
                </property>
                <property>
                    <name>saturation</name>
                    <type>SaturationVanGenuchten</type>
                    <residual_liquid_saturation>0.1689</residual_liquid_saturation>
                    <residual_gas_saturation>0.05</residual_gas_saturation>
                    <exponent>0.789029535864979</exponent>
97
                    <p_b>3633.33</p_b>
98
99
100
101
102
103
104
105
106
                </property>
                <property>
                    <name>relative_permeability</name>
                    <type>RelativePermeabilityVanGenuchten</type>
                    <residual_liquid_saturation>0.1689</residual_liquid_saturation>
                    <residual_gas_saturation>0.05</residual_gas_saturation>
                    <exponent>0.789029535864979</exponent>
                    <minimum_relative_permeability_liquid>1e-12</minimum_relative_permeability_liquid>
                </property>
107
108
109
110
111
                <property>
                    <name>bishops_effective_stress</name>
                    <type>BishopsPowerLaw</type>
                    <exponent>1</exponent>
                </property>
112
113
114
            </properties>
        </medium>
    </media>
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
    <time_loop>
        <processes>
            <process ref="RM">
                <nonlinear_solver>nonlinear_solver</nonlinear_solver>
                <convergence_criterion>
                    <type>PerComponentDeltaX</type>
                    <norm_type>NORM2</norm_type>
                    <abstols>1e-7 1e-11 1e-10</abstols>
                </convergence_criterion>
                <time_discretization>
                    <type>BackwardEuler</type>
                </time_discretization>
                <time_stepping>
                    <type>FixedTimeStepping</type>
                    <t_initial>0</t_initial>
                    <t_end>2000</t_end>
                    <timesteps>
                        <pair>
                            <repeat>1</repeat>
                            <delta_t>1</delta_t>
                        </pair>
                        <pair>
                            <repeat>1</repeat>
                            <delta_t>2</delta_t>
                        </pair>
                        <pair>
                            <repeat>1</repeat>
                            <delta_t>5</delta_t>
                        </pair>
                        <pair>
                            <repeat>1</repeat>
                            <delta_t>10</delta_t>
                        </pair>
                        <pair>
                            <repeat>50</repeat>
                            <delta_t>20</delta_t>
                        </pair>
                    </timesteps>
                </time_stepping>
            </process>
        </processes>
        <output>
            <type>VTK</type>
Tom Fischer's avatar
Tom Fischer committed
158
            <!--prefix>RichardsFlow_2d_small_pcs_{:process_id}</prefix-->
159
            <prefix>{:meshname}</prefix>
160
            <meshes>
Tom Fischer's avatar
Tom Fischer committed
161
162
                <mesh>RichardsFlow_2d_small</mesh>
                <mesh>RichardsFlow_2d_geometry_OBSERVATION_POINT</mesh>
163
            </meshes>
164
165
166
167
168
169
170
171
172
173
174
            <timesteps>
                <pair>
                    <repeat>9</repeat>
                    <each_steps>1</each_steps>
                </pair>
                <pair>
                    <repeat>100</repeat>
                    <each_steps>10</each_steps>
                </pair>
            </timesteps>
            <output_iteration_results>false</output_iteration_results>
175
176
177
178
179
180
181
182
            <variables>
                <variable>displacement</variable>
                <variable>pressure</variable>
                <variable>sigma</variable>
                <variable>epsilon</variable>
                <variable>velocity</variable>
                <variable>saturation</variable>
            </variables>
183
            <suffix>_ts_{:timestep}_t_{:time}</suffix>
184
185
186
187
188
189
190
        </output>
    </time_loop>
    <parameters>
        <!-- Mechanics -->
        <parameter>
            <name>E</name>
            <type>Constant</type>
191
            <value>1e50</value>
192
193
194
195
196
197
        </parameter>
        <parameter>
            <name>nu</name>
            <type>Constant</type>
            <value>.1</value>
        </parameter>
198
199
200
201
202
        <parameter>
            <name>phi0</name>
            <type>Constant</type>
            <value>0.38</value>
        </parameter>
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
        <!-- Model parameters -->
        <parameter>
            <name>displacement0</name>
            <type>Constant</type>
            <values>0 0</values>
        </parameter>
        <parameter>
            <name>dirichlet0</name>
            <type>Constant</type>
            <values>0</values>
        </parameter>
        <parameter>
            <name>p0</name>
            <type>Constant</type>
            <value>-5000</value>
        </parameter>
        <parameter>
            <name>p_Dirichlet_bottom</name>
            <type>Constant</type>
            <value>1000</value>
        </parameter>
    </parameters>
    <process_variables>
        <process_variable>
            <name>displacement</name>
            <components>2</components>
            <order>2</order>
            <initial_condition>displacement0</initial_condition>
            <boundary_conditions>
                <boundary_condition>
Tom Fischer's avatar
Tom Fischer committed
233
                    <geometrical_set>RichardsFlow_2d_geometry</geometrical_set>
234
235
236
237
238
239
                    <geometry>LEFT</geometry>
                    <type>Dirichlet</type>
                    <component>0</component>
                    <parameter>dirichlet0</parameter>
                </boundary_condition>
                <boundary_condition>
Tom Fischer's avatar
Tom Fischer committed
240
                    <geometrical_set>RichardsFlow_2d_geometry</geometrical_set>
241
242
243
244
245
246
                    <geometry>RIGHT</geometry>
                    <type>Dirichlet</type>
                    <component>0</component>
                    <parameter>dirichlet0</parameter>
                </boundary_condition>
                <boundary_condition>
Tom Fischer's avatar
Tom Fischer committed
247
                    <geometrical_set>RichardsFlow_2d_geometry</geometrical_set>
248
249
250
251
252
253
                    <geometry>BOTTOM</geometry>
                    <type>Dirichlet</type>
                    <component>1</component>
                    <parameter>dirichlet0</parameter>
                </boundary_condition>
                <boundary_condition>
Tom Fischer's avatar
Tom Fischer committed
254
                    <geometrical_set>RichardsFlow_2d_geometry</geometrical_set>
255
256
257
258
259
260
261
262
263
264
265
266
267
268
                    <geometry>TOP</geometry>
                    <type>Dirichlet</type>
                    <component>1</component>
                    <parameter>dirichlet0</parameter>
                </boundary_condition>
            </boundary_conditions>
        </process_variable>
        <process_variable>
            <name>pressure</name>
            <components>1</components>
            <order>1</order>
            <initial_condition>p0</initial_condition>
            <boundary_conditions>
                <boundary_condition>
Tom Fischer's avatar
Tom Fischer committed
269
                    <geometrical_set>RichardsFlow_2d_geometry</geometrical_set>
270
271
272
273
274
                    <geometry>BOTTOM</geometry>
                    <type>Dirichlet</type>
                    <parameter>p_Dirichlet_bottom</parameter>
                </boundary_condition>
                <boundary_condition>
Tom Fischer's avatar
Tom Fischer committed
275
                    <geometrical_set>RichardsFlow_2d_geometry</geometrical_set>
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
                    <geometry>TOP</geometry>
                    <type>Dirichlet</type>
                    <parameter>p0</parameter>
                </boundary_condition>
            </boundary_conditions>
        </process_variable>
    </process_variables>
    <nonlinear_solvers>
        <nonlinear_solver>
            <name>nonlinear_solver</name>
            <type>Newton</type>
            <max_iter>100</max_iter>
            <linear_solver>general_linear_solver</linear_solver>
            <!--damping>0.9</damping-->
        </nonlinear_solver>
    </nonlinear_solvers>
    <linear_solvers>
        <linear_solver>
            <name>general_linear_solver</name>
            <eigen>
                <solver_type>SparseLU</solver_type>
                <scaling>true</scaling>
                <!--
                <solver_type>PardisoLU</solver_type>
                -->
            </eigen>
        </linear_solver>
    </linear_solvers>
304
305
    <test_definition>
        <vtkdiff>
306
            <regex>RichardsFlow_2d_small_ts_.*.vtu</regex>
307
308
309
310
311
            <field>displacement</field>
            <absolute_tolerance>2e-14</absolute_tolerance>
            <relative_tolerance>0</relative_tolerance>
        </vtkdiff>
        <vtkdiff>
312
            <regex>RichardsFlow_2d_small_ts_.*.vtu</regex>
313
314
315
316
317
            <field>sigma</field>
            <absolute_tolerance>1e-8</absolute_tolerance>
            <relative_tolerance>0</relative_tolerance>
        </vtkdiff>
        <vtkdiff>
318
            <regex>RichardsFlow_2d_small_ts_.*.vtu</regex>
319
320
321
322
323
            <field>epsilon</field>
            <absolute_tolerance>1e-15</absolute_tolerance>
            <relative_tolerance>0</relative_tolerance>
        </vtkdiff>
        <vtkdiff>
324
            <regex>RichardsFlow_2d_small_ts_.*.vtu</regex>
325
326
327
328
329
            <field>pressure</field>
            <absolute_tolerance>1e-7</absolute_tolerance>
            <relative_tolerance>1e-15</relative_tolerance>
        </vtkdiff>
        <vtkdiff>
330
            <regex>RichardsFlow_2d_small_ts_.*.vtu</regex>
331
332
333
334
335
            <field>pressure_interpolated</field>
            <absolute_tolerance>1e-7</absolute_tolerance>
            <relative_tolerance>1e-15</relative_tolerance>
        </vtkdiff>
        <vtkdiff>
336
            <regex>RichardsFlow_2d_small_ts_.*.vtu</regex>
337
338
339
340
341
            <field>saturation</field>
            <absolute_tolerance>2e-11</absolute_tolerance>
            <relative_tolerance>1e-15</relative_tolerance>
        </vtkdiff>
        <vtkdiff>
342
            <regex>RichardsFlow_2d_small_ts_.*.vtu</regex>
343
344
345
346
347
            <field>saturation_avg</field>
            <absolute_tolerance>1e-11</absolute_tolerance>
            <relative_tolerance>1e-15</relative_tolerance>
        </vtkdiff>
        <vtkdiff>
348
            <regex>RichardsFlow_2d_small_ts_.*.vtu</regex>
349
350
351
352
353
            <field>velocity</field>
            <absolute_tolerance>1e-15</absolute_tolerance>
            <relative_tolerance>1e-15</relative_tolerance>
        </vtkdiff>
        <vtkdiff>
354
            <regex>RichardsFlow_2d_small_ts_.*.vtu</regex>
355
356
357
358
359
            <field>HydraulicFlow</field>
            <absolute_tolerance>1e-13</absolute_tolerance>
            <relative_tolerance>0</relative_tolerance>
        </vtkdiff>
        <vtkdiff>
360
            <regex>RichardsFlow_2d_small_ts_.*.vtu</regex>
361
362
363
364
365
            <field>NodalForces</field>
            <absolute_tolerance>1e-9</absolute_tolerance>
            <relative_tolerance>0</relative_tolerance>
        </vtkdiff>
        <vtkdiff>
366
            <regex>RichardsFlow_2d_geometry_OBSERVATION_POINT_ts_.*.vtu</regex>
367
368
369
370
371
            <field>displacement</field>
            <absolute_tolerance>2e-14</absolute_tolerance>
            <relative_tolerance>0</relative_tolerance>
        </vtkdiff>
        <vtkdiff>
372
            <regex>RichardsFlow_2d_geometry_OBSERVATION_POINT_ts_.*.vtu</regex>
373
374
375
376
377
            <field>pressure</field>
            <absolute_tolerance>1e-7</absolute_tolerance>
            <relative_tolerance>1e-15</relative_tolerance>
        </vtkdiff>
    </test_definition>
378
</OpenGeoSysProject>