fixed_power_constant_flow.prj 9.12 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?xml version="1.0" encoding="ISO-8859-1"?>
<OpenGeoSysProject>
    <mesh>beier_sandbox.vtu</mesh>
    <geometry>beier_sandbox.gml</geometry>
    <processes>
        <process>
            <name>HeatTransportBHE</name>
            <type>HEAT_TRANSPORT_BHE</type>
            <integration_order>2</integration_order>
            <process_variables>
                <process_variable>temperature_soil</process_variable>
                <process_variable>temperature_BHE1</process_variable>
            </process_variables>
            <borehole_heat_exchangers>
                <borehole_heat_exchanger>
Dmitry Yu. Naumov's avatar
Dmitry Yu. Naumov committed
16
17
18
19
20
21
22
23
24
25
26
27
28
                    <type>1U</type>
                    <flow_and_temperature_control>
                        <type>FixedPowerConstantFlow</type>
                        <flow_rate>2.0e-4</flow_rate>
                        <power>1056</power>
                    </flow_and_temperature_control>
                    <borehole>
                        <length>18.0</length>
                        <diameter>0.13</diameter>
                    </borehole>
                    <grout>
                        <density>2190.0</density>
                        <porosity>0.0</porosity>
29
                        <specific_heat_capacity>1735.160</specific_heat_capacity>
Dmitry Yu. Naumov's avatar
Dmitry Yu. Naumov committed
30
31
32
33
                        <thermal_conductivity>0.806</thermal_conductivity>
                    </grout>
                    <pipes>
                        <inlet>
34
                            <diameter> 0.013665</diameter>
Dmitry Yu. Naumov's avatar
Dmitry Yu. Naumov committed
35
36
37
38
                            <wall_thickness>0.003035</wall_thickness>
                            <wall_thermal_conductivity>0.39</wall_thermal_conductivity>
                        </inlet>
                        <outlet>
39
                            <diameter>0.013665</diameter>
Dmitry Yu. Naumov's avatar
Dmitry Yu. Naumov committed
40
41
42
43
44
45
46
47
48
49
50
51
52
                            <wall_thickness>0.003035</wall_thickness>
                            <wall_thermal_conductivity>0.39</wall_thermal_conductivity>
                        </outlet>
                        <distance_between_pipes>0.053</distance_between_pipes>
                        <longitudinal_dispersion_length>0.001</longitudinal_dispersion_length>
                    </pipes>
                    <refrigerant>
                        <density>992.92</density>
                        <viscosity>0.00067418</viscosity>
                        <specific_heat_capacity>4068</specific_heat_capacity>
                        <thermal_conductivity>0.62863</thermal_conductivity>
                        <reference_temperature>298.15</reference_temperature>
                    </refrigerant>
53
54
55
56
                </borehole_heat_exchanger>
            </borehole_heat_exchangers>
        </process>
    </processes>
57
    <media>
HBShaoUFZ's avatar
HBShaoUFZ committed
58
59
60
61
62
        <medium id="0">
            <phases>
                <phase>
                    <type>AqueousLiquid</type>
                    <properties>
63
                        <property>
64
                            <name>phase_velocity</name>
HBShaoUFZ's avatar
HBShaoUFZ committed
65
                            <type>Constant</type>
66
                            <value>0 0 0</value>
HBShaoUFZ's avatar
HBShaoUFZ committed
67
68
                        </property>
                        <property>
69
                            <name>specific_heat_capacity</name>
HBShaoUFZ's avatar
HBShaoUFZ committed
70
                            <type>Constant</type>
71
                            <value>4068</value>
HBShaoUFZ's avatar
HBShaoUFZ committed
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
                        </property>
                        <property>
                            <name>density</name>
                            <type>Constant</type>
                            <value>992.92</value>
                        </property>
                    </properties>
                </phase>
                <phase>
                    <type>Solid</type>
                    <properties>
                        <property>
                            <name>specific_heat_capacity</name>
                            <type>Constant</type>
                            <value>1778</value>
                        </property>
                        <property>
                            <name>density</name>
                            <type>Constant</type>
                            <value>1800</value>
                        </property>
                    </properties>
                </phase>
95
                <phase>
HBShaoUFZ's avatar
HBShaoUFZ committed
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
                    <type>Gas</type>
                    <properties>
                        <property>
                            <name>specific_heat_capacity</name>
                            <type>Constant</type>
                            <value>1000</value>
                        </property>
                        <property>
                            <name>density</name>
                            <type>Constant</type>
                            <value>2500</value>
                        </property>
                    </properties>
                </phase>
            </phases>
            <properties>
