Padilla_NaCl1.prj 12.2 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- NaCl1 setup -->
<OpenGeoSysProject>
    <mesh>Padilla_NaCl1.vtu</mesh>
    <geometry>Padilla.gml</geometry>
    <processes>
        <process>
            <name>HusC</name>
            <type>RichardsComponentTransport</type>
            <integration_order>2</integration_order>
            <process_variables>
                <concentration>concentration</concentration>
                <pressure>pressure</pressure>
            </process_variables>
            <specific_body_force>-9.81</specific_body_force>
            <secondary_variables>
17
18
                <secondary_variable internal_name="saturation" output_name="saturation"/>
                <secondary_variable internal_name="darcy_velocity" output_name="darcy_velocity"/>
19
20
21
            </secondary_variables>
        </process>
    </processes>
renchao.lu's avatar
renchao.lu committed
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
    <media>
        <medium id="0">
            <phases>
                <phase>
                    <type>AqueousLiquid</type>
                    <components>
                        <component>
                            <name>concentration</name>
                            <properties>
                                <property>
                                    <name>pore_diffusion</name>
                                    <type>Parameter</type>
                                    <parameter_name>Dm</parameter_name>
                                </property>
                                <property>
                                    <name>retardation_factor</name>
                                    <type>Parameter</type>
                                    <parameter_name>retardation_factor</parameter_name>
                                </property>
                                <property>
                                    <name>decay_rate</name>
                                    <type>Parameter</type>
                                    <parameter_name>decay_rate</parameter_name>
                                </property>
                            </properties>
                        </component>
                    </components>
                    <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>
                </phase>
            </phases>
            <properties>
                <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>
                <property>
                    <name>storage</name>
                    <type>Constant</type>
                    <value>0</value>
                </property>
                <property>
                    <name>capillary_pressure</name>
                    <type>CapillaryPressureVanGenuchten</type>
                    <residual_liquid_saturation>0.1689</residual_liquid_saturation>
                    <residual_gas_saturation>0</residual_gas_saturation>
                    <exponent>0.789029535864979</exponent>
                    <p_b>3633.33</p_b>
                    <maximum_capillary_pressure>36333.30</maximum_capillary_pressure>
                </property>
                <property>
                    <name>relative_permeability</name>
                    <type>RelativePermeabilityVanGenuchten</type>
                    <residual_liquid_saturation>0.1689</residual_liquid_saturation>
                    <residual_gas_saturation>0</residual_gas_saturation>
                    <minimum_relative_permeability_liquid>1e-12</minimum_relative_permeability_liquid>
                    <exponent>0.789029535864979</exponent>
                </property>
                <property>
                    <name>saturation</name>
                    <type>SaturationVanGenuchten</type>
                    <residual_liquid_saturation>0.1689</residual_liquid_saturation>
                    <residual_gas_saturation>0</residual_gas_saturation>
                    <exponent>0.789029535864979</exponent>
                    <p_b>3633.33</p_b>
                </property>
                <property>
                    <name>longitudinal_dispersivity</name>
                    <type>Parameter</type>
                    <parameter_name>alpha_l</parameter_name>
                </property>
                <property>
                    <name>transversal_dispersivity</name>
                    <type>Parameter</type>
                    <parameter_name>alpha_l</parameter_name>
                </property>
            </properties>
        </medium>
    </media>
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
    <time_loop>
        <processes>
            <process ref="HusC">
                <nonlinear_solver>basic_picard</nonlinear_solver>
                <convergence_criterion>
                    <type>PerComponentDeltaX</type>
                    <norm_type>NORM2</norm_type>
                    <reltols>1e-3 1e-3</reltols>
                </convergence_criterion>
                <time_discretization>
                    <type>BackwardEuler</type>
                </time_discretization>
                <time_stepping>
                    <type>FixedTimeStepping</type>
                    <t_initial> 0.0 </t_initial>
                    <t_end>20000</t_end>
                    <timesteps>
                        <pair>
                            <repeat>10</repeat>
                            <delta_t>1</delta_t>
                        </pair>
                        <pair>
                            <repeat>20</repeat>
                            <delta_t>2</delta_t>
                        </pair>
                    </timesteps>
                </time_stepping>
            </process>
        </processes>
        <output>
            <type>VTK</type>
148
            <prefix>Padilla_NaCl1</prefix>
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
            <timesteps>
                <pair>
                    <repeat>1</repeat>
                    <each_steps>550</each_steps>
                </pair>
                <pair>
                    <repeat>1</repeat>
                    <each_steps>500</each_steps>
                </pair>
                <pair>
                    <repeat>1</repeat>
                    <each_steps>1000</each_steps>
                </pair>
                <pair>
                    <repeat>23</repeat>
                    <each_steps>50</each_steps>
                </pair>
                <pair>
                    <repeat>1</repeat>
                    <each_steps>300</each_steps>
                </pair>
                <pair>
                    <repeat>1</repeat>
                    <each_steps>1000</each_steps>
                </pair>
            </timesteps>
