TwoPhase_Lia_quad_short.prj 9.27 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?xml version="1.0" encoding="ISO-8859-1"?>
<OpenGeoSysProject>
    <mesh>Twophase_Lia_quad.vtu</mesh>
    <geometry>Twophase_Lia.gml</geometry>
    <processes>
        <process>
            <name>GW23</name>
            <type>TWOPHASE_FLOW_PP</type>
            <integration_order>2</integration_order>
            <jacobian_assembler>
                <type>CentralDifferences</type>
                <component_magnitudes>1e4 1e+5</component_magnitudes>
                <relative_epsilons>1e-7 1e-7</relative_epsilons>
            </jacobian_assembler>
            <process_variables>
                <gas_pressure>gas_pressure</gas_pressure>
                <capillary_pressure>capillary_pressure</capillary_pressure>
            </process_variables>
            <secondary_variables>
20
                <secondary_variable internal_name="saturation" output_name="saturation"/>
21
22
23
24
25
26
            </secondary_variables>
            <specific_body_force>0 -9.81</specific_body_force>
            <mass_lumping> true </mass_lumping>
            <temperature> temp </temperature>
        </process>
    </processes>
27
    <media>
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
        <medium id="0">
            <phases>
                <phase>
                    <type>AqueousLiquid</type>
                    <properties>
                        <property>
                            <name>density</name>
                            <type>Constant</type>
                            <value>1.0e3</value>
                        </property>
                        <property>
                            <name>viscosity</name>
                            <type>Constant</type>
                            <value>1e-3</value>
                        </property>
                    </properties>
                </phase>
                <phase>
                    <type>Gas</type>
                    <properties>
                        <property>
                            <name>density</name>
                            <type>IdealGasLaw</type>
                        </property>
                        <property>
                            <name>viscosity</name>
                            <type>Constant</type>
                            <value>1.8e-5</value>
                        </property>
                        <property>
                            <name>molar_mass</name>
                            <type>Constant</type>
                            <value>0.02896</value>
                        </property>
                    </properties>
                </phase>
            </phases>
            <properties>
                <property>
                    <name>permeability</name>
                    <type>Constant</type>
                    <value>4.5e-13</value>
                </property>
                <property>
                    <name>saturation</name>
                    <type>SaturationLiakopoulos</type>
                </property>
                <property>
                    <name>relative_permeability</name>
                    <type>RelPermLiakopoulos</type>
                </property>
79
80
81
82
83
84
85
86
                <property>
                    <name>relative_permeability_nonwetting_phase</name>
                    <type>RelPermBrooksCoreyNonwettingPhase</type>
                    <residual_liquid_saturation>0.2</residual_liquid_saturation>
                    <residual_gas_saturation>0.0</residual_gas_saturation>
                    <min_relative_permeability>1.0e-4</min_relative_permeability>
                    <lambda>3.0</lambda>
                </property>
87
88
89
90
91
92
93
94
                <property>
                    <name>porosity</name>
                    <type>Constant</type>
                    <value>0.2975</value>
                </property>
            </properties>
        </medium>
    </media>
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
    <parameters>
        <parameter>
            <name>pc_Dirichlet_bottom</name>
            <type>Constant</type>
            <value>100.0</value>
        </parameter>
        <parameter>
            <name>pg_Dirichlet_bottom</name>
            <type>Constant</type>
            <value>101325.0</value>
        </parameter>
        <parameter>
            <name>pg_Dirichlet_top</name>
            <type>Constant</type>
            <value>101325.0</value>
        </parameter>
        <parameter>
            <name>pc_0</name>
            <type>Constant</type>
            <values>100.0</values>
        </parameter>
        <parameter>
            <name>pg_0</name>
            <type>Constant</type>
            <value>101325.0</value>
        </parameter>
        <parameter>
            <name>temp</name>
            <type>Constant</type>
            <value>293.15</value>
        </parameter>
126
127
128
129
130
131
132
133
134
135
        <parameter>
            <name>constant_porosity_parameter</name>
            <type>Constant</type>
            <value>2.975000e-001</value>
        </parameter>
        <parameter>
            <name>kappa1</name>
            <type>Constant</type>
            <values>4.500000e-13</values>
        </parameter>
