2023-02-05 07:34:23 +01:00
|
|
|
#==============================================================================
|
|
|
|
# Driven Cavity
|
|
|
|
#==============================================================================
|
|
|
|
|
|
|
|
# Problem specific Data:
|
|
|
|
# ---------------------
|
|
|
|
|
|
|
|
name dcavity # name of flow setup
|
|
|
|
|
|
|
|
bcLeft 1 # flags for boundary conditions
|
|
|
|
bcRight 1 # 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 #
|
|
|
|
|
|
|
|
re 1000.0 # Reynolds number
|
|
|
|
|
|
|
|
u_init 0.0 # initial value for velocity in x-direction
|
|
|
|
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 1.0 # domain size in x-direction
|
|
|
|
ylength 1.0 # domain size in y-direction
|
|
|
|
zlength 1.0 # domain size in z-direction
|
2023-07-05 20:38:50 +02:00
|
|
|
imax 40 # number of interior cells in x-direction
|
|
|
|
jmax 40 # number of interior cells in y-direction
|
|
|
|
kmax 40 # number of interior cells in z-direction
|
2023-02-05 07:34:23 +01:00
|
|
|
|
|
|
|
# Time Data:
|
|
|
|
# ---------
|
|
|
|
|
2023-08-14 14:54:01 +02:00
|
|
|
te 50.0 # final time
|
2023-02-05 07:34:23 +01:00
|
|
|
dt 0.02 # time stepsize
|
|
|
|
tau 0.5 # safety factor for time stepsize control (<0 constant delt)
|
|
|
|
|
|
|
|
# Pressure Iteration Data:
|
|
|
|
# -----------------------
|
|
|
|
|
|
|
|
itermax 1000 # maximal number of pressure iteration in one time step
|
|
|
|
eps 0.001 # stopping tolerance for pressure iteration
|
2023-07-05 20:38:50 +02:00
|
|
|
rho 0.5
|
2023-02-05 07:34:23 +01:00
|
|
|
omg 1.7 # relaxation parameter for SOR iteration
|
|
|
|
gamma 0.9 # upwind differencing factor gamma
|
2023-08-14 14:54:01 +02:00
|
|
|
|
|
|
|
# Particle Tracing Data:
|
|
|
|
# -----------------------
|
|
|
|
|
|
|
|
numberOfParticles 30
|
|
|
|
startTime 10
|
|
|
|
injectTimePeriod 3.0
|
|
|
|
writeTimePeriod 1.0
|
|
|
|
|
|
|
|
x1 0.1
|
|
|
|
y1 0.0
|
|
|
|
z1 1.0
|
|
|
|
x2 1.0
|
|
|
|
y2 4.0
|
|
|
|
z2 1.0
|
2023-10-12 17:46:33 +02:00
|
|
|
|
|
|
|
# Obstacle Geometry Data:
|
|
|
|
# -----------------------
|
|
|
|
# Shape 0 disable, 1 Rectangle/Square, 2 Circle
|
|
|
|
|
|
|
|
shape 1
|
|
|
|
xCenter 10.0
|
|
|
|
yCenter 2.0
|
|
|
|
zCenter 2.0
|
|
|
|
xRectLength 8.0
|
|
|
|
yRectLength 2.0
|
|
|
|
zRectLength 2.0
|
|
|
|
circleRadius 1.0
|
2023-02-05 07:34:23 +01:00
|
|
|
#===============================================================================
|