175
176
177
178
179
180
            <variables>
                <variable>concentration</variable>
                <variable>pressure</variable>
                <variable>saturation</variable>
                <variable>darcy_velocity</variable>
            </variables>
181
            <suffix>_ts_{:timestep}_t_{:time}</suffix>
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
        </output>
    </time_loop>
    <parameters>
        <parameter>
            <name>rho_fluid</name>
            <type>Constant</type>
            <value>1000</value>
        </parameter>
        <parameter>
            <name>decay_rate</name>
            <type>Constant</type>
            <value>0.0</value>
        </parameter>
        <parameter>
            <name>retardation_factor</name>
            <type>Constant</type>
            <value>1</value>
        </parameter>
        <parameter>
            <name>alpha_l</name>
            <type>Constant</type>
            <value>3.4173E-04</value>
        </parameter>
        <parameter>
            <name>Dm</name>
            <type>Constant</type>
            <value>1e-9</value>
        </parameter>
        <parameter>
            <name>c_ini</name>
            <type>Constant</type>
            <value>0</value>
        </parameter>
        <parameter>
            <name>c1</name>
            <type>Constant</type>
            <value>1</value>
        </parameter>
        <parameter>
            <name>p0_mesh</name>
            <type>MeshNode</type>
            <field_name>pressure</field_name>
        </parameter>
        <parameter>
            <name>p0</name>
            <type>Constant</type>
            <value>0</value>
        </parameter>
        <parameter>
            <name>p_bottom_NaCl1</name>
            <type>Constant</type>
            <value>0</value>
        </parameter>
        <parameter>
            <name>q_top_NaCl1</name>
            <type>Constant</type>
            <value>2.12789E-05</value>
        </parameter>
240
241
242
243
244
245
246
247
248
249
        <parameter>
            <name>constant_porosity_parameter</name>
            <type>Constant</type>
            <value>0.45</value>
        </parameter>
        <parameter>
            <name>kappa1</name>
            <type>Constant</type>
            <values>1.17420446658343E-10</values>
        </parameter>
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
    </parameters>
    <process_variables>
        <process_variable>
            <name>concentration</name>
            <components>1</components>
            <order>1</order>
            <initial_condition>c_ini</initial_condition>
            <boundary_conditions>
                <boundary_condition>
                    <geometrical_set>h_us_mesh</geometrical_set>
                    <geometry>top</geometry>
                    <type>Dirichlet</type>
                    <parameter>c1</parameter>
                </boundary_condition>
            </boundary_conditions>
        </process_variable>
        <process_variable>
            <name>pressure</name>
            <components>1</components>
            <order>1</order>
            <initial_condition>p0_mesh</initial_condition>
            <boundary_conditions>
                <boundary_condition>
                    <geometrical_set>h_us_mesh</geometrical_set>
                    <geometry>top</geometry>
                    <type>Neumann</type>
                    <parameter>q_top_NaCl1</parameter>
                </boundary_condition>
                <boundary_condition>
                    <geometrical_set>h_us_mesh</geometrical_set>
                    <geometry>bottom</geometry>
                    <type>Dirichlet</type>
                    <parameter>p_bottom_NaCl1</parameter>
                </boundary_condition>
            </boundary_conditions>
        </process_variable>
    </process_variables>
    <nonlinear_solvers>
        <nonlinear_solver>
            <name>basic_picard</name>
            <type>Picard</type>
            <max_iter>100</max_iter>
            <linear_solver>general_linear_solver</linear_solver>
        </nonlinear_solver>
        <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>
            <eigen>
                <solver_type>BiCGSTAB</solver_type>
                <precon_type>DIAGONAL</precon_type>
                <max_iteration_step>10000</max_iteration_step>
                <error_tolerance>1e-10</error_tolerance>
            </eigen>
        </linear_solver>
    </linear_solvers>
312
313
    <test_definition>
        <vtkdiff>
314
            <regex>Padilla_NaCl1_ts_.*.vtu</regex>
315
            <field>concentration</field>
renchao.lu's avatar
renchao.lu committed
316
            <absolute_tolerance>1e-10</absolute_tolerance>
317
318
319
            <relative_tolerance>0</relative_tolerance>
        </vtkdiff>
        <vtkdiff>
320
            <regex>Padilla_NaCl1_ts_.*.vtu</regex>
321
322
323
324
325
            <field>pressure</field>
            <absolute_tolerance>1e-10</absolute_tolerance>
            <relative_tolerance>0</relative_tolerance>
        </vtkdiff>
    </test_definition>
326
</OpenGeoSysProject>