-
Notifications
You must be signed in to change notification settings - Fork 29
/
th_decovalex.prj
794 lines (794 loc) · 27.9 KB
/
th_decovalex.prj
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
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
<?xml version="1.0" encoding="ISO-8859-1"?>
<OpenGeoSysProject>
<mesh>th_decovalex.vtu</mesh>
<geometry>boundary.gml</geometry>
<processes>
<process>
<name>th_decovalex</name>
<type>HT</type>
<coupling_scheme>staggered</coupling_scheme>
<integration_order>2</integration_order>
<process_variables>
<temperature>T</temperature>
<pressure>p</pressure>
</process_variables>
<specific_body_force>0 -9.81</specific_body_force>
<secondary_variables>
<secondary_variable internal_name="darcy_velocity" output_name="darcy_velocity"/>
</secondary_variables>
</process>
</processes>
<media>
<medium id="0">
<phases>
<phase>
<type>AqueousLiquid</type>
<properties>
<property>
<name>density</name>
<type>Linear</type>
<reference_value>1000.0</reference_value>
<independent_variable>
<variable_name>temperature</variable_name>
<reference_condition>293.0</reference_condition>
<slope>-4.3e-4</slope>
</independent_variable>
</property>
<property>
<name>viscosity</name>
<type>Constant</type>
<value>1.0e-3</value>
</property>
<property>
<name>specific_heat_capacity</name>
<type>Constant</type>
<value>4000</value>
</property>
<property>
<name>thermal_conductivity</name>
<type>Constant</type>
<!--0.6 * 86400 * 365 with the time unit of year-->
<value>18921600.0</value>
</property>
</properties>
</phase>
<phase>
<type>Solid</type>
<properties>
<property>
<name>storage</name>
<type>Constant</type>
<value>0.0</value>
</property>
<property>
<name>density</name>
<type>Parameter</type>
<parameter_name>rho_solid</parameter_name>
</property>
<property>
<name>thermal_conductivity</name>
<type>Parameter</type>
<parameter_name>lambda</parameter_name>
</property>
<property>
<name>specific_heat_capacity</name>
<type>Parameter</type>
<parameter_name>c_p</parameter_name>
</property>
</properties>
</phase>
</phases>
<properties>
<property>
<name>thermal_longitudinal_dispersivity</name>
<type>Constant</type>
<value>0.0</value>
</property>
<property>
<name>thermal_transversal_dispersivity</name>
<type>Constant</type>
<value>0.0</value>
</property>
<property>
<name>permeability</name>
<type>Constant</type>
<value>6.3072e-14 0. 0. 6.3072e-14</value>
</property>
<property>
<name>porosity</name>
<type>Constant</type>
<value>0.01</value>
</property>
</properties>
</medium>
<medium id="1">
<phases>
<phase>
<type>AqueousLiquid</type>
<properties>
<property>
<name>density</name>
<type>Linear</type>
<reference_value>1000.0</reference_value>
<independent_variable>
<variable_name>temperature</variable_name>
<reference_condition>293.0</reference_condition>
<slope>-4.3e-4</slope>
</independent_variable>
</property>
<property>
<name>viscosity</name>
<type>Constant</type>
<value>1.0e-3</value>
</property>
<property>
<name>specific_heat_capacity</name>
<type>Constant</type>
<value>4000</value>
</property>
<property>
<name>thermal_conductivity</name>
<type>Constant</type>
<!--0.6 * 86400 * 365 with the time unit of year-->
<value>18921600.0</value>
</property>
</properties>
</phase>
<phase>
<type>Solid</type>
<properties>
<property>
<name>density</name>
<type>Parameter</type>
<parameter_name>rho_solid</parameter_name>
</property>
<property>
<name>storage</name>
<type>Constant</type>
<value>0.0</value>
</property>
<property>
<name>thermal_conductivity</name>
<type>Parameter</type>
<parameter_name>lambda</parameter_name>
</property>
<property>
<name>specific_heat_capacity</name>
<type>Parameter</type>
<parameter_name>c_p</parameter_name>
</property>
</properties>
</phase>
</phases>
<properties>
<property>
<name>thermal_longitudinal_dispersivity</name>
<type>Constant</type>
<value>0.0</value>
</property>
<property>
<name>thermal_transversal_dispersivity</name>
<type>Constant</type>
<value>0.0</value>
</property>
<property>
<name>specific_heat_capacity</name>
<type>Constant</type>
<value>4000</value>
</property>
<property>
<name>permeability</name>
<type>Constant</type>
<value>3.1536e-10 0. 0. 3.1536e-10</value>
</property>
<property>
<name>porosity</name>
<type>Constant</type>
<value>0.41</value>
</property>
</properties>
</medium>
</media>
<time_loop>
<global_process_coupling>
<max_iter> 6 </max_iter>
<convergence_criteria>
<!-- convergence criterion for the first process -->
<convergence_criterion>
<type>DeltaX</type>
<norm_type>NORM2</norm_type>
<reltol>1.e-14</reltol>
</convergence_criterion>
<!-- convergence criterion for the second process -->
<convergence_criterion>
<type>DeltaX</type>
<norm_type>NORM2</norm_type>
<reltol>1.e-14</reltol>
</convergence_criterion>
</convergence_criteria>
</global_process_coupling>
<processes>
<process ref="th_decovalex">
<nonlinear_solver>basic_picard_T</nonlinear_solver>
<convergence_criterion>
<type>DeltaX</type>
<norm_type>NORM2</norm_type>
<abstol>1.e-6</abstol>
</convergence_criterion>
<time_discretization>
<type>BackwardEuler</type>
</time_discretization>
<time_stepping>
<type>FixedTimeStepping</type>
<t_initial> 0.0 </t_initial>
<t_end> 1e3 </t_end>
<timesteps>
<pair>
<repeat>4</repeat>
<delta_t>0.001</delta_t>
</pair>
<pair>
<repeat>1</repeat>
<delta_t>0.006</delta_t>
</pair>
<pair>
<repeat>9</repeat>
<delta_t>0.01</delta_t>
</pair>
<pair>
<repeat>9</repeat>
<delta_t>0.1</delta_t>
</pair>
<pair>
<repeat>39</repeat>
<delta_t>1.</delta_t>
</pair>
<pair>
<repeat>2</repeat>
<delta_t>2.0</delta_t>
</pair>
<pair>
<repeat>1</repeat>
<delta_t>16.0</delta_t>
</pair>
<pair>
<repeat>1</repeat>
<delta_t>30.0</delta_t>
</pair>
<pair>
<repeat>1</repeat>
<delta_t>40.0</delta_t>
</pair>
<pair>
<repeat>10</repeat>
<delta_t>86.0</delta_t>
</pair>
<pair>
<repeat>90</repeat>
<delta_t>100.0</delta_t>
</pair>
<pair>
<repeat>100</repeat>
<delta_t>900</delta_t>
</pair>
<pair>
<repeat>90</repeat>
<delta_t>1.e4</delta_t>
</pair>
</timesteps>
</time_stepping>
</process>
<process ref="th_decovalex">
<nonlinear_solver>basic_picard_H</nonlinear_solver>
<convergence_criterion>
<type>DeltaX</type>
<norm_type>NORM2</norm_type>
<abstol>1.e-6</abstol>
</convergence_criterion>
<time_discretization>
<type>BackwardEuler</type>
</time_discretization>
<time_stepping>
<type>FixedTimeStepping</type>
<t_initial> 0.0 </t_initial>
<t_end> 1.e3 </t_end>
<timesteps>
<pair>
<repeat>4</repeat>
<delta_t>0.001</delta_t>
</pair>
<pair>
<repeat>1</repeat>
<delta_t>0.006</delta_t>
</pair>
<pair>
<repeat>9</repeat>
<delta_t>0.01</delta_t>
</pair>
<pair>
<repeat>9</repeat>
<delta_t>0.1</delta_t>
</pair>
<pair>
<repeat>39</repeat>
<delta_t>1.</delta_t>
</pair>
<pair>
<repeat>2</repeat>
<delta_t>2.0</delta_t>
</pair>
<pair>
<repeat>1</repeat>
<delta_t>16.0</delta_t>
</pair>
<pair>
<repeat>1</repeat>
<delta_t>30.0</delta_t>
</pair>
<pair>
<repeat>1</repeat>
<delta_t>40.0</delta_t>
</pair>
<pair>
<repeat>10</repeat>
<delta_t>86.0</delta_t>
</pair>
<pair>
<repeat>90</repeat>
<delta_t>100.0</delta_t>
</pair>
<pair>
<repeat>100</repeat>
<delta_t>900</delta_t>
</pair>
<pair>
<repeat>90</repeat>
<delta_t>1.e4</delta_t>
</pair>
</timesteps>
</time_stepping>
</process>
</processes>
<output>
<type>VTK</type>
<prefix>th_decovalex</prefix>
<suffix>_ts_{:timestep}_t_{:time}</suffix>
<timesteps>
<pair>
<repeat> 1 </repeat>
<each_steps> 10 </each_steps>
</pair>
</timesteps>
<variables>
<variable> T </variable>
<variable> p </variable>
<variable>darcy_velocity</variable>
</variables>
</output>
</time_loop>
<parameters>
<parameter>
<name>p0</name>
<type>Constant</type>
<value>4.7e6</value>
</parameter>
<parameter>
<name>p_bc_top</name>
<type>Constant</type>
<value>4.3e+6</value>
</parameter>
<parameter>
<name>p_bc_bottom</name>
<type>Constant</type>
<value>4.7e+6</value>
</parameter>
<parameter>
<name>lambda</name>
<type>MeshElement</type>
<field_name>scaled_solid_thermal_conductivity</field_name>
<!--3.0 * 86400 * 365. Scaled with the time unit of year-->
</parameter>
<parameter>
<name>lambda_fluid</name>
<type>Constant</type>
<!--0.6 * 86400 * 365 with the time unit of year-->
<value>18921600.0</value>
</parameter>
<parameter>
<name>c_p</name>
<type>MeshElement</type>
<field_name>solid_heat_capacity</field_name>
</parameter>
<parameter>
<name>rho_solid</name>
<type>MeshElement</type>
<field_name>solid_density</field_name>
</parameter>
<parameter>
<name>n0</name>
<type>Constant</type>
<value>0.01</value>
</parameter>
<parameter>
<name>n1</name>
<type>Constant</type>
<value>0.41</value>
</parameter>
<parameter>
<name>T0</name>
<type>Constant</type>
<value>298</value>
</parameter>
<parameter>
<name>TB_top</name>
<type>Constant</type>
<value>294.0</value>
</parameter>
<parameter>
<name>TB_bottom</name>
<type>Constant</type>
<value>310</value>
</parameter>
<parameter>
<name>mu0</name>
<type>Constant</type>
<!--2.e-21 * 86400 * 365 with the time unit of year-->
<values>6.3072e-14 0. 0. 6.3072e-14</values>
</parameter>
<parameter>
<name>mu1</name>
<type>Constant</type>
<!--1.e-17 * 86400 * 365 with the time unit of year-->
<values>3.1536e-10 0. 0. 3.1536e-10</values>
</parameter>
<parameter>
<name>hpower_on_arc</name>
<type>Constant</type>
<value>1.0</value>
</parameter>
<parameter>
<name>heat_power</name>
<type>CurveScaled</type>
<curve>time_heat_power</curve>
<parameter>hpower_on_arc</parameter>
</parameter>
<parameter>
<name>heat_power_c</name>
<type>Constant</type>
<value>2477507279.46192</value>
</parameter>
</parameters>
<curves>
<curve>
<name>time_heat_power</name>
<coords>
0
1.00E-03
0.002
0.003
0.004
0.005
0.006
0.007
0.008
0.009
0.01
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1
2
3
4
5
6
7
8
9
10
20
30
40
50
60
70
80
90
100
200
300
400
500
600
700
800
900
1000
2000
3000
4000
5000
6000
7000
8000
9000
10000
20000
30000
40000
50000
60000
70000
80000
90000
100000
200000
300000
400000
500000
600000
700000
800000
900000
1000000
1.00E+10
</coords>
<!-- 86400 * 365 * original heat power data -->
<values>
2477507279.46192
2477459529.54288
2477411689.43088
2477363767.32528
2477315670.51024
2477267748.40464
2477219911.13088
2477171729.484
2477123892.21024
2477075710.56336
2477027873.2896
2472672907.16208
2467757091.56544
2462762401.59456
2457693385.056
2452552352.27712
2447343250.9344
2442069507.41424
2436734637.66528
2431341468.88992
2425894034.2272
2369163847.82544
2310711582.0096
2253930470.64432
2202214690.836
2158958419.37568
2112431166.82368
2078620739.1
2045550770.03376
2013204028.0392
1726032720.05136
1495088443.47744
1308713237.89344
1157694104.67264
1034749222.15824
934122524.20848
851262379.89264
782568686.43936
725193373.44672
448276352.8464
341492110.56144
277947936.256176
236509762.562928
209106613.956816
190948269.79944
178912492.01208
154295944.435872
143838731.939184
87693573.405456
68334737.77152
58916070.8136
52907269.428288
48548275.775136
45238544.066592
42688989.27792
41088819.808944
36699991.77528
21249719.02512
14044626.9792
9640538.832816
6944041.074528
5293033.113744
4282092.927936
3663114.947568
3284183.858832
3052109.993328
1972070.615664
1660867.028928
1472515.998336
1358407.99656
1289308.804704
1247386.360032
1222095.6864
1206749.827296
1197405.142848
1197405.142848
</values>
<!-- Original heat power data -->
<!--values>
78.561240470
78.559726330
78.558209330
78.556689730
78.555164590
78.553644990
78.552128080
78.550600250
78.549083340
78.547555510
78.546038600
78.407943530
78.252064040
78.093683460
77.932946000
77.769924920
77.604745400
77.437516090
77.268348480
77.097332220
76.924595200
75.125692790
73.272183600
71.471666370
69.831769750
68.460122380
66.984752880
65.912631250
64.863989410
63.838280950
54.732138510
47.408943540
41.499024540
36.710239240
32.811682590
29.620830930
26.993352990
24.815090260
22.995731020
14.214749900
10.828643790
8.813671241
7.499675373
6.630727231
6.054929915
5.673277905
4.892692302
4.561096269
2.780744971
2.166880320
1.868216350
1.677678508
1.539455726
1.434504822
1.353658970
1.302917929
1.163749105
0.673824170
0.445352200
0.305699481
0.220194098
0.167840979
0.135784276
0.116156613
0.104140787
0.096781773
0.062533949
0.052665748
0.046693176
0.043074835
0.040883714
0.039554362
0.038752400
0.038265786
0.037969468
0.037969468
</values-->
</curve>
</curves>
<process_variables>
<process_variable>
<name>T</name>
<components>1</components>
<order>1</order>
<initial_condition>T0</initial_condition>
<boundary_conditions>
<boundary_condition>
<geometrical_set>th_decovalex</geometrical_set>
<geometry>top</geometry>
<type>Dirichlet</type>
<parameter>TB_top</parameter>
</boundary_condition>
<boundary_condition>
<geometrical_set>th_decovalex</geometrical_set>
<geometry>bottom</geometry>
<type>Dirichlet</type>
<parameter>TB_bottom</parameter>
</boundary_condition>
<boundary_condition>
<geometrical_set>th_decovalex</geometrical_set>
<geometry>arc</geometry>
<type>Neumann</type>
<parameter>heat_power</parameter>
</boundary_condition>
</boundary_conditions>
</process_variable>
<process_variable>
<name>p</name>
<components>1</components>
<order>1</order>
<initial_condition>p0</initial_condition>
<boundary_conditions>
<boundary_condition>
<geometrical_set>th_decovalex</geometrical_set>
<geometry>top</geometry>
<type>Dirichlet</type>
<parameter>p_bc_top</parameter>
</boundary_condition>
<boundary_condition>
<geometrical_set>th_decovalex</geometrical_set>
<geometry>bottom</geometry>
<type>Dirichlet</type>
<parameter>p_bc_bottom</parameter>
</boundary_condition>
</boundary_conditions>
</process_variable>
</process_variables>
<nonlinear_solvers>
<nonlinear_solver>
<name>basic_picard_T</name>
<type>Picard</type>
<max_iter>10</max_iter>
<linear_solver>linear_solver_T</linear_solver>
</nonlinear_solver>
<nonlinear_solver>
<name>basic_picard_H</name>
<type>Picard</type>
<max_iter>10</max_iter>
<linear_solver>linear_solver_H</linear_solver>
</nonlinear_solver>
</nonlinear_solvers>
<linear_solvers>
<linear_solver>
<name>linear_solver_T</name>
<lis>-i cg -p jacobi -tol 1e-20 -maxiter 10000</lis>
<eigen>
<solver_type>BiCGSTAB</solver_type>
<precon_type>DIAGONAL</precon_type>
<max_iteration_step>10000</max_iteration_step>
<error_tolerance>1e-20</error_tolerance>
</eigen>
<petsc>
<prefix>T</prefix>
<parameters>-T_ksp_type bcgs -T_pc_type bjacobi -T_ksp_rtol 1e-16 -T_ksp_max_it 10000</parameters>
</petsc>
</linear_solver>
<linear_solver>
<name>linear_solver_H</name>
<lis>-i cg -p jacobi -tol 1e-20 -maxiter 10000</lis>
<eigen>
<solver_type>CG</solver_type>
<precon_type>DIAGONAL</precon_type>
<max_iteration_step>10000</max_iteration_step>
<error_tolerance>1e-20</error_tolerance>
</eigen>
<petsc>
<prefix>H</prefix>
<parameters>-H_ksp_type cg -H_pc_type bjacobi -H_ksp_rtol 1e-16 -H_ksp_max_it 10000</parameters>
</petsc>
</linear_solver>
</linear_solvers>
</OpenGeoSysProject>