orthotropic_swelling_xyz.prj 16 KB
Newer Older
1
<?xml version='1.0' encoding='ISO-8859-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
<OpenGeoSysProject>
    <mesh>cube_1x1x1_hex20_1e0.vtu</mesh>
    <geometry>cube_1x1x1.gml</geometry>
    <processes>
        <process>
            <name>RM</name>
            <type>RICHARDS_MECHANICS</type>
            <integration_order>3</integration_order>
            <dimension>3</dimension>
            <!--
            <jacobian_assembler>
                <type>CentralDifferences</type>
                <component_magnitudes>1e5 1e-5 1e-5 1e-5</component_magnitudes>
                <relative_epsilons>1e-8 1e-8 1e-8 1e-8</relative_epsilons>
            </jacobian_assembler>
            -->
            <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>
                <secondary_variable internal_name="sigma" output_name="sigma"/>
                <secondary_variable internal_name="swelling_stress" output_name="swelling_stress"/>
                <secondary_variable internal_name="epsilon" output_name="epsilon"/>
                <secondary_variable internal_name="velocity" output_name="velocity"/>
                <secondary_variable internal_name="saturation" output_name="saturation"/>
                <secondary_variable internal_name="porosity" output_name="porosity"/>
            </secondary_variables>
35
36
37
            <!-- Explicit HM coupling does not improve convergence much in this particular
            benchmark, and is used here merely for the sake of testing this switch. -->
            <explicit_hm_coupling_in_unsaturated_zone>true</explicit_hm_coupling_in_unsaturated_zone>
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
            <specific_body_force>0 0 0</specific_body_force>
        </process>
    </processes>
    <media>
        <medium>
            <phases>
                <phase>
                    <type>AqueousLiquid</type>
                    <properties>
                        <property>
                            <name>viscosity</name>
                            <type>Constant</type>
                            <value>1</value>
                        </property>
                        <property>
                            <name>density</name>
54
55
56
57
58
                            <type>Linear</type>
                            <reference_value>1</reference_value>
                            <independent_variable>
                                <variable_name>phase_pressure</variable_name>
                                <reference_condition>0</reference_condition>
59
                                <slope>0.1</slope>
60
                            </independent_variable>
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
                        </property>
                    </properties>
                </phase>
                <phase>
                    <type>Solid</type>
                    <properties>
                        <property>
                            <name>density</name>
                            <type>Constant</type>
                            <value>1</value>
                        </property>
                        <property>
                            <name>swelling_stress_rate</name>
                            <type>SaturationDependentSwelling</type>
                            <swelling_pressures>.1 .2 .3</swelling_pressures>
                            <exponents>1 1 1</exponents>
                            <lower_saturation_limit>0.3</lower_saturation_limit>
                            <upper_saturation_limit>0.8</upper_saturation_limit>
                        </property>
                    </properties>
                </phase>
            </phases>
            <properties>
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
                <property>
                    <name>biot_coefficient</name>
                    <type>Constant</type>
                    <value>0.5</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>1</value>
                </property>
101
102
103
104
105
106
107
108
109
110
111
                <property>
                    <name>reference_temperature</name>
                    <type>Constant</type>
                    <value>293.15</value>
                </property>
                <property>
                    <name>saturation</name>
                    <type>SaturationVanGenuchten</type>
                    <residual_liquid_saturation>0.1</residual_liquid_saturation>
                    <residual_gas_saturation>0.05</residual_gas_saturation>
                    <exponent>0.8</exponent>
112
                    <p_b>0.5</p_b>
113
114
115
116
117
118
                </property>
                <property>
                    <name>relative_permeability</name>
                    <type>Constant</type>
                    <value>1</value>
                </property>
119
120
121
122
123
                <property>
                    <name>bishops_effective_stress</name>
                    <type>BishopsPowerLaw</type>
                    <exponent>1</exponent>
                </property>
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
            </properties>
        </medium>
    </media>
    <time_loop>
        <processes>
            <process ref="RM">
                <nonlinear_solver>nonlinear_solver</nonlinear_solver>
                <compensate_non_equilibrium_initial_residuum>true</compensate_non_equilibrium_initial_residuum>
                <convergence_criterion>
                    <type>PerComponentDeltaX</type>
                    <norm_type>NORM2</norm_type>
                    <abstols>1e-13 1e-13 1e-13 1e-13</abstols>
                </convergence_criterion>
                <time_discretization>
                    <type>BackwardEuler</type>
                </time_discretization>
                <time_stepping>
                    <type>FixedTimeStepping</type>
                    <t_initial>0</t_initial>
                    <t_end>3</t_end>
                    <timesteps>
                        <pair>
                            <repeat>50</repeat>
                            <delta_t>.02</delta_t>
                        </pair>
                        <pair>
                            <repeat>4</repeat>
                            <delta_t>.25</delta_t>
                        </pair>
                        <pair>
                            <repeat>50</repeat>
                            <delta_t>.02</delta_t>
                        </pair>
                    </timesteps>
                </time_stepping>
            </process>
        </processes>
        <output>
            <type>VTK</type>
