60 lines
1.9 KiB
Plaintext
60 lines
1.9 KiB
Plaintext
#==============================================================================
|
|
# Laminar Canal Flow
|
|
#==============================================================================
|
|
|
|
# Problem specific Data:
|
|
# ---------------------
|
|
|
|
name canal # 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 #
|
|
|
|
re 100.0 # Reynolds number
|
|
|
|
u_init 1.0 # initial value for velocity in x-direction
|
|
v_init 0.0 # initial value for velocity in y-direction
|
|
p_init 0.0 # initial value for pressure
|
|
|
|
# Geometry Data:
|
|
# -------------
|
|
|
|
xlength 30.0 # domain size in x-direction
|
|
ylength 4.0 # domain size in y-direction
|
|
imax 200 # number of interior cells in x-direction
|
|
jmax 50 # number of interior cells in y-direction
|
|
|
|
# Time Data:
|
|
# ---------
|
|
|
|
te 60.0 # final time
|
|
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.00001 # stopping tolerance for pressure iteration
|
|
omg 1.8 # relaxation parameter for SOR iteration
|
|
gamma 0.9 # upwind differencing factor gamma
|
|
|
|
# Visualization Data:
|
|
# ------------------
|
|
|
|
traceStart 10.0 # time for starting visualization
|
|
traceWrite 2.0 # time stepsize for saving particle data
|
|
traceInject 2.0 # time stepsize for particle injection
|
|
lineX1 2.0 # Coordinates of line segment for particle injection
|
|
lineY1 0.5
|
|
lineX2 2.0
|
|
lineY2 3.5
|
|
nparticles 30 # number of particles to inject
|
|
|
|
#===============================================================================
|