Computational Analysis of Unsteady Viscous Flow in an Inclined Open Channel, Study Guides, Projects, Research of Mechanical Engineering

A computational project involving the analysis of unsteady viscous flow in an inclined open rectangular channel. The problem is described by the navier-stokes equations in both dimensional and non-dimensional forms. Students are required to discretize the problem using explicit euler time discretization and central difference in space, and to solve it numerically for two sets of parameters. The document also includes information on the accuracy, consistency, and stability of the scheme, as well as instructions for submitting the code and results.

Typology: Study Guides, Projects, Research

Pre 2010

Uploaded on 02/13/2009

koofers-user-z2q
koofers-user-z2q 🇺🇸

3.5

(2)

10 documents

1 / 2

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Computational Project # 7
Due December 13
Consider unsteady viscous flow in an
inclined open rectangular channel.
Initially, the fluid is at rest. One may
assume that streamwise velocity at any
cross-sectional area is the same. Due to
viscous effect the fluid sticks to the walls,
i.e. velocity is zero at the walls, while the
open top boundary remains stress free all
the time. The equation describing the
evolution of the flow in the open channel
is given by:
0
u
y=
y
22
,
z
UUU
g
tX
ρρμ
⎛⎞
∂∂
=+ +
⎜⎟
∂∂
22
Y
⎝⎠
where U(X,Y,t) is streamwise velocity, gz
is streamwise component of acceleration
of gravity, X, Y, and Z are respectively
horizontal, vertical, and streamwise
directions,
ρ
is the fluid density, and
μ
is
viscosity. The schematic diagram of the
flow is given in the figure.
This problem can be rewritten in non-dimensional form as:
22
22
1
Fr ,
Re
uuu
xy
τ
⎛⎞
∂∂
=+ +
⎜⎟
∂∂
⎝⎠
where u is nondimensional streamwise velocity, x and y are non-dimensional coordinates,
τ
is
non-dimensional time, and Fr and Re are Froude and Reynolds numbers. The initial conditions
are
(
)
,,0 0uxy
=
,
while the boundary conditions are
()()() ()
,0, 0, , , , 0, , , 0.
u
ux t u yt ulyt xht
y
=== =
max
t
Δ
Discretize the problem using explicit Euler time discretization and central difference in space.
What is the accuracy of the solution in terms of Δt, Δx, Δy?
Is the scheme consistent?
Is your scheme stable?
What is the maximum time step you can take in terms of Δx and Δy?
h
l
x
0u
=
0u
=
0u=
z
g
JG
g
JG y
g
JG
z
pf2

Partial preview of the text

Download Computational Analysis of Unsteady Viscous Flow in an Inclined Open Channel and more Study Guides, Projects, Research Mechanical Engineering in PDF only on Docsity!

Computational Project # 7

Due December 13

Consider unsteady viscous flow in an

inclined open rectangular channel.

Initially, the fluid is at rest. One may

assume that streamwise velocity at any

cross-sectional area is the same. Due to

viscous effect the fluid sticks to the walls,

i.e. velocity is zero at the walls, while the

open top boundary remains stress free all

the time. The equation describing the

evolution of the flow in the open channel

is given by:

0

u

y

=

y

2 2

z ,

U U U

g t X

∂ ⎛^ ∂ ∂ ⎞

2 2 ⎝ ∂^ Y

where U(X,Y,t) is streamwise velocity, gz

is streamwise component of acceleration

of gravity, X , Y , and Z are respectively

horizontal, vertical, and streamwise

directions, ρ is the fluid density, and μ is

viscosity. The schematic diagram of the

flow is given in the figure.

This problem can be rewritten in non-dimensional form as:

2 2

2 2

Fr , Re

u u u

τ x y

∂ ⎛^ ∂ ∂ ⎞

where u is nondimensional streamwise velocity, x and y are non-dimensional coordinates, τ is

non-dimensional time, and Fr and Re are Froude and Reynolds numbers. The initial conditions

are

u x y ( , ,0 )= 0 ,

while the boundary conditions are

u u x t u y t u l y t x h t y

t max

Discretize the problem using explicit Euler time discretization and central difference in space.

What is the accuracy of the solution in terms of Δ t , Δ x, Δ y?

Is the scheme consistent?

Is your scheme stable?

What is the maximum time step you can take in terms of Δ x and Δ y?

h

l

x

u = 0

u = 0

u = 0

gz

JG

g

JG gy

JG

z

For spatial discretization use the uniform grid with Δ x= Δ y =1/30. Solve the problem numerically

up to a time of τ = 10 for the following set of parameters:

a) l = 1 , h = 1 , Fr=1, Re=1,

b) l = 1 , h = 1 , Fr=1, Re=10.

Show the solutions for both cases for the final time. For each case find the net flow rate through

the channel, , and plot it as a function of time. Compare the solutions for

both cases and explain the differences.

0 0

l h

Q τ = u x y τ dxdy

P.S. Email your code to [email protected]. Bring your solution and discussion of the

results to class or e-mail it together with the code. The program that you send should be a

working program. All the codes will be checked whether they run or not. If they are erroneous,

but run, points will be taken for the errors. If the code does not run (it has some syntax errors),

an additional 25% will be taken off. The goal of this class is for you to be comfortable solving

engineering problems. Please take your time and learn how to trust the computer.