You are on page 1of 3

Armin Halilovic 1 Math Lab1

Math Assignment 1 ( Math Lab 1)


Due: Monday 15 September 2010, time 15:15 room 3-227

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

Math Assignment 1 ( Math Lab 1)


Consider steady, incompressible, isothermal, laminar stationary Newtonian flow in a long
round pipe in the z-direction, with constant circular cross-section of radius R=2 m. We use
the continuity and the Navier-Stokes equations in cylindrical coordinates to find the velocity
field V=(ur, u, uz) and the pressure field P (r,,z) if the fluid flow satisfies the following
conditions:

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

The continuity and the Navier-Stokes equations for an incompressible , isothermal


Newtonian flow (density =const, viscosity =const), with a velocity field
r
V = (u r , u , u z ) in Cylindrical coordinates (r , , z ) :
----------------------------------------------------------------
Incompressible continuity equation
1 (ru r ) 1 (u ) u z
+ + =0 eq a)
r r r z
Navier-Stokes equations in Cylindrical coordinates:
r-component:
u u u u u 2 u
r + u r r + r + u z r
t r r r z
eq b)
P 1 u r u r 1 2 u r 2 u 2 u r
= + g r + r 2 + 2 + 2
r r r r r r 2 r 2 z
-component:
Armin Halilovic 2 Math Lab1

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:

T1. ( Pen and paper)

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

T2. ( Pen and paper)


u z
Show that the continuity equation gives = 0 that is show that u z depends only on r.
z
Armin Halilovic 3 Math Lab1

T3. ( Pen and paper) Denote u z = w(r ) and simplify eq b,c,d.


Show that you get these simplified equations:

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

T4. ( Pen and paper)

Use ( eq r-c) , ( eq -c) and P/z = 1/250 to find the pressure P.

T5. ( Pen and paper)

Use ( eq z-c) and show that w = r 2 + 4

that is V = (0, 0, r 2 + 4) .

T6. (Maple animation)

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):

Q := plot3d([u, R*cos(theta), R*sin(theta)], theta=0..2*Pi,


u=0..10,transparency=1):

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.

( Hint: check Maple help for animate)

You might also like