2023-10-28 12:04:37 +02:00
|
|
|
#==============================================================================
|
2023-12-04 14:40:02 +01:00
|
|
|
# Turbulent Canal Flow
|
2023-10-28 12:04:37 +02:00
|
|
|
#==============================================================================
|
|
|
|
|
|
|
|
# Problem specific Data:
|
|
|
|
# ---------------------
|
|
|
|
|
|
|
|
name karman # name of flow setup
|
|
|
|
|
|
|
|
bcLeft 3 # flags for boundary conditions
|
|
|
|
bcRight 3 # 1 = no-slip 3 = outflow
|
|
|
|
bcBottom 1 # 2 = free-slip 4 = periodic
|
|
|
|
bcTop 1 #
|
|
|
|
bcFront 1 #
|
|
|
|
bcBack 1 #
|
|
|
|
|
|
|
|
gx 0.0 # Body forces (e.g. gravity)
|
|
|
|
gy 0.0 #
|
|
|
|
gz 0.0 #
|
|
|
|
|
2023-12-04 14:40:02 +01:00
|
|
|
re 5050.0 # Reynolds number
|
2023-10-28 12:04:37 +02:00
|
|
|
|
2023-12-04 14:40:02 +01:00
|
|
|
u_init 1.0 # initial value for velocity in x-direction
|
2023-10-28 12:04:37 +02:00
|
|
|
v_init 0.0 # initial value for velocity in y-direction
|
|
|
|
w_init 0.0 # initial value for velocity in z-direction
|
|
|
|
p_init 0.0 # initial value for pressure
|
|
|
|
|
|
|
|
# Geometry Data:
|
|
|
|
# -------------
|
|
|
|
|
|
|
|
xlength 30.0 # domain size in x-direction
|
|
|
|
ylength 8.0 # domain size in y-direction
|
|
|
|
zlength 8.0 # domain size in z-direction
|
2023-12-04 14:40:02 +01:00
|
|
|
imax 200 # number of interior cells in x-direction
|
|
|
|
jmax 80 # number of interior cells in y-direction
|
|
|
|
kmax 80 # number of interior cells in z-direction
|
2023-10-28 12:04:37 +02:00
|
|
|
|
|
|
|
# Time Data:
|
|
|
|
# ---------
|
|
|
|
|
2023-12-04 14:40:02 +01:00
|
|
|
te 250.0 # final time
|
2023-10-28 12:04:37 +02:00
|
|
|
dt 0.02 # time stepsize
|
|
|
|
tau 0.5 # safety factor for time stepsize control (<0 constant delt)
|
|
|
|
|
|
|
|
# Pressure Iteration Data:
|
|
|
|
# -----------------------
|
|
|
|
|
2023-12-04 14:40:02 +01:00
|
|
|
itermax 200 # maximal number of pressure iteration in one time step
|
|
|
|
eps 0.001 # stopping tolerance for pressure iteration
|
|
|
|
rho 0.52
|
|
|
|
omg 1.75 # relaxation parameter for SOR iteration
|
2023-10-28 12:04:37 +02:00
|
|
|
gamma 0.9 # upwind differencing factor gamma
|
|
|
|
|
|
|
|
# Particle Tracing Data:
|
|
|
|
# -----------------------
|
|
|
|
|
2023-12-04 14:40:02 +01:00
|
|
|
numberOfParticles 4000
|
|
|
|
startTime 50
|
|
|
|
injectTimePeriod 1.0
|
|
|
|
writeTimePeriod 5.0
|
2023-10-28 12:04:37 +02:00
|
|
|
|
2023-12-04 14:40:02 +01:00
|
|
|
x1 0.0
|
|
|
|
y1 3.6
|
|
|
|
z1 3.6
|
|
|
|
x2 0.0
|
|
|
|
y2 4.7
|
|
|
|
z2 4.7
|
2023-10-28 12:04:37 +02:00
|
|
|
|
|
|
|
# Obstacle Geometry Data:
|
|
|
|
# -----------------------
|
|
|
|
# Shape 0 disable, 1 Rectangle/Square, 2 Circle
|
|
|
|
|
|
|
|
shape 2
|
|
|
|
xCenter 5.0
|
|
|
|
yCenter 4.0
|
|
|
|
zCenter 4.0
|
|
|
|
xRectLength 8.0
|
|
|
|
yRectLength 2.0
|
|
|
|
zRectLength 2.0
|
2023-12-04 14:40:02 +01:00
|
|
|
circleRadius 2.0
|
2023-10-28 12:04:37 +02:00
|
|
|
|
|
|
|
#===============================================================================
|