-
Notifications
You must be signed in to change notification settings - Fork 1
/
jaguar3d_rotation_scan_multilayer.i
145 lines (135 loc) · 3.93 KB
/
jaguar3d_rotation_scan_multilayer.i
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
[Mesh]
file = 3d_rotate_scan_multilayer.msh
[]
[Variables]
[./temperature]
initial_condition = 353 # Initial temperature
#scaling = 1e3 # Multiply the PDE by the scaling number, use when the residual is too small/large to avoid computational inaccuracy
[../]
[]
[Functions]
# Assign different thermal conductivity along time to materials in different layers
[./material_layer2]
type = ParsedFunction
value = 'if(t>= 0.081,0.0114,0.0000)' # Thermal conductivity W/mm*K
[../]
[./material_layer3]
type = ParsedFunction
value = 'if(t>= 0.162,0.0114,0.0000)' # Thermal conductivity W/mm*K
[../]
[./material_layer4]
type = ParsedFunction
value = 'if(t>= 0.243,0.0114,0.0000)' # Thermal conductivity W/mm*K
[../]
[./material_layer5]
type = ParsedFunction
value = 'if(t>= 0.324,0.0114,0.0000)' # Thermal conductivity W/mm*K
[../]
[]
[Kernels]
[./heat_conduction]
type = HeatConduction
variable = temperature
[../]
[./heat_conduction_time_derivative]
type = HeatConductionTimeDerivative
variable = temperature
[../]
[]
[DiracKernels]
[./point_heat_source]
type = rotation_scan_multilayer
variable = temperature
value = 145.35 #285W * 0.51
point = '0.06 0.07 0.232'
[../]
[]
[BCs]
[./outlet_temperature]
type = DirichletBC
variable = temperature
boundary = 'bottom_outlet'
value = 353 # (K)
[../]
[]
[Materials]
# Specific heat and density
[./IN718_base]
type = GenericConstantMaterial
block = base
prop_names = 'thermal_conductivity specific_heat density'
prop_values = '0.0114 0.435 0.008220' # W/mm*K, J/g-K, g/mm^3 @ 296K //Chua et al. (2018) Fig.13
[../]
[./IN718_layer1]
type = GenericConstantMaterial
block = layer_1
prop_names = 'thermal_conductivity specific_heat density'
prop_values = '0.0114 0.435 0.008220' # W/mm*K, J/g-K, g/mm^3 @ 296K
[../]
[./IN718_layer2]
type = GenericConstantMaterial
block = layer_2
prop_names = 'specific_heat density'
prop_values = '0.435 0.008220' # W/mm*K, J/g-K, g/mm^3 @ 296K
[../]
[./IN718_layer3]
type = GenericConstantMaterial
block = layer_3
prop_names = 'specific_heat density'
prop_values = '0.435 0.008220' # W/mm*K, J/g-K, g/mm^3 @ 296K
[../]
[./IN718_layer4]
type = GenericConstantMaterial
block = layer_4
prop_names = 'specific_heat density'
prop_values = '0.435 0.008220' # W/mm*K, J/g-K, g/mm^3 @ 296K
[../]
[./IN718_layer5]
type = GenericConstantMaterial
block = layer_5
prop_names = 'specific_heat density'
prop_values = '0.435 0.008220' # W/mm*K, J/g-K, g/mm^3 @ 296K
[../]
#Inactive layer thermal conductivity
[./IN718_layer2_conduct]
type = GenericFunctionMaterial
block = layer_2
prop_names = 'thermal_conductivity'
prop_values = material_layer2
[../]
[./IN718_layer3_conduct]
type = GenericFunctionMaterial
block = layer_3
prop_names = 'thermal_conductivity'
prop_values = material_layer3
[../]
[./IN718_layer4_conduct]
type = GenericFunctionMaterial
block = layer_4
prop_names = 'thermal_conductivity'
prop_values = material_layer4
[../]
[./IN718_layer5_conduct]
type = GenericFunctionMaterial
block = layer_5
prop_names = 'thermal_conductivity'
prop_values = material_layer5
[../]
[]
[Problem]
type = FEProblem
[]
[Executioner]
type = Transient
nl_rel_tol = 1e-10
l_tol = 1e-08 # Use to control the number of linear iteration, can help to lower the non-linear residual when it is not converge
num_steps = 5550
end_time = 0.555
solve_type = 'PJFNK' # Preconditioning Jacobian Free Newton-Keylov
petsc_options_iname = '-pc_type -pc_hypre_type' #pc: Preconditioning // Hypre: parallel high performance preconditioners (library)
petsc_options_value = 'hypre boomeramg' # mg: multigrid
[]
[Outputs]
exodus = true
file_base = ../../../../Volumes/BlackMesa_storage/dinowu_storage/MOOSE/output/multilayer_rotation_scan_June2019/rotation
[]