Assignment 3
Assignment 3
Tasks
(a) Use the FTCS explicit scheme with time step of t = 0.002 s to compute the velocity with
in the domain for
(i) dp/dx = 0
(ii) dp/dx = 20000 P a/m
(iii) dp/dx = 20000 P a/m
Plot the velocity profiles at time level 0.0, 0.18 and 1.08 s for each pressure gradient case
on the same graph ( one graph for three velocity profiles for each pressure gradient case).
(b) Use the Lasseonen implicit to compute the velocity within the domain for
(i) t = 0.002, dp/dx = 0
(ii) t = 0.01, dp/dx = 0
(iii) t = 0.1, dp/dx = 0
Plot the velocity profiles at time level 0.0, 0.18 and 1.08 s for each pressure gradient case
on the same graph. TDMA solution would be required in this case.
(c) Discuss the results obtained in part a) and b).
Submission Guidelines
The soft copy of this assignment, along with computer program, should be submitted
latest by 06/11/2014.
1
To submit your program, include the source code, executable and a description of program.
The description must include the flowchart of the program and the guidelines on how to
run your source code.
Any programming language (Fortran,C/C++, Matlab,... ) can be used for coding.