163
            <prefix>orthotropic_swelling_xyz</prefix>
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
            <timesteps>
                <pair>
                    <repeat>1000</repeat>
                    <each_steps>1</each_steps>
                </pair>
            </timesteps>
            <variables>
                <variable>displacement</variable>
                <variable>pressure</variable>
                <variable>sigma</variable>
                <variable>swelling_stress</variable>
                <variable>epsilon</variable>
                <variable>velocity</variable>
                <variable>saturation</variable>
                <variable>porosity</variable>
            </variables>
180
            <suffix>_ts_{:timestep}_t_{:time}</suffix>
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
208
209
210
211
212
213
214
        </output>
    </time_loop>
    <local_coordinate_system>
        <basis_vector_0>e0</basis_vector_0>
        <basis_vector_1>e1</basis_vector_1>
        <basis_vector_2>e2</basis_vector_2>
    </local_coordinate_system>
    <parameters>
        <parameter>
            <name>e0</name>
            <type>Constant</type>
            <values>1 0 0</values>
        </parameter>
        <parameter>
            <name>e1</name>
            <type>Constant</type>
            <values>0 1 0</values>
        </parameter>
        <parameter>
            <name>e2</name>
            <type>Constant</type>
            <values>0 0 1</values>
        </parameter>
        <!-- Mechanics -->
        <parameter>
            <name>E</name>
            <type>Constant</type>
            <value>1</value>
        </parameter>
        <parameter>
            <name>nu</name>
            <type>Constant</type>
            <value>.3</value>
        </parameter>
215
216
217
218
219
        <parameter>
            <name>phi0</name>
            <type>Constant</type>
            <value>0.5</value>
        </parameter>
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
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
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
        <!-- Model parameters -->
        <parameter>
            <name>displacement0</name>
            <type>Constant</type>
            <values>0 0 0</values>
        </parameter>
        <parameter>
            <name>p0</name>
            <type>Constant</type>
            <value>0.1</value>
        </parameter>
        <parameter>
            <name>dirichlet0</name>
            <type>Constant</type>
            <values>0</values>
        </parameter>
        <parameter>
            <name>pressure_bc</name>
            <type>CurveScaled</type>
            <curve>pressure_ramp</curve>
            <parameter>p0</parameter>
        </parameter>
    </parameters>
    <curves>
        <curve>
            <name>pressure_ramp</name>
            <coords>0  1   2  3</coords>
            <values>1 -10 -10 1</values>
        </curve>
    </curves>
    <process_variables>
        <process_variable>
            <name>displacement</name>
            <components>3</components>
            <order>2</order>
            <initial_condition>displacement0</initial_condition>
            <boundary_conditions>
                <boundary_condition>
                    <geometrical_set>cube_1x1x1_geometry</geometrical_set>
                    <geometry>left</geometry>
                    <type>Dirichlet</type>
                    <component>0</component>
                    <parameter>dirichlet0</parameter>
                </boundary_condition>
                <boundary_condition>
                    <geometrical_set>cube_1x1x1_geometry</geometrical_set>
                    <geometry>front</geometry>
                    <type>Dirichlet</type>
                    <component>1</component>
                    <parameter>dirichlet0</parameter>
                </boundary_condition>
                <boundary_condition>
                    <geometrical_set>cube_1x1x1_geometry</geometrical_set>
                    <geometry>bottom</geometry>
                    <type>Dirichlet</type>
                    <component>2</component>
                    <parameter>dirichlet0</parameter>
                </boundary_condition>
                <boundary_condition>
                    <geometrical_set>cube_1x1x1_geometry</geometrical_set>
                    <geometry>top</geometry>
                    <type>Dirichlet</type>
                    <component>2</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>
                    <geometrical_set>cube_1x1x1_geometry</geometrical_set>
                    <geometry>right</geometry>
                    <type>Dirichlet</type>
                    <parameter>pressure_bc</parameter>
                </boundary_condition>
                <boundary_condition>
                    <geometrical_set>cube_1x1x1_geometry</geometrical_set>
                    <geometry>bottom</geometry>
                    <type>Dirichlet</type>
                    <parameter>pressure_bc</parameter>
                </boundary_condition>
                <boundary_condition>
                    <geometrical_set>cube_1x1x1_geometry</geometrical_set>
                    <geometry>front</geometry>
                    <type>Dirichlet</type>
                    <parameter>pressure_bc</parameter>
                </boundary_condition>
                <boundary_condition>
                    <geometrical_set>cube_1x1x1_geometry</geometrical_set>
                    <geometry>left</geometry>
                    <type>Dirichlet</type>
                    <parameter>pressure_bc</parameter>
                </boundary_condition>
                <boundary_condition>
                    <geometrical_set>cube_1x1x1_geometry</geometrical_set>
                    <geometry>top</geometry>
                    <type>Dirichlet</type>
                    <parameter>pressure_bc</parameter>
                </boundary_condition>
                <boundary_condition>
                    <geometrical_set>cube_1x1x1_geometry</geometrical_set>
                    <geometry>back</geometry>
                    <type>Dirichlet</type>
                    <parameter>pressure_bc</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>
        </nonlinear_solver>
    </nonlinear_solvers>
    <linear_solvers>
        <linear_solver>
            <name>general_linear_solver</name>
            <eigen>
                <solver_type>SparseLU</solver_type>
                <scaling>true</scaling>
            </eigen>
        </linear_solver>
    </linear_solvers>
