-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinput_2Domain_2Group.hit
384 lines (384 loc) · 7.36 KB
/
input_2Domain_2Group.hit
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
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
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
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
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
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
[Problem]
type = FEProblem
coord_type = RSPHERICAL
[]
[Mesh]
[omega1]
type = GeneratedMeshGenerator
dim = 1
xmin = 0.0
xmax = 3.44
nx = 300
boundary_name_prefix = omega_1
elem_type = edge3
[]
[omega2]
type = GeneratedMeshGenerator
dim = 1
xmin = 3.44
xmax = 10
nx = 300
boundary_name_prefix = omega_2
elem_type = edge3
[]
[omega]
type = StitchedMeshGenerator
inputs = 'omega1 omega2'
stitch_boundaries_pairs = 'omega_1_right omega_2_left'
clear_stitched_boundary_ids = true
[]
[mod1]
type = SubdomainBoundingBoxGenerator
input = omega
block_id = 1
block_name = omega_1
bottom_left = '0.0 0 0'
top_right = '3.44 1 0'
[]
[mod2]
type = SubdomainBoundingBoxGenerator
input = mod1
block_id = 2
block_name = omega_2
bottom_left = '3.44 0 0'
top_right = '10 1 0'
[]
[mod3]
type = SideSetsBetweenSubdomainsGenerator
input = mod2
primary_block = omega_1
paired_block = omega_2
new_boundary = interface_12
[]
[mod4]
type = SideSetsAroundSubdomainGenerator
input = mod3
block = omega_1
normal = '-1 0 0'
new_boundary = omega_1_left
[]
[mod5]
type = SideSetsAroundSubdomainGenerator
input = mod4
block = omega_2
normal = '1 0 0'
new_boundary = omega_2_right
[]
[]
[Variables]
[u1_c]
block = omega_1
order = second
family = lagrange
initial_condition = 1000
[]
[u2_c]
block = omega_1
order = second
family = lagrange
initial_condition = 1000
[]
[u1_m]
block = omega_2
order = second
family = lagrange
initial_condition = 1000
[]
[u2_m]
block = omega_2
order = second
family = lagrange
initial_condition = 1000
[]
[]
[AuxVariables]
[diffFlux_u1_c]
block = omega_1
order = first
family = monomial_vec
[]
[diffFlux_u2_c]
block = omega_1
order = first
family = monomial_vec
[]
[diffFlux_u1_m]
block = omega_2
order = first
family = monomial_vec
[]
[diffFlux_u2_m]
block = omega_2
order = first
family = monomial_vec
[]
[diffFlux_u1_c_r]
block = omega_1
order = first
family = monomial
[]
[diffFlux_u2_c_r]
block = omega_1
order = first
family = monomial
[]
[diffFlux_u1_m_r]
block = omega_2
order = first
family = monomial
[]
[diffFlux_u2_m_r]
block = omega_2
order = first
family = monomial
[]
[]
[Kernels]
[diffusion_term_u1_c]
type = DiffusionTerm
block = omega_1
variable = u1_c
diffCoeff = 1.33
[]
[diffusion_term_u2_c]
type = DiffusionTerm
block = omega_1
variable = u2_c
diffCoeff = 0.0292
[]
[diffusion_term_u1_m]
type = DiffusionTerm
block = omega_2
variable = u1_m
diffCoeff = 0.725
[]
[diffusion_term_u2_m]
type = DiffusionTerm
block = omega_2
variable = u2_m
diffCoeff = 0.452
[]
[group_scattering_u2_c]
type = SourceTermG2_May8
block = omega_1
variable = u2_c
coupledGroupA = u1_c
sigma_sa = 3.21e-07
[]
[group_scattering_u2_m]
type = SourceTermG2_May8
block = omega_2
variable = u2_m
coupledGroupA = u1_m
sigma_sa = 0.000374
[]
[fission_source_u1_c]
type = FissionSource
block = omega_1
variable = u1_c
Sigma_nu = 0.22
[]
[fission_source_u2_to_u1_c]
type = SourceTermG2_May8
block = omega_1
variable = u1_c
coupledGroupA = u2_c
sigma_sa = 21.6
[]
[abs_u1_c]
type = SourceTermG1
block = omega_1
variable = u1_c
sigma_sa = -0.0761
[]
[abs_u2_c]
type = SourceTermG1
block = omega_1
variable = u2_c
sigma_sa = -11.0
[]
[abs_u1_m]
type = SourceTermG1
block = omega_2
variable = u1_m
sigma_sa = -0.00147
[]
[abs_u2_m]
type = SourceTermG1
block = omega_2
variable = u2_m
sigma_sa = -0.000594
[]
[]
[InterfaceKernels]
[scalar_flux_continuity_u1]
type = InterfaceDiffusion
variable = u1_c
neighbor_var = u1_m
boundary = interface_12
D = 1.33
D_neighbor = 0.725
[]
[scalar_flux_jump_u1]
type = InterfacePartition
variable = u1_c
neighbor_var = u1_m
boundary = interface_12
kCoeff = 1
[]
[scalar_flux_continuity_u2]
type = InterfaceDiffusion
variable = u2_c
neighbor_var = u2_m
boundary = interface_12
D = 0.0292
D_neighbor = 0.452
[]
[scalar_flux_jump_u2]
type = InterfacePartition
variable = u2_c
neighbor_var = u2_m
boundary = interface_12
kCoeff = 1
[]
[]
[AuxKernels]
[diffusion_flux_u1_c]
type = HeatFlux
block = omega_1
field = u1_c
thCondCoeff = 1.33
variable = diffFlux_u1_c
execute_on = timestep_end
[]
[diffusion_flux_u2_c]
type = HeatFlux
block = omega_1
field = u2_c
thCondCoeff = 0.0292
variable = diffFlux_u2_c
execute_on = timestep_end
[]
[diffusion_flux_u1_m]
type = HeatFlux
block = omega_2
field = u1_m
thCondCoeff = 0.725
variable = diffFlux_u1_m
execute_on = timestep_end
[]
[diffusion_flux_u2_m]
type = HeatFlux
block = omega_2
field = u2_m
thCondCoeff = 0.452
variable = diffFlux_u2_m
execute_on = timestep_end
[]
[diffusion_flux_u1_c_r]
type = VectorVariableComponentAux
block = omega_1
vector_variable = diffFlux_u1_c
component = x
variable = diffFlux_u1_c_r
execute_on = timestep_end
[]
[diffusion_flux_u2_c_r]
type = VectorVariableComponentAux
block = omega_1
vector_variable = diffFlux_u2_c
component = x
variable = diffFlux_u2_c_r
execute_on = timestep_end
[]
[diffusion_flux_u1_m_r]
type = VectorVariableComponentAux
block = omega_2
vector_variable = diffFlux_u1_m
component = x
variable = diffFlux_u1_m_r
execute_on = timestep_end
[]
[diffusion_flux_u2_m_r]
type = VectorVariableComponentAux
block = omega_2
vector_variable = diffFlux_u2_m
component = x
variable = diffFlux_u2_m_r
execute_on = timestep_end
[]
[]
[BCs]
[entry_u1]
type = NeumannBC
variable = u1_c
boundary = omega_1_left
value = 0
[]
[entry_u2]
type = NeumannBC
variable = u2_c
boundary = omega_1_left
value = 0
[]
[exit_u1]
type = VacuumBC
variable = u1_m
boundary = omega_2_right
[]
[exit_u2]
type = VacuumBC
variable = u2_m
boundary = omega_2_right
[]
[]
[Functions]
[refFluxFunc]
type = ParsedFunction
value = flux_ref
vars = flux_ref
vals = 0
[]
[]
[Executioner]
type = Steady
solve_type = PJFNK
petsc_options_iname = '-pc_type -pc_hypre_type'
petsc_options_value = 'hypre boomeramg'
l_max_its = 20
l_tol = 1e-05
nl_max_its = 15
nl_rel_tol = 1e-08
nl_abs_tol = 1e-08
[]
[VectorPostprocessors]
[omega_1]
type = LineValueSampler
execute_on = 'timestep_end final'
variable = 'u1_c u2_c diffFlux_u1_c_r diffFlux_u2_c_r'
start_point = '0.0 0 0'
end_point = '3.43656 0 0'
num_points = 601
sort_by = id
[]
[omega_2]
type = LineValueSampler
execute_on = 'timestep_end final'
variable = 'u1_m u2_m diffFlux_u1_m_r diffFlux_u2_m_r'
start_point = '3.4434399999999994 0 0'
end_point = '10 0 0'
num_points = 601
sort_by = id
[]
[]
[Outputs]
console = true
[csv]
type = CSV
file_base = output
execute_on = final
[]
[]
[Debug]
show_var_residual_norms = true
[]