Professional Documents
Culture Documents
H Max 2
H Max 2
inlet
outlet
3H
H
ReH = UmaxH/ =150
Umax = maximum velocity at inlet (U = Umax*(y-H)*(3H-y)/H2 )
1) Compose the geometry in gambit.
2) Make a couple of grids (e.g. equidistant in the y-direction). Stretched in the x-direction in
such a way that square cells are obtained at the step and rectangular cells are obtained at
inlet and outlet (max. aspect ratio of rectangles is about 5).
The number of cells is e.g. 152 x 48, 76 x 24, 38 x 12. Give the right lower wall a different
name when applying the boundary conditions (inlet, outlet, wall). Save the grids as gambit
files (*.dbs) and export the grids to a msh file.
3) Apply a parabolic inlet profile. Compute and analyze the flow field (recirculation length) on
the different grids, with different discretization methods (1st order, 2nd order upwind,
quick, ).
4) Visualization:
- contours of streamlines (manual range: put a negative value as minimum value in order
to find the recirculation zone)
- contours of pressure (try to understand).
- verify with a velocity vector plot whether the inlet profile is parabolic.
5) Compute the recirculation length from a XY-plot of the wall shear stress (x-component) as
a function of the grid density and the discretization method. Write the data to a file, import
the file in excel and compute the recirculation length accurately as a function of grid size
and the different discretization methods.
Parabolic inlet profile can be specified with profiles or with a user defined function: (Use a
user defined function: define - user-defined - functions - interpreted - select the file with the
udf source code).
(u 0 150 0))