349
350
    <test_definition>
        <vtkdiff>
351
            <regex>orthotropic_swelling_xyz_ts_.*.vtu</regex>
352
353
354
355
356
            <field>pressure</field>
            <absolute_tolerance>1e-15</absolute_tolerance>
            <relative_tolerance>0</relative_tolerance>
        </vtkdiff>
        <vtkdiff>
357
            <regex>orthotropic_swelling_xyz_ts_.*.vtu</regex>
358
359
360
361
362
            <field>saturation</field>
            <absolute_tolerance>1e-14</absolute_tolerance>
            <relative_tolerance>1e-15</relative_tolerance>
        </vtkdiff>
        <vtkdiff>
363
            <regex>orthotropic_swelling_xyz_ts_.*.vtu</regex>
364
365
366
367
368
            <field>displacement</field>
            <absolute_tolerance>1e-15</absolute_tolerance>
            <relative_tolerance>0</relative_tolerance>
        </vtkdiff>
        <vtkdiff>
369
            <regex>orthotropic_swelling_xyz_ts_.*.vtu</regex>
370
            <field>sigma</field>
371
            <absolute_tolerance>3e-15</absolute_tolerance>
372
373
374
            <relative_tolerance>0</relative_tolerance>
        </vtkdiff>
        <vtkdiff>
375
            <regex>orthotropic_swelling_xyz_ts_.*.vtu</regex>
376
377
378
379
380
            <field>swelling_stress</field>
            <absolute_tolerance>3e-15</absolute_tolerance>
            <relative_tolerance>0</relative_tolerance>
        </vtkdiff>
        <vtkdiff>
381
            <regex>orthotropic_swelling_xyz_ts_.*.vtu</regex>
382
383
384
385
386
            <field>epsilon</field>
            <absolute_tolerance>2e-15</absolute_tolerance>
            <relative_tolerance>0</relative_tolerance>
        </vtkdiff>
        <vtkdiff>
387
            <regex>orthotropic_swelling_xyz_ts_.*.vtu</regex>
388
389
390
391
392
            <field>velocity</field>
            <absolute_tolerance>1e-15</absolute_tolerance>
            <relative_tolerance>0</relative_tolerance>
        </vtkdiff>
        <vtkdiff>
393
            <regex>orthotropic_swelling_xyz_ts_.*.vtu</regex>
394
395
396
397
398
            <field>porosity</field>
            <absolute_tolerance>5e-15</absolute_tolerance>
            <relative_tolerance>1e-15</relative_tolerance>
        </vtkdiff>
        <vtkdiff>
399
            <regex>orthotropic_swelling_xyz_ts_.*.vtu</regex>
400
401
402
403
404
            <field>porosity_avg</field>
            <absolute_tolerance>5e-15</absolute_tolerance>
            <relative_tolerance>1e-15</relative_tolerance>
        </vtkdiff>
    </test_definition>
405
</OpenGeoSysProject>