forked from precice/elmer-adapter
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcase.sif
More file actions
203 lines (183 loc) · 5 KB
/
Copy pathcase.sif
File metadata and controls
203 lines (183 loc) · 5 KB
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
Header
CHECK KEYWORDS Warn
Mesh DB "." "Fluid_Participant_Mesh"
Include Path ""
Results Directory "../out"
End
Simulation
Max Output Level = 5
Coordinate System = Cartesian
Coordinate Mapping(3) = 1 2 3
Simulation Type = Transient
Steady State Max Iterations = 3
Output Intervals = 1
Timestepping Method = BDF
BDF Order = 2
Timestep intervals = 10
Timestep Sizes = 0.1
Solver Input File = case.sif
Post File = Fluid.vtu
Use Mesh Names = Logical True
maskName = String "Coupler Interface"
participantName = String "Fluid"
meshName = String "Fluid-Mesh"
configPath = String "../precice-config.xml"
End
Constants
Gravity(4) = 0 -1 0 9.82
Stefan Boltzmann = 5.67e-08
Permittivity of Vacuum = 8.8542e-12
Boltzmann Constant = 1.3807e-23
Unit Charge = 1.602e-19
End
Body 1
!Target Bodies(1) = 1
Name = "Fluid"
Equation = 1
Material = 1
Body Force = 1
Initial Condition = 1
End
Solver 1
Equation = Navier-Stokes
Procedure = "FlowSolve" "FlowSolver"
Variable = Flow Solution[Velocity:2 Pressure:1]
Exec Solver = Always
Stabilize = True
Bubbles = False
Lumped Mass Matrix = False
Optimize Bandwidth = True
Steady State Convergence Tolerance = 1.0e-5
Nonlinear System Convergence Tolerance = 1.0e-7
Nonlinear System Max Iterations = 5
Nonlinear System Newton After Iterations = 3
Nonlinear System Newton After Tolerance = 1.0e-3
Nonlinear System Relaxation Factor = 1
Linear System Solver = Iterative
Linear System Iterative Method = BiCGStab
Linear System Max Iterations = 500
Linear System Convergence Tolerance = 1.0e-10
BiCGstabl polynomial degree = 2
Linear System Preconditioning = ILU0
Linear System ILUT Tolerance = 1.0e-3
Linear System Abort Not Converged = False
Linear System Residual Output = 10
Linear System Precondition Recompute = 1
End
Solver 2
Equation = Heat Equation
Procedure = "HeatSolve" "HeatSolver"
Variable = Temperature
Calculate Loads = Logical True
Exec Solver = Always
Stabilize = True
Bubbles = False
Lumped Mass Matrix = False
Optimize Bandwidth = True
Steady State Convergence Tolerance = 1.0e-5
Nonlinear System Convergence Tolerance = 1.0e-7
Nonlinear System Max Iterations = 20
Nonlinear System Newton After Iterations = 3
Nonlinear System Newton After Tolerance = 1.0e-3
Nonlinear System Relaxation Factor = 1
Linear System Solver = Iterative
Linear System Iterative Method = BiCGStab
Linear System Max Iterations = 500
Linear System Convergence Tolerance = 1.0e-10
BiCGstabl polynomial degree = 2
Linear System Preconditioning = ILU0
Linear System ILUT Tolerance = 1.0e-3
Linear System Abort Not Converged = False
Linear System Residual Output = 10
Linear System Precondition Recompute = 1
End
Solver 3
Exec Solver = after timestep
Equation = "flux compute"
Procedure = "FluxSolver" "FluxSolver"
Calculate Flux = Logical True
Calculate Flux Abs= Logical True
Flux Variable = String Temperature
Flux Coefficient = String "Heat Conductivity"
Linear System Solver = "Iterative"
Linear System Iterative Method = "cg"
Linear System Preconditioning = ILU0
Linear System Residual Output = 10
Linear System Max Iterations = Integer 500
Linear System Convergence Tolerance = 1.0e-10
End
Solver 4
Equation = "Initialize"
Procedure = "../Coupler_Solver.so" "CouplerSolver"
readDataName = String "temperature flux_abs"
writeDataName = String "Temperature"
Exec Solver = before all
End
Solver 5
Equation = "ReadData"
Procedure = "../Coupler_Solver.so" "CouplerSolver"
readDataName = String "temperature flux_abs"
writeDataName = String "Temperature"
Exec Solver = before timestep
End
Solver 6
Equation = "WriteDataAdvance"
Procedure = "../Coupler_Solver.so" "CouplerSolver"
readDataName = String "temperature flux_abs"
writeDataName = String "Temperature"
Exec Solver = after timestep
End
Solver 7
Equation = "Finalize"
Procedure = "../Coupler_Solver.so" "CouplerSolver"
readDataName = String "temperature flux_abs"
writeDataName = String "Temperature"
Exec Solver = after all
End
Equation 1
Name = "Navier_Stokes_Heat"
Convection = Computed
Active Solvers(3) = 1 2 3
End
Material 1
Name = "Fluid"
Heat Conductivity = 100
Heat Capacity = 5000
Viscosity = 0.0002
Density = 0.2
Reference Temperature = 300
Heat Expansion Coefficient = 0.2e-3
End
Body Force 1
Name = "buoyancy"
Boussinesq = True
End
Initial Condition 1
Name = "liquid_Initial_Condition"
Velocity 1 = 0.0
Velocity 2 = 0.0
Temperature = 300
End
Boundary Condition 1
!Target Boundaries(1) = 5
Name = "Fluid_Walls"
Noslip wall BC = True
End
Boundary Condition 2
!Target Boundaries(1) = 2
Name = "Inlet"
Velocity 1 = 1
Temperature = 300
End
Boundary Condition 3
!Target Boundaries(1) = 3
Name = "Outlet"
Velocity 2 = 0.0
End
Boundary Condition 4
!Target Boundaries(1) = 4
Name = "Coupling_Interface"
Noslip wall BC = True
Heat Flux = Equals "temperature flux_abs"
Coupler Interface = Logical True
End