Professional Documents
Culture Documents
Instructions:
1. Max 2 students can work together and present the same Maple part of the Lab.
2. Individual work and presentation for the pen and paper part.
3. Remember to write your name and I.D. number on the both parts of the Lab
4. You present and explain your Maple part solutions and submit your Pen and paper part on
Monday 15 September 2010, time 15:15, room 3-227
c0. All partial derivatives with respect to time t are 0 ( Steady flow)
c1. =0.001 kg/(ms) and =1000 kg/m3
c2. A Constant pressure gradient P/z = 1/250 Pa/m is applied in the horizontal axis (
z-axis in our notation): P/z = 1/250,
c3. The flow is parallel to the z axis, that is ur =0 and u =0.
c4. We assume that the flow is axisymmetric. The velocity does not depend on ,
u
that is z = 0
c5. Boundary cond. 1 ( No-slip boundary condition, Vfluid=Vwall ): If r=2 then uz= 0
u z
c6. Boundary condition 2: uz has maximum at r=0 that is =0
r r = 0
u u u u uu u
+ ur + + r + u z
t r r r z
eq c)
1 P 1 u u 1 2 u 2 u r 2 u
= + g + r 2 + 2 + +
r r r r r r 2 r 2 z 2
z-component:
u u u u u
z + ur z + z + u z z
t r r z
eq d)
P 1 u z 1 2 u z 2 u z
= + g z + r + 2 + 2
z r r r r z
2
We choose x as a vertical axis, y an z are in a horizontal plane and the flow is parallel with
the z-axis. We denote velocity vector V=(ur, u, uz) where ur, u and uz are r-component, -
component and z-component in cylindrical coordinates. According to the assumptions we
have ur =0, u = 0, and uz does not depend on .
Your tasks:
Since x is the vertical axis we have that vector g=(-g, 0,0) where g=9,81 m/s2.
Show that g in cylindrical coordinates has the following coordinates
g r = g cos , g = g sin and g z = 0
P
0= g cos ( eq r-c)
r
1 P
0= + g sin ( eq -c)
r
and
1 1 1 w
0= + r ( eq z-c)
250 1000 r r r
that is V = (0, 0, r 2 + 4) .
At t =0 we consider the sphere x2+y2+z2 = 1. Use Maple to show the 3D animation of the
flow and shape changing of this sphere for 0 t 2 .
Help for task 6: Use the following commands and explain (with few sentences) how this
program works.
> restart;
with(plots):
R:=2;R1:=1;
P1 := animate(plot3d, [[R1+sqrt(R1^2-r^2)+t*(R^2-
r^2),r*cos(theta),r*sin(theta)], theta=0..2*Pi, r=0..R1],
t=0..2,frames=20,transparency=0.5):
P2 := animate(plot3d, [[R1-sqrt(R1^2-r^2)+t*(R^2-
r^2),r*cos(theta),r*sin(theta)], theta=0..2*Pi, r=0..R1],
t=0..2, frames=20,transparency=0.5):
display([P1,P2, Q],
style=patch,scaling=constrained,orientation=[-110,90]);
Task 7. (Maple animation) Show your own simple example of 2D and 3D animation.