forked from HiFiLES/HiFiLES-solver
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinput_template
280 lines (273 loc) · 9.06 KB
/
input_template
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
----------------------------
High Fidelity Large Eddy Simulation (HiFiLES) Code.
Copyright (C) 2014 Aerospace Computing Laboratory (ACL).
version 0.1.0
Original code: SD++ developed by Patrice Castonguay, Antony Jameson,
Peter Vincent, David Williams (alphabetical by surname).
Current development: Aerospace Computing Laboratory (ACL)
Aero/Astro Department. Stanford University.
HiFiLES is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
HiFiLES is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with HiFiLES. If not, see <http://www.gnu.org/licenses/>.
----------------------------
----------------------------
Solver parameters
----------------------------
equation // 0: Euler/Navier-Stokes, 1:Advection/Adv-Diffusion
0
viscous // 0: Advection/Euler, 1: Advection-Diffusion/Navier-Stokes
1
riemann_solve_type // 0: Rusanov, 1: Lax-Friedrich, 2: Roe
0
vis_riemann_solve_type // 0: LDG
0
ic_form // 0: Isentropic Vortex, 1: Uniform flow, 2: Sine Wave (single), 3: Sine Wave (group), 4: Spherical distribution, 5: Constant for adv-diff, 6: up to 4th order polynomial (not in use), 7: initial conditions for Taylor-Green Vortex
1
test_case // 0: Normal (doesn't have an analytical solution), 1:Isentropic Vortex, 2: Advection-Equation
0
order // Order of basis polynomials
3
dt_type // 0: user-supplied dt, 1: global min dt from CFL-based estimate, 2: element-local CFL-based timestepping
0
dt // user-specified timestep
0.0005
CFL // CFL number
1.0
n_steps // number of timesteps
10
adv_type // 0: Forward Euler, 3: RK45
3
tau // tau parameter for LDG viscous flux
1.0
pen_fact // penalty factor for LDG viscous flux
0.5
-----------------------
LES options
-----------------------
LES // 0: no LES, 1: LES
1
filter_type // 0: Vasilyev high-order, 1: discrete Gaussian, 2: Modal Vandermonde. Not all filters are available for each element type.
2
filter_ratio // Filter width ratio. Try range 1:2. Not used for Modal Vandermonde filter.
2
SGS_model // 0: Smagorinsky, 1: WALE, 2: WALE-similarity, 3: SVV, 4: Similarity
2
wall_model // Select near-wall model for solid boundaries. 0: none, 1: Werner-Wengle, 2: Breuer & Rodi Three-layer
0
wall_layer_thickness // Set thickness of layer within which wall model is applied
0
-----------------------
Restart options
-----------------------
restart_flag // 0: start from 0, 1: start from specified restart file
0
restart_iter // restart file to start from
500000
n_restart_files // number of restart files (=no. of MPI procs)
8
-----------------------
Mesh options
-----------------------
mesh_file // filename of mesh
sqcyl-tet-coarse-3.neu
dx_cyclic distance between cyclic boundaries in x direction (set to large number if not cyclic)
20000000000.0
dy_cyclic distance between cyclic boundaries in y direction (set to large number if not cyclic)
20000000000.0
dz_cyclic distance between cyclic boundaries in z direction (set to large number if not cyclic)
3.2
-----------------------------------
Monitoring, plotting parameters
-----------------------------------
p_res // Plotting resolution, number of nodes per direction
4
write_type // 0: Paraview, 1: Tecplot
0
n_diagnostic_fields // Choose extra fields to be written to file: u v w energy pressure mach vorticity q_criterion. Set to 0 for no diagnostic fields
0
inters_cub_order // Order of cubature rule for integrating over element interfaces
5
volume_cub_order // Order of cubature rule for integrating over element volumes
5
plot_freq // number of timesteps between solution writes
10
restart_dump_freq // number of timesteps between restart file writes
10000
monitor_res_freq // number of timesteps between residual outputs
1
monitor_integrals_freq // Compute global integral diagnostics
0
n_integral_quantities // Choose integral diagnostics: kineticenergy, vorticity, pressuredilatation, straincolonproduct. Set to 0 for no diagnostics
0
res_norm_type // 0:infinity norm, 1:L1 norm, 2:L2 norm
1
error_norm_type // 0:infinity norm, 1:L1 norm, 2:L2 norm
1
res_norm_field // 0: Density
0
---------------------------
Wave Equation parameters
---------------------------
wave_speed_x //
1.
wave_speed_y
0.
wave_speed_z
0.
lambda // 1: upwind
1
---------------------------
Element parameters
---------------------------
upts_type_tri // triangle solution point locations. 0: 'good' points (Williams and Shunn 2013), 1: alpha points (Hesthaven and Warburton 2007)
0
fpts_type_tri // triangle flux point locations. 0: 'good' points (Williams and Shunn 2013), 1: alpha points (Hesthaven and Warburton 2007)
0
vcjh_scheme_tri // 0: custom, 1: DG, 2: SD, 3: HU, 4: C+
0
c_tri // user-defined stabilization parameter if using option 0 for vcjh_scheme
0.0
sparse_tri // whether to utilize sparsity of element matrices. 0: don't use sparsity, 1: do use sparsity
0
upts_type_quad // quad solution point locations.
0
vcjh_scheme_quad // 0: custom, 1: DG, 2: SD, 3: HU, 4: C+
0
eta_quad // user-defined stabilization parameter if using option 0 for vcjh_scheme
0.0
sparse_quad
0
upts_type_hexa // hex solution point locations.
0
vcjh_scheme_hexa // 0: custom, 1: DG, 2: SD, 3: HU, 4: C+
0
eta_hexa // user-defined stabilization parameter if using option 0 for vcjh_scheme
0.0
sparse_hexa
0
upts_type_tet // tet solution point locations.
0
fpts_type_tet // tet flux point locations.
0
vcjh_scheme_tet // 0: custom, 1: DG, 2: SD, 3: HU, 4: C+
0
eta_tet // user-defined stabilization parameter if using option 0 for vcjh_scheme
0.0
sparse_tet
0
upts_type_pri_tri // prism tri solution point locations.
0
upts_type_pri_1d // prism 1d solution point locations.
0
vcjh_scheme_pri_1d // 0: custom, 1: DG, 2: SD, 3: HU, 4: C+
0
eta_pri // user-defined stabilization parameter if using option 0 for vcjh_scheme
0.0
sparse_pri
0
------------------------------------
Fluid Parameters
------------------------------------
gamma
1.4
prandtl
0.72
S_gas
120.
T_gas
291.15
R_gas
286.9
mu_gas
4.673E-05
-----------------------------------
Boundary conditions
-----------------------------------
---------
Viscous
---------
fix_vis // 0: Sutherland's law, 1: Constant viscosity
0.
Mach_free_stream
0.3
nx_free_stream
1.
ny_free_stream
0.
nz_free_stream
0.
Re_free_stream
21400
L_free_stream // reference length
1.
T_free_stream
300.0
Mach_wall
0.0
nx_wall
1.
ny_wall
0.
nz_wall
0.
T_wall
300.0
Mach_c_ic // initial Mach number
0.3
nx_c_ic
1.
ny_c_ic
0.
nz_c_ic
0.
Re_c_ic // initial Reynolds number
21400
T_c_ic
300.0
-----------
Inviscid
-----------
rho_c_ic
1.0
u_c_ic
1.0
v_c_ic
0.0
w_c_ic
0.0
p_c_ic // initial pressure
17.857142857142854098
rho_bound
1.
u_bound
1.0
v_bound
1.0
w_bound
0.0
p_bound // boundary pressure
17.857142857142854098
-----------
Forcing
-----------
body_forcing // Used for the periodic channel test case. 0 = no forcing, 1 = forcing
1
-----------
Initial Profile // If ic_form=6, use these parameters to describe polynomial initial condition. Useful for cyclic problems. Specify coeffs of poly of form a + bx + cx^2 + dx^3 + ex^4 + by + cy^2 + dy^3 + ey^4 + bz + cz^2 + dz^3 + ez^4
-----------
x_coeffs // Coeffs of x-momentum
1.875 0 0 0 0 0 0 0 0 0 -3.75 0 1.875
y_coeffs // Coeffs of y-momentum
0 0 0 0 0 0 0 0 0 0 0 0 0
z_coeffs // Coeffs of z-momentum
0 0 0 0 0 0 0 0 0 0 0 0 0
-----------
perturb_ic // If 1, add velocity perturbation to kickstart turbulence in periodic channel. 0 otherwise.
1