136
137
138
139
140
141
142
143
144
145
146
    </parameters>
    <time_loop>
        <processes>
            <process ref="GW23">
                <nonlinear_solver>basic_newton</nonlinear_solver>
                <convergence_criterion>
                    <type>DeltaX</type>
                    <norm_type>NORM2</norm_type>
                    <abstol>1.e-7</abstol>
                </convergence_criterion>
                <time_discretization>
147
                    <type>BackwardEuler</type>
148
149
150
151
152
153
154
155
156
157
158
                </time_discretization>
                <time_stepping>
                    <type>FixedTimeStepping</type>
                    <t_initial>0</t_initial>
                    <t_end>20</t_end>
                    <timesteps>
                        <pair>
                            <repeat>100</repeat>
                            <delta_t>0.01</delta_t>
                        </pair>
                        <pair>
159
160
                            <repeat>40</repeat>
                            <delta_t>0.2</delta_t>
161
162
163
164
165
166
                        </pair>
                        <pair>
                            <repeat>100</repeat>
                            <delta_t>0.01</delta_t>
                        </pair>
                        <pair>
167
168
                            <repeat>40</repeat>
                            <delta_t>0.2</delta_t>
169
170
171
172
173
174
175
                        </pair>
                    </timesteps>
                </time_stepping>
            </process>
        </processes>
        <output>
            <type>VTK</type>
176
            <prefix>twophaseflow</prefix>
177
178
179
180
            <timesteps>
                <!-- only output last timestep -->
                <pair>
                    <repeat> 1 </repeat>
Dmitry Yu. Naumov's avatar
Dmitry Yu. Naumov committed
181
                    <each_steps> 290 </each_steps>
182
183
184
                </pair>
            </timesteps>
            <output_iteration_results>false</output_iteration_results>
185
186
187
188
189
            <variables>
                <variable> capillary_pressure </variable>
                <variable> gas_pressure </variable>
                <variable> saturation </variable>
            </variables>
190
            <suffix>_ts_{:timestep}_t_{:time}</suffix>
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
        </output>
    </time_loop>
    <process_variables>
        <process_variable>
            <name>gas_pressure</name>
            <components>1</components>
            <order>1</order>
            <initial_condition>pg_0</initial_condition>
            <boundary_conditions>
                <boundary_condition>
                    <geometrical_set>Twophase_Lia_Geometry</geometrical_set>
                    <geometry>TOP</geometry>
                    <type>Dirichlet</type>
                    <parameter>pg_Dirichlet_top</parameter>
                </boundary_condition>
                <boundary_condition>
                    <geometrical_set>Twophase_Lia_Geometry</geometrical_set>
                    <geometry>BOTTOM</geometry>
                    <type>Dirichlet</type>
                    <parameter>pg_Dirichlet_bottom</parameter>
                </boundary_condition>
            </boundary_conditions>
        </process_variable>
        <process_variable>
            <name>capillary_pressure</name>
            <components>1</components>
            <order>1</order>
            <initial_condition>pc_0</initial_condition>
            <boundary_conditions>
                <boundary_condition>
                    <geometrical_set>Twophase_Lia_Geometry</geometrical_set>
                    <geometry>BOTTOM</geometry>
                    <type>Dirichlet</type>
                    <parameter>pc_Dirichlet_bottom</parameter>
                </boundary_condition>
            </boundary_conditions>
        </process_variable>
    </process_variables>
    <nonlinear_solvers>
        <nonlinear_solver>
            <name>     basic_newton </name>
            <type>     Newton       </type>
            <max_iter> 50          </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 ilu -tol 1e-18 -maxiter 10000</lis>
            <eigen>
                <solver_type>BiCGSTAB</solver_type>
                <precon_type>ILUT</precon_type>
                <max_iteration_step>10000</max_iteration_step>
                <error_tolerance>1e-18</error_tolerance>
            </eigen>
        </linear_solver>
    </linear_solvers>
</OpenGeoSysProject>