112
                <property>
113
114
115
116
                    <name>porosity</name>
                    <type>Constant</type>
                    <value>0</value>
                </property>
117
                <property>
118
119
120
121
                    <name>thermal_conductivity</name>
                    <type>Constant</type>
                    <value>2.78018</value>
                </property>
HBShaoUFZ's avatar
HBShaoUFZ committed
122
123
124
125
126
127
128
129
130
131
132
133
134
                <property>
                    <name>thermal_longitudinal_dispersivity</name>
                    <type>Constant</type>
                    <value>0</value>
                </property>
                <property>
                    <name>thermal_transversal_dispersivity</name>
                    <type>Constant</type>
                    <value>0</value>
                </property>
            </properties>
        </medium>
    </media>
135
136
137
138
139
140
141
    <time_loop>
        <processes>
            <process ref="HeatTransportBHE">
                <nonlinear_solver>basic_picard</nonlinear_solver>
                <convergence_criterion>
                    <type>DeltaX</type>
                    <norm_type>NORM2</norm_type>
Dmitry Yu. Naumov's avatar
Dmitry Yu. Naumov committed
142
                    <reltol>1e-10</reltol>
143
                </convergence_criterion>
144
145
146
                <time_discretization>
                    <type>BackwardEuler</type>
                </time_discretization>
147
148
149
150
151
152
153
154
155
156
157
                <time_stepping>
                    <type>FixedTimeStepping</type>
                    <t_initial> 0.0 </t_initial>
                    <!-- use the following for full simulation
                    <t_end> 186420 </t_end>
                    -->
                    <t_end> 600 </t_end>
                    <timesteps>
                        <!-- use the following for full simulation
                        <pair><repeat>3107</repeat><delta_t>60</delta_t></pair>
                        -->
158
159
160
161
                        <pair>
                            <repeat>10</repeat>
                            <delta_t>60</delta_t>
                        </pair>
162
163
164
165
                    </timesteps>
                </time_stepping>
            </process>
        </processes>
166
        <output>
167
            <type>VTK</type>
168
            <prefix>fixed_power_constant_flow</prefix>
169
            <timesteps>
170
171
172
173
                <pair>
                    <repeat> 1</repeat>
                    <each_steps> 10 </each_steps>
                </pair>
174
            </timesteps>
175
176
177
178
            <variables>
                <variable>temperature_soil</variable>
                <variable>temperature_BHE1</variable>
            </variables>
179
            <suffix>_ts_{:timestep}_t_{:time}</suffix>
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
        </output>
    </time_loop>
    <parameters>
        <parameter>
            <name>T0</name>
            <type>Constant</type>
            <value>295.175</value>
        </parameter>
        <parameter>
            <name>T0_BHE1</name>
            <type>Constant</type>
            <values>295.36 295.13 295.23 295.115</values>
        </parameter>
    </parameters>
    <process_variables>
        <process_variable>
            <name>temperature_soil</name>
            <components>1</components>
            <order>1</order>
            <initial_condition>T0</initial_condition>
            <boundary_conditions>
            </boundary_conditions>
        </process_variable>
        <process_variable>
            <name>temperature_BHE1</name>
            <components>4</components>
            <order>1</order>
            <initial_condition>T0_BHE1</initial_condition>
        </process_variable>
    </process_variables>
    <nonlinear_solvers>
        <nonlinear_solver>
            <name>basic_picard</name>
            <type>Picard</type>
Dmitry Yu. Naumov's avatar
Dmitry Yu. Naumov committed
214
            <max_iter>100</max_iter>
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
            <linear_solver>general_linear_solver</linear_solver>
        </nonlinear_solver>
    </nonlinear_solvers>
    <linear_solvers>
        <linear_solver>
            <name>general_linear_solver</name>
            <lis>-i cg -p jacobi -tol 1e-16 -maxiter 10000</lis>
            <eigen>
                <solver_type>BiCGSTAB</solver_type>
                <precon_type>ILUT</precon_type>
                <max_iteration_step>1000</max_iteration_step>
                <error_tolerance>1e-16</error_tolerance>
            </eigen>
            <petsc>
                <prefix>gw</prefix>
                <parameters>-gw_ksp_type cg -gw_pc_type bjacobi -gw_ksp_rtol 1e-16 -gw_ksp_max_it 10000</parameters>
            </petsc>
        </linear_solver>
    </linear_solvers>
</OpenGeoSysProject>