ogs5_H_3d.prj 9.01 KB
Newer Older
1
2
<?xml version="1.0" encoding="ISO-8859-1"?>
<OpenGeoSysProject>
3
4
5
6
7
    <meshes>
        <mesh>3D_HGW_1.vtu</mesh>
        <mesh>3D_HGW_1_l.vtu</mesh>
        <mesh>3D_HGW_1_r.vtu</mesh>
    </meshes>
8
9
10
11
12
13
    <processes>
        <process>
            <name>hc</name>
            <type>ComponentTransport</type>
            <integration_order>2</integration_order>
            <process_variables>
renchao.lu's avatar
renchao.lu committed
14
                <concentration>Si</concentration>
15
16
17
18
                <pressure>pressure</pressure>
            </process_variables>
            <specific_body_force>0 0 -9.81</specific_body_force>
            <secondary_variables>
19
                <secondary_variable internal_name="darcy_velocity" output_name="darcy_velocity"/>
20
21
22
            </secondary_variables>
        </process>
    </processes>
renchao.lu's avatar
renchao.lu committed
23
24
25
26
27
28
29
30
31
32
    <media>
        <medium id="0">
            <phases>
                <phase>
                    <type>AqueousLiquid</type>
                    <components>
                        <component>
                            <name>Si</name>
                            <properties>
                                <property>
renchao.lu's avatar
renchao.lu committed
33
                                    <name>pore_diffusion</name>
renchao.lu's avatar
renchao.lu committed
34
35
36
                                    <type>Constant</type>
                                    <value>2e-9</value>
                                </property>
37
38
39
40
41
                                <property>
                                    <name>retardation_factor</name>
                                    <type>Constant</type>
                                    <value>1</value>
                                </property>
42
43
44
45
46
                                <property>
                                    <name>decay_rate</name>
                                    <type>Parameter</type>
                                    <parameter_name>decay</parameter_name>
                                </property>
renchao.lu's avatar
renchao.lu committed
47
48
49
                            </properties>
                        </component>
                    </components>
50
51
52
53
54
55
56
57
58
59
60
61
                    <properties>
                        <property>
                            <name>density</name>
                            <type>Constant</type>
                            <value>1e3</value>
                        </property>
                        <property>
                            <name>viscosity</name>
                            <type>Constant</type>
                            <value>1e-3</value>
                        </property>
                    </properties>
renchao.lu's avatar
renchao.lu committed
62
63
64
                </phase>
            </phases>
            <properties>
65
66
67
68
69
70
71
72
73
74
                <property>
                    <name>permeability</name>
                    <type>Parameter</type>
                    <parameter_name>kappa1</parameter_name>
                </property>
                <property>
                    <name>porosity</name>
                    <type>Parameter</type>
                    <parameter_name>constant_porosity_parameter</parameter_name>
                </property>
renchao.lu's avatar
renchao.lu committed
75
76
77
78
79
80
81
82
83
84
85
86
87
                <property>
                    <name>longitudinal_dispersivity</name>
                    <type>Constant</type>
                    <value>1</value>
                </property>
                <property>
                    <name>transversal_dispersivity</name>
                    <type>Constant</type>
                    <value>0.1</value>
                </property>
            </properties>
        </medium>
    </media>
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
    <time_loop>
        <processes>
            <process ref="hc">
                <nonlinear_solver>basic_picard</nonlinear_solver>
                <convergence_criterion>
                    <type>PerComponentDeltaX</type>
                    <norm_type>NORM2</norm_type>
                    <reltols>5e-3 5e-3</reltols>
                </convergence_criterion>
                <time_discretization>
                    <type>BackwardEuler</type>
                </time_discretization>
                <time_stepping>
                    <type>FixedTimeStepping</type>
                    <t_initial> 0.0 </t_initial>
                    <t_end> 1e7 </t_end>
                    <timesteps>
                        <pair>
                            <repeat>1</repeat>
107
                            <delta_t>1e6</delta_t>
108
109
110
111
112
113
114
                        </pair>
                    </timesteps>
                </time_stepping>
            </process>
        </processes>
        <output>
            <type>VTK</type>
115
            <prefix>out_ogs5_H</prefix>
116
117
118
119
120
121
            <timesteps>
                <pair>
                    <repeat>1</repeat>
                    <each_steps>1</each_steps>
                </pair>
            </timesteps>
