2023-10-02 10:43:16 +02:00
|
|
|
#==============================================================================
|
|
|
|
# Laminar Canal Flow
|
|
|
|
#==============================================================================
|
|
|
|
|
|
|
|
# Problem specific Data:
|
|
|
|
# ---------------------
|
|
|
|
|
|
|
|
name backstep # name of flow setup
|
|
|
|
|
|
|
|
bcTop 1 # flags for boundary conditions
|
|
|
|
bcBottom 1 # 1 = no-slip 3 = outflow
|
|
|
|
bcLeft 3 # 2 = free-slip 4 = periodic
|
|
|
|
bcRight 3 #
|
|
|
|
|
|
|
|
gx 0.0 # Body forces (e.g. gravity)
|
|
|
|
gy 0.0 #
|
|
|
|
|
2024-01-27 20:04:54 +01:00
|
|
|
re 36500.0 # Reynolds number
|
2023-10-02 10:43:16 +02:00
|
|
|
|
|
|
|
u_init 1.0 # initial value for velocity in x-direction
|
|
|
|
v_init 0.0 # initial value for velocity in y-direction
|
2023-10-02 12:07:00 +02:00
|
|
|
p_init 1.0 # initial value for pressure
|
2023-10-02 10:43:16 +02:00
|
|
|
|
|
|
|
# Geometry Data:
|
|
|
|
# -------------
|
|
|
|
|
2023-10-02 12:07:00 +02:00
|
|
|
xlength 7.0 # domain size in x-direction
|
|
|
|
ylength 1.5 # domain size in y-direction
|
|
|
|
imax 210 # number of interior cells in x-direction
|
|
|
|
jmax 45 # number of interior cells in y-direction
|
2023-10-02 10:43:16 +02:00
|
|
|
|
|
|
|
# Time Data:
|
|
|
|
# ---------
|
|
|
|
|
2023-10-03 13:10:41 +02:00
|
|
|
te 60.0 # final time
|
2023-10-02 10:43:16 +02:00
|
|
|
dt 0.02 # time stepsize
|
|
|
|
tau 0.5 # safety factor for time stepsize control (<0 constant delt)
|
|
|
|
|
|
|
|
# Pressure Iteration Data:
|
|
|
|
# -----------------------
|
|
|
|
|
|
|
|
itermax 500 # maximal number of pressure iteration in one time step
|
|
|
|
eps 0.0001 # stopping tolerance for pressure iteration
|
|
|
|
rho 0.52
|
|
|
|
omg 1.8 # relaxation parameter for SOR iteration
|
|
|
|
gamma 0.9 # upwind differencing factor gamma
|
|
|
|
|
|
|
|
# Particle Tracing Data:
|
|
|
|
# -----------------------
|
|
|
|
|
2023-10-09 16:56:43 +02:00
|
|
|
numberOfParticles 200
|
2024-01-27 20:04:54 +01:00
|
|
|
startTime 100
|
2023-10-09 16:56:43 +02:00
|
|
|
injectTimePeriod 1.0
|
|
|
|
writeTimePeriod 0.5
|
2023-10-02 10:43:16 +02:00
|
|
|
|
2023-10-02 12:07:00 +02:00
|
|
|
x1 0.0
|
|
|
|
y1 0.5
|
|
|
|
x2 0.0
|
|
|
|
y2 1.5
|
2023-10-02 10:43:16 +02:00
|
|
|
|
|
|
|
# Obstacle Geometry Data:
|
|
|
|
# -----------------------
|
|
|
|
# Shape 0 disable, 1 Rectangle/Square, 2 Circle
|
|
|
|
|
|
|
|
shape 1
|
|
|
|
xCenter 0.0
|
|
|
|
yCenter 0.0
|
2024-01-27 20:04:54 +01:00
|
|
|
xRectLength 2.0
|
|
|
|
yRectLength 1.0
|
2023-10-02 10:43:16 +02:00
|
|
|
circleRadius 1.0
|
|
|
|
|
|
|
|
#===============================================================================
|