You are on page 1of 1

CL657: Computational flow modeling

Assignment 2
Marks: 50
Submission date and time : 7/09/2015 (05:00 pm)
Submit before 5 pm in my mailbox in the depertmental office

Instructions: You can use any programming language but do not use built-in functions. Send your program
for question 1 to (computational.flow.modeling@gmail.com). In subject line of the mail, write: Assignment2: Roll number-.
1. Suppose you have to find out spatio-temporal temperature distribution in a thin uniform hot rod. Surface
of the rod is insulated and two ends are kept in contact with melting ice. The spatio-temporal distribution
is obtained by solving following PDE.
T
2 T
= 2,
t
x
All the parameters are represented nondiemnsional form. The boundary and initioal conditions are as
follows.
[20]

0
if x = 0, 1
for all t > 0

1
2x
if
0

,
t=0
U=
2

2(1 x) if 1 x 1 t = 0.
2
(a) Write a computer code (dont use any inbuilt function) using explicit finite difference technique get
the temperature profile for the following cases.
i. Solve for x = 0.1 and t = .001,
Plot u vs x profile at three time level (t=.048, .096, and .192) on the same plot (fig. 1).
ii. Solve for x = 0.1 and t = .0052,
Plot u vs x profile at three time level (t=.052, .104, and .208) on the same plot (fig. 2) .
Can you explain the differences between fig. 1 and fig. 2
2. Solve the above problem using Crank-Nicolson method and by hand calculation. Solve by taking only
three internal grid points and for only one time step, considering t = .015
[10]
3. Hope you have already installed any of the CFD software. If not try to do that. If required you can
discuss in the forum, we have developed. Consider you have to solve a problem related to the flow of
water between parallel plates (2-D flow).
[20]
(a) Assume that your inlet velocity is uniform. Keep your Reynolds number less than 1000. Show the
development of flow profile in the direction of flow.
(b) Can you estimate how your entrance length changes with Reynolds number? (Repeat the computation for 5 different Reynolds number.

You might also like