122
            <variables>
renchao.lu's avatar
renchao.lu committed
123
                <variable>Si</variable>
124
125
126
                <variable>pressure</variable>
                <variable>darcy_velocity</variable>
            </variables>
127
            <suffix>_ts_{:timestep}_t_{:time}</suffix>
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
        </output>
    </time_loop>
    <parameters>
        <parameter>
            <name>decay</name>
            <type>Constant</type>
            <value>0</value>
        </parameter>
        <parameter>
            <name>c1</name>
            <type>Constant</type>
            <value>1</value>
        </parameter>
        <parameter>
            <name>c0</name>
            <type>Constant</type>
            <value>0</value>
        </parameter>
        <parameter>
            <name>p0</name>
            <type>Constant</type>
            <value>0</value>
        </parameter>
        <!-- <parameter>
            <name>p_Dirichlet_left</name>
            <type>Constant</type>
            <value>98100</value>
        </parameter>
        <parameter>
            <name>p_Dirichlet_right</name>
            <type>Constant</type>
            <value>88290</value>
        </parameter> -->
        <parameter>
            <name>p_ini</name>
            <type>MeshNode</type>
            <field_name>p_ini</field_name>
        </parameter>
        <parameter>
            <name>constant_porosity_parameter</name>
            <type>Constant</type>
            <value>0.01</value>
        </parameter>
        <parameter>
            <name>kappa1</name>
            <type>MeshElement</type>
            <field_name>permeability_tensor</field_name>
            <!--type>Constant</type>
            <values>1.239e-7 0 0 1.239e-7</values-->
        </parameter>
178
179
180
181
182
183
184
185
186
187
188
189
        <parameter>
            <name>bc_left</name>
            <type>MeshNode</type>
            <mesh>3D_HGW_1_l</mesh>
            <field_name>p_bc</field_name>
        </parameter>
        <parameter>
            <name>bc_right</name>
            <type>MeshNode</type>
            <mesh>3D_HGW_1_r</mesh>
            <field_name>p_bc</field_name>
        </parameter>
190
191
192
    </parameters>
    <process_variables>
        <process_variable>
renchao.lu's avatar
renchao.lu committed
193
            <name>Si</name>
194
195
196
197
198
            <components>1</components>
            <order>1</order>
            <initial_condition>c0</initial_condition>
            <boundary_conditions>
                <boundary_condition>
199
                    <mesh>3D_HGW_1_l</mesh>
200
201
202
203
                    <type>Dirichlet</type>
                    <parameter>c1</parameter>
                </boundary_condition>
                <boundary_condition>
204
                    <mesh>3D_HGW_1_r</mesh>
205
206
207
208
209
210
211
212
213
214
215
216
                    <type>Dirichlet</type>
                    <parameter>c0</parameter>
                </boundary_condition>
            </boundary_conditions>
        </process_variable>
        <process_variable>
            <name>pressure</name>
            <components>1</components>
            <order>1</order>
            <initial_condition>p_ini</initial_condition>
            <boundary_conditions>
                <boundary_condition>
217
                    <type>Dirichlet</type>
218
                    <mesh>3D_HGW_1_l</mesh>
219
                    <parameter>bc_left</parameter>
220
221
                </boundary_condition>
                <boundary_condition>
222
                    <type>Dirichlet</type>
223
                    <mesh>3D_HGW_1_r</mesh>
224
                    <parameter>bc_right</parameter>
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
                </boundary_condition>
            </boundary_conditions>
        </process_variable>
    </process_variables>
    <nonlinear_solvers>
        <nonlinear_solver>
            <name>basic_picard</name>
            <type>Picard</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>
            <lis>-i bicgstab -p ilut -tol 1e-8 -maxiter 20000</lis>
            <eigen>
                <solver_type>BiCGSTAB</solver_type>
                <!-- <precon_type>ILUT</precon_type> -->
                <precon_type>DIAGONAL</precon_type>
                <max_iteration_step>1000</max_iteration_step>
                <error_tolerance>1e-8</error_tolerance>
            </eigen>
            <petsc>
                <prefix>hc</prefix>
                <parameters>-hc_ksp_type bcgs -hc_pc_type bjacobi -hc_ksp_rtol 1e-8 -hc_ksp_max_it 20000</parameters>
            </petsc>
        </linear_solver>
    </linear_solvers>
</OpenGeoSysProject>