circle_disk.prj 8.75 KB
Newer Older
1
<?xml version="1.0" encoding="ISO-8859-1"?>
2
<!--units: kg, m, s, K and derived units: N, Pa=N/m�, Da=m� -->
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
<OpenGeoSysProject>
    <meshes>
        <mesh>fullCircle_domain.vtu</mesh>
        <mesh>fullCircle_boundary.vtu</mesh>
    </meshes>
    <processes>
        <process>
            <name>HeatConduction</name>
            <type>HEAT_CONDUCTION</type>
            <integration_order>2</integration_order>
            <process_variables>
                <process_variable>temperature</process_variable>
            </process_variables>
            <secondary_variables>
                <secondary_variable internal_name="heat_flux" output_name="heat_flux"/>
            </secondary_variables>
        </process>
    </processes>
    <media>
        <medium id="0">
           <phases>
                <phase>
		                <!-- Pore water phase -->
                    <type>AqueousLiquid</type>
                    <properties>
                        <property>
                            <name>thermal_conductivity</name>
                            <type>Constant</type>
                            <value>0.54</value> <!-- W/m/K-->
                        </property>
                        <property>
                            <name>specific_heat_capacity</name>
                            <type>Constant</type>
                            <value>4186</value> <!-- J/kg/K-->
                        </property>
                        <property>
                            <name>density</name>
                            <type>Constant</type>
41
                            <value>1000</value> <!--kg/m�-->
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
                        </property>
                    </properties>
                </phase>
                <phase>
		                <!-- Pore ice phase -->
                    <type>FrozenLiquid</type>
                    <properties>
                        <property>
                            <name>thermal_conductivity</name>
                            <type>Constant</type>
                            <value>2.37</value> <!-- W/m/K-->
                        </property>
                        <property>
                            <name>specific_heat_capacity</name>
                            <type>Constant</type>
                            <value>2052</value> <!-- J/kg/K-->
                        </property>
                        <property>
                            <name>density</name>
                            <type>Constant</type>
62
                            <value>900</value> <!--kg/m�-->
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
                        </property>
                    </properties>
                </phase>
                <phase>
		                <!-- Porous solid phase -->
                    <type>Solid</type>
                    <properties>
                        <property>
                            <name>thermal_conductivity</name>
                            <type>Constant</type>
                            <value>0.6</value> <!-- W/m/K-->
                        </property>
                        <property>
                            <name>specific_heat_capacity</name>
                            <type>Constant</type>
                            <value>2000</value> <!-- J/kg/K-->
                        </property>
                        <property>
                            <name>density</name>
                            <type>Constant</type>
83
                            <value>1030</value> <!--kg/m�-->
84
85
86
87
88
89
90
91
92
93
94
95
96
                        </property>
                    </properties>
                </phase>
            </phases>
            <properties>
                <property>
                    <name>porosity</name>
                    <type>Constant</type>
                    <value>0.2</value>
                </property>
                <property>
                    <name>volume_fraction</name>
                    <type>TemperatureDependentFraction</type>
97
                    <steepness>1</steepness> <!-- 1/K -->
98
99
100
101
102
103
104
105
106
107
108
109
110
                    <characteristic_temperature>273.15</characteristic_temperature> <!-- K -->
                </property>
                <property>
                    <name>density</name>
                    <type>VolumeFractionAverage</type>
                </property>
                <property>
                    <name>thermal_conductivity</name>
                    <type>VolumeFractionAverage</type>
                </property>
                <property>
                    <name>specific_heat_capacity</name>
                    <type>SpecificHeatCapacityWithLatentHeat</type>
111
                    <specific_latent_heat>334000</specific_latent_heat> <!-- J/kg-->
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
                </property>
            </properties>
        </medium>
    </media>
    <parameters>
        <parameter>
            <name>T0</name>
            <type>Constant</type>
            <value>255.15</value>
        </parameter>
        <parameter>
            <name>TB</name>
            <type>Constant</type>
            <value>278.15</value>
        </parameter>
    </parameters>
    <process_variables>
        <process_variable>
            <name>temperature</name>
            <components>1</components>
            <order>1</order>
            <initial_condition>T0</initial_condition>
            <boundary_conditions>
                <boundary_condition>
                    <mesh>fullCircle_boundary</mesh>
                    <type>Dirichlet</type>
                    <parameter>TB</parameter>
                </boundary_condition>
            </boundary_conditions>
        </process_variable>
    </process_variables>
    <time_loop>
        <processes>
            <process ref="HeatConduction">
                <!--<nonlinear_solver>basic_newton</nonlinear_solver>-->
                <nonlinear_solver>basic_picard</nonlinear_solver>
                <convergence_criterion>
                    <type>DeltaX</type>
                    <norm_type>NORM2</norm_type>
                    <abstol>6.e-2</abstol>
                </convergence_criterion>
                <time_discretization>
                    <type>BackwardEuler</type>
                </time_discretization>
                <time_stepping>
                    <type>FixedTimeStepping</type>
                    <t_initial>0.0</t_initial>
                    <t_end>18000</t_end>
                    <timesteps>
                        <pair>
                            <repeat>200</repeat>
                            <delta_t>90</delta_t>
                        </pair>
                    </timesteps>
                </time_stepping>
            </process>
        </processes>
        <output>
            <type>VTK</type>
            <prefix>circle_disk</prefix>
            <timesteps>
                <pair>
                    <repeat>10000</repeat>
                    <each_steps>1</each_steps>
                </pair>
            </timesteps>
            <variables>
                <variable> temperature </variable>
                <variable> heat_flux </variable>
            </variables>
            <suffix>_ts_{:timestep}_t_{:time}</suffix>
        </output>
    </time_loop>
    <nonlinear_solvers>
        <nonlinear_solver>
            <name>basic_picard</name>
            <type>Picard</type>
            <max_iter>20</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>CG</solver_type>
                <precon_type>DIAGONAL</precon_type>
                <max_iteration_step>10000</max_iteration_step>
                <error_tolerance>1e-16</error_tolerance>
            </eigen>
        </linear_solver>
    </linear_solvers>
    <test_definition>
        <!--primary field-->
        <vtkdiff>
            <file>circle_disk_ts_12_t_1080.000000.vtu</file>
            <field>temperature</field>
209
            <absolute_tolerance>2e-10</absolute_tolerance>
210
211
212
213
214
            <relative_tolerance>0</relative_tolerance>
        </vtkdiff>
        <vtkdiff>
            <file>circle_disk_ts_200_t_18000.000000.vtu</file>
            <field>temperature</field>
215
            <absolute_tolerance>2e-10</absolute_tolerance>
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
            <relative_tolerance>0</relative_tolerance>
        </vtkdiff>
        <!--secondary field-->
        <vtkdiff>
            <file>circle_disk_ts_12_t_1080.000000.vtu</file>
            <field>heat_flux</field>
            <absolute_tolerance>1e-10</absolute_tolerance>
            <relative_tolerance>0</relative_tolerance>
        </vtkdiff>
        <vtkdiff>
            <file>circle_disk_ts_200_t_18000.000000.vtu</file>
            <field>heat_flux</field>
            <absolute_tolerance>1e-10</absolute_tolerance>
            <relative_tolerance>0</relative_tolerance>
        </vtkdiff>
    </test_definition>
</OpenGeoSysProject>