tes-inert-axi.prj 7.95 KB
Newer Older
1
2
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
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
<?xml version="1.0" encoding="ISO-8859-1"?>
<OpenGeoSysProject>
    <mesh axially_symmetric="true">inert-wedge-extracted-surface-t-1s.vtu</mesh>
    <geometry>square_1x1_axi.gml</geometry>
    <processes>
        <process>
            <name>TES_pcs</name>
            <type>TES</type>
            <integration_order>2</integration_order>
            <process_variables>
                <fluid_pressure>       pressure    </fluid_pressure>
                <temperature>          temperature </temperature>
                <vapour_mass_fraction> v_mass_frac </vapour_mass_fraction>
            </process_variables>
            <secondary_variables>
            </secondary_variables>
            <reactive_system>
                <type>Inert</type>
            </reactive_system>
            <fluid_specific_heat_source>            0.0     </fluid_specific_heat_source>
            <fluid_specific_isobaric_heat_capacity> 10.0    </fluid_specific_isobaric_heat_capacity>
            <solid_hydraulic_permeability>          1.e-10  </solid_hydraulic_permeability>
            <solid_specific_heat_source>            0.0     </solid_specific_heat_source>
            <solid_heat_conductivity>               400     </solid_heat_conductivity>
            <solid_specific_isobaric_heat_capacity> 10.0    </solid_specific_isobaric_heat_capacity>
            <tortuosity>                            1.0     </tortuosity>
            <diffusion_coefficient>                 3.0e-5  </diffusion_coefficient>
            <porosity>                              0.4     </porosity>
            <solid_density_dry>                     1150.0  </solid_density_dry>
            <solid_density_initial>                 1305.25 </solid_density_initial>
            <characteristic_pressure>             1e5  </characteristic_pressure>
            <characteristic_temperature>          200  </characteristic_temperature>
            <characteristic_vapour_mass_fraction> 0.01 </characteristic_vapour_mass_fraction>
            <output_element_matrices>false</output_element_matrices>
        </process>
    </processes>
    <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_solvers>
    <linear_solvers>
        <linear_solver>
            <name>general_linear_solver</name>
            <lis>-i bicgstab -p ilu -tol 1e-24 -maxiter 10000 -print mem</lis>
            <eigen>
                <solver_type>        BiCGSTAB </solver_type>
                <precon_type>        ILUT     </precon_type>
                <max_iteration_step> 10000    </max_iteration_step>
                <error_tolerance>    1e-24    </error_tolerance>
            </eigen>
            <petsc>
                <prefix>tes</prefix>
                <parameters>-tes_ksp_type cg -tes_pc_type bjacobi -tes_ksp_rtol 1e-24 -tes_ksp_max_it 10000</parameters>
            </petsc>
        </linear_solver>
    </linear_solvers>
    <time_loop>
        <processes>
            <process ref="TES_pcs">
                <nonlinear_solver>basic_picard</nonlinear_solver>
                <convergence_criterion>
                    <type>PerComponentDeltaX</type>
                    <norm_type>NORM2</norm_type>
                    <reltols>1.e-6 1e-6 1e-6</reltols>
                </convergence_criterion>
                <time_discretization>
                    <type>BackwardEuler</type>
                </time_discretization>
                <time_stepping>
                    <type>FixedTimeStepping</type>
                    <t_initial> 0.0 </t_initial>
                    <t_end>     1.0 </t_end>
                    <timesteps>
                        <pair>
                            <repeat> 10 </repeat>
                            <delta_t> 0.25 </delta_t>
                        </pair>
                    </timesteps>
                </time_stepping>
            </process>
        </processes>
        <output>
            <type>VTK</type>
88
            <prefix>tes_inert_axi</prefix>
89
90
91
92
93
94
            <timesteps>
                <pair>
                    <repeat> 1 </repeat>
                    <each_steps> 1 </each_steps>
                </pair>
            </timesteps>
95
96
97
98
99
            <variables>
                <variable> pressure                </variable>
                <variable> temperature             </variable>
                <variable> v_mass_frac             </variable>
            </variables>
100
            <suffix>_ts_{:timestep}_t_{:time}</suffix>
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
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
        </output>
    </time_loop>
    <parameters>
        <parameter>
            <name>p_initial</name>
            <type>Constant</type>
            <value>1e5</value>
        </parameter>
        <parameter>
            <name>T_in</name>
            <type>Constant</type>
            <value>333.15</value>
        </parameter>
        <parameter>
            <name>xmV_in</name>
            <type>Constant</type>
            <value>0.025</value>
        </parameter>
        <parameter>
            <name>mass_flux</name>
            <type>Constant</type>
            <value>0.04</value>
        </parameter>
        <parameter>
            <name>heat_transfer_coefficient</name>
            <type>Constant</type>
            <value>1.4</value>
        </parameter>
        <parameter>
            <name>T_ambient</name>
            <type>Constant</type>
            <value>293.15</value>
        </parameter>
        <parameter>
            <name>T_initial</name>
            <type>MeshNode</type>
            <field_name>T0</field_name>
        </parameter>
    </parameters>
    <process_variables>
        <process_variable>
            <name>pressure</name>
            <components>1</components>
            <order>1</order>
            <initial_condition>p_initial</initial_condition>
            <boundary_conditions>
                <boundary_condition>
                    <geometrical_set>geometry</geometrical_set>
                    <geometry>bottom</geometry>
                    <type>Neumann</type>
                    <parameter>mass_flux</parameter>
                </boundary_condition>
                <boundary_condition>
                    <geometrical_set>geometry</geometrical_set>
                    <geometry>top</geometry>
                    <type>Dirichlet</type>
                    <parameter>p_initial</parameter>
                </boundary_condition>
            </boundary_conditions>
        </process_variable>
        <process_variable>
            <name>temperature</name>
            <components>1</components>
            <order>1</order>
            <initial_condition>T_initial</initial_condition>
            <boundary_conditions>
                <boundary_condition>
                    <geometrical_set>geometry</geometrical_set>
                    <geometry>bottom</geometry>
                    <type>Dirichlet</type>
                    <parameter>T_in</parameter>
                </boundary_condition>
                <boundary_condition>
                    <geometrical_set>geometry</geometrical_set>
                    <geometry>outer</geometry>
                    <type>Robin</type>
                    <alpha>heat_transfer_coefficient</alpha>
                    <u_0>T_ambient</u_0>
                </boundary_condition>
            </boundary_conditions>
        </process_variable>
        <process_variable>
            <name>v_mass_frac</name>
            <components>1</components>
            <order>1</order>
            <initial_condition>xmV_in</initial_condition>
            <boundary_conditions>
                <boundary_condition>
                    <geometrical_set>geometry</geometrical_set>
                    <geometry>bottom</geometry>
                    <type>Dirichlet</type>
                    <parameter>xmV_in</parameter>
                </boundary_condition>
            </boundary_conditions>
        </process_variable>
    </process_variables>
</OpenGeoSysProject>