Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 5

Dhamwasu Trisarnwadhana

6070212921

Homework IV

Assumption -steady state, incompressible flow

-laminar flow with constant free stream velocity and constant fluid properties

-no body force

Blasius equation 2 f f f 0

Boundary condition

BC1: at y 0 , u 0

BC2: at y , u u

BC3: at y 0 , v 0


u u f
y x

1 u
v f f
x y 2 x

From BC1 f 0 0

From BC2 f 1

From BC3 f 0 0

Transform Blasius equation into three first order equation [1]

f p

p q

1
q f q
2
Fourth order Runge-kutta method

Initial value problem f p , f 0 0

p q , f 0 0

1
q f q
2

h
For step size h 0 ; f n 1 f n (k1 f 2 k 2 f 2 k 3 f k 4 f )
6

h
pn 1 pn (k1 p 2 k 2 p 2 k 3 p k 4 p )
6

h
qn 1 qn (k1q 2 k 2 q 2 k 3q k 4 q )
6

n1 n h

1
where k1 f pn , k1 p qn , k1q f n qn
2

1 1 1 1 1
k2 f pn hk1 p , k2 p qn hk1q , k2 q f n hk1 f qn hk1q
2 2 2 2 2

1 1 1 1 1
k3 f pn hk2 p , k3 p qn hk2 q , k3q f n hk2 f qn hk2 q
2 2 2 2 2

k4 f pn hk3 p , k4 p qn hk3q , k4 q
1
2
f n hk3 f q
n hk3q
Start

From BC1 and BC3;


f(0)=0 and f(0)=0

Initial guess f 0

Solve by using Fourth


order Runge-Kutta method

f 10

No
10, f 1

Yes

Stop

Figure 1 show flow chart which use to solve problem


f , 0 f , 10 f , 0 f , 10 f , 0 f , 10
0 0 0.31 9.552104E-01 0.331 9.978762E-01
0.1 4.492083E-01 0.32 9.756439E-01 0.332 9.998848E-01
0.2 7.131993E-01 0.33 9.958650E-01 0.333 1.001892
0.3 9.345561E-01 0.34 1.015884
0.4 1.132134

f , 0 f , 10 f , 0 f , 10 f , 0 f , 10
0.3321 1.000086 0.33201 9.999050E-01 0.332059 1.000003
0.33202 9.999253E-01 0.332058 1.000001
0.33203 9.999450E-01 0.332057 9.999991E-01
0.33204 9.999650E-01
0.33205 9.999851E-01
0.33206 1.000005

Table 1 show value of f(0) and f(10)

Petrila[1] use 10 which is accurate enough instead of infinity to find value of f .

f 0 is guessed from 0 and increased by 0.1. When f 1 , f 0 is guess at less decimal

index.

From table 1 f 0 0.332057 satisfies the boundary condition f 1


Result of f 0 0.332057

f f f f f f
0.0 0.0000000 0.0000000 0.3320570
0.1 0.0016603 0.0332055 0.3320478 2.6 1.0725050 0.7724543 0.2064545
0.2 0.0066410 0.0664077 0.3319835 2.7 1.1507640 0.7925431 0.1952941
0.3 0.0149415 0.0995985 0.3318090 2.8 1.2309760 0.8115088 0.1840065
0.4 0.0265599 0.1327640 0.3314695 2.9 1.3130280 0.8293427 0.1726693
0.5 0.0414928 0.1658851 0.3309106 3.0 1.3968070 0.8460436 0.1613603
0.6 0.0597346 0.1989371 0.3300788 3.1 1.4821990 0.8616182 0.1501554
0.7 0.0812769 0.2318900 0.3289218 3.2 1.5690940 0.8760806 0.1391280
0.8 0.1061082 0.2647089 0.3273890 3.3 1.6573790 0.8894520 0.1283471
0.9 0.1342129 0.2973537 0.3254323 3.4 1.7469490 0.9017604 0.1178763
1.0 0.1655716 0.3297797 0.3230068 3.5 1.8376970 0.9130396 0.1077727
1.1 0.2001599 0.3619380 0.3200712 3.6 1.9295240 0.9233288 0.0980863
1.2 0.2379485 0.3937757 0.3165889 3.7 2.0223310 0.9326721 0.0888594
1.3 0.2789025 0.4252365 0.3125286 3.8 2.1160280 0.9411172 0.0801260
1.4 0.3229813 0.4562613 0.3078651 3.9 2.2105260 0.9487146 0.0719118
1.5 0.3701382 0.4867888 0.3025802 4.0 2.3057440 0.9555174 0.0642342
1.6 0.4203204 0.5167562 0.2966632 4.1 2.4016050 0.9615796 0.0571029
1.7 0.4734687 0.5461003 0.2901114 4.2 2.4980370 0.9669562 0.0505199
1.8 0.5295176 0.5747576 0.2829308 4.3 2.5949750 0.9717017 0.0444802
1.9 0.5883952 0.6026660 0.2751361 4.4 2.6923580 0.9758700 0.0389727
2.0 0.6500238 0.6297652 0.2667513 4.5 2.7901320 0.9795134 0.0339810
2.1 0.7143193 0.6559976 0.2578090 4.6 2.8882450 0.9826826 0.0294839
2.2 0.7811926 0.6813097 0.2483507 4.7 2.9866540 0.9854258 0.0254566
2.3 0.8505490 0.7056522 0.2384259 4.8 3.0853180 0.9877887 0.0218713
2.4 0.9222893 0.7289812 0.2280916 4.9 3.1842010 0.9898139 0.0186984
2.5 0.9963102 0.7512590 0.2174114 5.0 3.2832710 0.9915411 0.0159069

Reference

1. Petrila, T. and D. Trif, Basics of Fluid Mechanics and Introduction to Computational Fluid
Dynamics. 2006: Springer US.

You might also like