A2_THM.prj 16.9 KB
Newer Older
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
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
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
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
215
216
217
218
219
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
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
<?xml version="1.0" encoding="ISO-8859-1"?>
<OpenGeoSysProject>
    <meshes>
        <mesh>cube.vtu</mesh>
        <mesh>front.vtu</mesh>
        <mesh>back.vtu</mesh>
        <mesh>right.vtu</mesh>
        <mesh>left.vtu</mesh>
        <mesh>top.vtu</mesh>
        <mesh>bottom.vtu</mesh>
    </meshes>
    <processes>
        <process>
            <name>THM</name>
            <type>THERMO_HYDRO_MECHANICS</type>
            <integration_order>3</integration_order>
            <dimension>3</dimension>
            <constitutive_relation id="0">
                <type>LinearElasticIsotropic</type>
                <youngs_modulus>E</youngs_modulus>
                <poissons_ratio>nu</poissons_ratio>
            </constitutive_relation>
            <constitutive_relation id="1">
                <type>LinearElasticIsotropic</type>
                <youngs_modulus>E</youngs_modulus>
                <poissons_ratio>nu</poissons_ratio>
            </constitutive_relation>
            <specific_body_force>0 0 0</specific_body_force>
            <process_variables>
                <displacement>displacement</displacement>
                <pressure>pressure</pressure>
                <temperature>temperature</temperature>
            </process_variables>
            <secondary_variables>
                <secondary_variable internal_name="sigma" output_name="sigma"/>
                <secondary_variable internal_name="epsilon" output_name="epsilon"/>
            </secondary_variables>
            <initial_stress>sigma0</initial_stress>
            <reference_temperature>temperature_outside</reference_temperature>
        </process>
    </processes>
    <media>
        <medium id="0,1">
            <phases>
                <phase>
                    <type>AqueousLiquid</type>
                    <properties>
                        <property>
                            <name>viscosity</name>
                            <type>Constant</type>
                            <value>1.5e-3</value>
                        </property>
                        <property>
                            <name>density</name>
                            <type>Linear</type>
                            <reference_value>1200</reference_value>
                            <independent_variable>
                                <variable_name>temperature</variable_name>
                                <reference_condition>298.15</reference_condition>
                                <slope>-6.0e-4</slope>
                            </independent_variable>
                            <independent_variable>
                                <variable_name>phase_pressure</variable_name>
                                <reference_condition>4e6</reference_condition>
                                <slope>0.5e-9</slope>
                            </independent_variable>
                        </property>
                        <property>
                            <name>specific_heat_capacity</name>
                            <type>Constant</type>
                            <value>4160</value>
                        </property>
                        <property>
                            <name>thermal_conductivity</name>
                            <type>Constant</type>
                            <value>0.6</value>
                        </property>
                    </properties>
                </phase>
                <phase>
                    <type>Solid</type>
                    <properties>
                        <property>
                            <name>density</name>
                            <type>Constant</type>
                            <value>2533</value>
                        </property>
                        <property>
                            <name>specific_heat_capacity</name>
                            <type>Constant</type>
                            <value>1254.74</value>
                        </property>
                        <property>
                            <name>thermal_conductivity</name>
                            <type>Constant</type>
                            <value>2.156</value>
                        </property>
                        <property>
                            <!-- linear thermal expansivity -->
                            <name>thermal_expansivity</name>
                            <type>Constant</type>
                            <value>1e-5</value>
                        </property>
                    </properties>
                </phase>
            </phases>
            <properties>
                <property>
                    <name>porosity</name>
                    <type>Constant</type>
                    <value>0.1</value>
                </property>
                <property>
                    <name>biot_coefficient</name>
                    <type>Constant</type>
                    <value>0.6</value>
                </property>
                <property>
                    <name>permeability</name>
                    <type>Constant</type>
                    <value>1e-19</value>
                </property>
                <property>
                    <name>thermal_conductivity</name>
                    <type>EffectiveThermalConductivityPorosityMixing</type>
                </property>
            </properties>
        </medium>
    </media>
    <time_loop>
        <processes>
            <process ref="THM">
                <nonlinear_solver>basic_newton</nonlinear_solver>
                <convergence_criterion>
                    <type>PerComponentDeltaX</type>
                    <norm_type>NORM2</norm_type>
                    <abstols>1e-16 1e-16 1e-16 1e-16 1e-16</abstols>
                    <reltols>1e-14 1e-14 1e-8 1e-8 1e-8</reltols>
                </convergence_criterion>
                <time_discretization>
                    <type>BackwardEuler</type>
                </time_discretization>
                <time_stepping>
                    <type>FixedTimeStepping</type>
                    <t_initial>0</t_initial>
                    <t_end>2764800</t_end> <!-- 32 days -->
                    <timesteps>
                        <!-- small step to get initial stress field w/o excavation -->
                        <pair>
                            <repeat>1</repeat>
                            <delta_t>0.01</delta_t>
                        </pair>
                        <!-- few steps until first element excavation -->
                        <pair>
                            <repeat>1</repeat>
                            <delta_t>2159.99</delta_t>
                        </pair>
                        <pair>
                            <repeat>1</repeat>
                            <delta_t>2160</delta_t>
                        </pair>
                        <!-- small steps again after first element excavation until second element excavation -->
                        <pair>
                            <repeat>1</repeat>
                            <delta_t>14</delta_t>
                        </pair>
                        <pair>
                            <repeat>10</repeat>
                            <delta_t>85</delta_t>
                        </pair>
                        <pair>
                            <repeat>9</repeat>
                            <delta_t>864</delta_t>
                        </pair>
                        <!-- small steps again after second element excavation -->
                        <pair>
                            <repeat>1</repeat>
                            <delta_t>14</delta_t>
                        </pair>
                        <pair>
                            <repeat>10</repeat>
                            <delta_t>85</delta_t>
                        </pair>
                        <pair>
                            <repeat>9</repeat>
                            <delta_t>864</delta_t>
                        </pair>
                        <!-- progressively larger steps until end -->
                        <pair>
                            <repeat>10</repeat>
                            <delta_t>2000</delta_t>
                        </pair>
                        <pair>
                            <repeat>10</repeat>
                            <delta_t>20000</delta_t>
                        </pair>
                        <pair>
                            <repeat>11</repeat>
                            <delta_t>200000</delta_t>
                        </pair>
                    </timesteps>
                </time_stepping>
            </process>
        </processes>
        <output>
            <type>VTK</type>
            <prefix>A2_THM</prefix>
            <suffix>_ts_{:timestep}_t_{:time}</suffix>
            <timesteps>
                <pair>
                    <repeat>1000</repeat>
                    <each_steps>1</each_steps>
                </pair>
            </timesteps>
            <variables>
                <variable>displacement</variable>
                <variable>pressure</variable>
                <variable>temperature</variable>
                <variable>sigma</variable>
                <variable>epsilon</variable>
            </variables>
        </output>
    </time_loop>
    <parameters>
        <parameter>
            <name>sigma0</name>
            <type>Function</type>
            <expression>-10e6 + 0.6 * 4e6</expression>
            <expression>-10e6 + 0.6 * 4e6</expression>
            <expression>-12e6 + 0.6 * 4e6</expression>
            <expression>0</expression>
            <expression>0</expression>
            <expression>0</expression>
        </parameter>
        <parameter>
            <name>E</name>
            <type>Constant</type>
            <value>4000e6</value>
        </parameter>
        <parameter>
            <name>nu</name>
            <type>Constant</type>
            <value>0.35</value>
        </parameter>
        <parameter>
            <name>displacement0</name>
            <type>Constant</type>
            <values>0 0 0</values>
        </parameter>
        <parameter>
            <name>pressure0</name>
            <type>Constant</type>
            <values>4e6</values>
        </parameter>
        <parameter>
            <name>temperature0</name>
            <type>Constant</type>
            <values>298.15</values>
        </parameter>
        <parameter>
            <name>temperature_outside</name>
            <type>Constant</type>
            <values>298.15</values>
        </parameter>
        <parameter>
            <name>pressure_tunnel</name>
            <type>Constant</type>
            <values>1e5</values>
        </parameter>
        <parameter>
            <name>pressure_outside</name>
            <type>Constant</type>
            <values>4e6</values>
        </parameter>
        <parameter>
            <name>load_top</name>
            <type>Constant</type>
            <values>-12e6</values>
        </parameter>
        <parameter>
            <name>dirichlet0</name>
            <type>Constant</type>
            <values>0</values>
        </parameter>
    </parameters>
    <curves>
        <curve>
            <name>excavation_curve</name>
            <!--
                Small step for initial state,
                exacavation for 0.2 days,
                keeping excavated region until end
            -->
            <coords>0 0.01 17280 2764800</coords>
            <values>0    0 0.4   0.4</values>
        </curve>
    </curves>
    <process_variables>
        <process_variable>
            <name>displacement</name>
            <components>3</components>
            <order>1</order>
            <initial_condition>displacement0</initial_condition>
            <boundary_conditions>
                <boundary_condition>
                    <mesh>left</mesh>
                    <type>Dirichlet</type>
                    <component>0</component>
                    <parameter>dirichlet0</parameter>
                </boundary_condition>
                <boundary_condition>
                    <mesh>back</mesh>
                    <type>Dirichlet</type>
                    <component>1</component>
                    <parameter>dirichlet0</parameter>
                </boundary_condition>
                <boundary_condition>
                    <mesh>bottom</mesh>
                    <type>Dirichlet</type>
                    <component>2</component>
                    <parameter>dirichlet0</parameter>
                </boundary_condition>
                <boundary_condition>
                    <mesh>right</mesh>
                    <type>Dirichlet</type>
                    <component>0</component>
                    <parameter>dirichlet0</parameter>
                </boundary_condition>
                <boundary_condition>
                    <mesh>front</mesh>
                    <type>Dirichlet</type>
                    <component>1</component>
                    <parameter>dirichlet0</parameter>
                </boundary_condition>
                <boundary_condition>
                    <mesh>top</mesh>
                    <type>Neumann</type>
                    <component>2</component>
                    <parameter>load_top</parameter>
                </boundary_condition>
            </boundary_conditions>
            <deactivated_subdomains>
                <deactivated_subdomain>
                    <time_curve>excavation_curve</time_curve>
                    <line_segment>
                        <start>0 0 0</start>
                        <end>0 0.4 0</end>
                    </line_segment>
                    <material_ids>1</material_ids>
                </deactivated_subdomain>
            </deactivated_subdomains>
        </process_variable>
        <process_variable>
            <name>pressure</name>
            <components>1</components>
            <order>1</order>
            <initial_condition>pressure0</initial_condition>
            <boundary_conditions>
                <boundary_condition>
                    <mesh>back</mesh>
                    <type>Dirichlet</type>
                    <parameter>pressure_outside</parameter>
                </boundary_condition>
                <boundary_condition>
                    <mesh>right</mesh>
                    <type>Dirichlet</type>
                    <parameter>pressure_outside</parameter>
                </boundary_condition>
                <boundary_condition>
                    <mesh>top</mesh>
                    <type>Dirichlet</type>
                    <parameter>pressure_outside</parameter>
                </boundary_condition>
            </boundary_conditions>
            <deactivated_subdomains>
                <deactivated_subdomain>
                    <time_curve>excavation_curve</time_curve>
                    <line_segment>
                        <start>0 0 0</start>
                        <end>0 0.4 0</end>
                    </line_segment>
                    <material_ids>1</material_ids>
                    <boundary_parameter>pressure_tunnel</boundary_parameter>
                </deactivated_subdomain>
            </deactivated_subdomains>
        </process_variable>
        <process_variable>
            <name>temperature</name>
            <components>1</components>
            <order>1</order>
            <initial_condition>temperature0</initial_condition>
            <boundary_conditions>
                <boundary_condition>
                    <mesh>back</mesh>
                    <type>Dirichlet</type>
                    <parameter>temperature_outside</parameter>
                </boundary_condition>
                <boundary_condition>
                    <mesh>right</mesh>
                    <type>Dirichlet</type>
                    <parameter>temperature_outside</parameter>
                </boundary_condition>
                <boundary_condition>
                    <mesh>top</mesh>
                    <type>Dirichlet</type>
                    <parameter>temperature_outside</parameter>
                </boundary_condition>
            </boundary_conditions>
            <deactivated_subdomains>
                <deactivated_subdomain>
                    <time_curve>excavation_curve</time_curve>
                    <line_segment>
                        <start>0 0 0</start>
                        <end>0 0.4 0</end>
                    </line_segment>
                    <material_ids>1</material_ids>
                    <boundary_parameter>temperature_outside</boundary_parameter>
                </deactivated_subdomain>
            </deactivated_subdomains>
        </process_variable>
    </process_variables>
    <nonlinear_solvers>
        <nonlinear_solver>
            <name>basic_newton</name>
            <type>Newton</type>
            <max_iter>10</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>
</OpenGeoSysProject>