-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathsettings
60 lines (50 loc) · 1.88 KB
/
settings
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
# Use hashtag for comments.
# Grid definition.
coarse_cells 129 129 # cells in x, y direction.
# Physical parameters; these are used to compute the viscosity.
Re 1000 # Reynolds number
M 0.2 # Characteristic Mach number. This value is also used for BC.
L 129 # Characteristic Length. Must ensure consistency with cell count.
# Numerical parameters.
# Relaxation time model:
# 1: Single-relaxation time.
# 2: Two-relaxation time (not implemented).
# 3: Multiple-relaxation time.
relax_model 3
# Viscosity counteraction model (discontinued development due to
# inability to reproduce accurate results at relatively low Re)
# This can reduce computation speed on the order of 10%, but ideally would
# stabilize runs at lower grid resolutions.
# 0: no viscosity counteraction.
# 1: steady body force assumption with no spatial term ( inaccurate, explicit ).
# 2: include spatial term ( explicit ).
# 3: include spatial and temporal terms ( not implemented, implicit ).
vc_model 0
nucf 0.0 # multiple of viscosity to serve as a buffer viscosity.
# Solution and run time control.
timesteps 50000 # maximum number of timesteps to run.
refinement 0 # solution-adaptive refinement: 1 = true, 0 = false
# boundary conditions
# m: moving wall (value is M)
# w: stationary wall
# i: inlet (value is M)
# o: zero-gradient distribution outlet
bottom w
right w
top m
left w
# Initial macro-scale variable values.
rho0 1
u0 0
v0 0
# Initial solution from file
# Comment this out if no initial solution desired.
#M0 0.1
#u0file results/fields/u_G125_M100_T100_RM3_VCM0_VCF0_Re1000.dat
#v0file results/fields/v_G125_M100_T100_RM3_VCM0_VCF0_Re1000.dat
display_interval 1000
# set this to 1 for saving pictures at display_interval (for a movie).
picset 0
# This flag activates routines used only for hard-coded experimental features.
# Allows switching between normal and experimental versions without recompiling.
experimental 0