0% found this document useful (0 votes)
283 views13 pages

New Blas

This document discusses the solution of the Blasius equation for the laminar boundary layer over a flat plate. It begins by deriving the Blasius equation from the momentum equations. It then presents a numerical solution of the Blasius equation using Mathematica. Key results include profiles of the velocity components, definitions of the boundary layer thickness, and tables of the Blasius function and its derivatives. The document concludes by outlining an extension of the solution to include the thermal boundary layer.

Uploaded by

Akash Goyal
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
283 views13 pages

New Blas

This document discusses the solution of the Blasius equation for the laminar boundary layer over a flat plate. It begins by deriving the Blasius equation from the momentum equations. It then presents a numerical solution of the Blasius equation using Mathematica. Key results include profiles of the velocity components, definitions of the boundary layer thickness, and tables of the Blasius function and its derivatives. The document concludes by outlining an extension of the solution to include the thermal boundary layer.

Uploaded by

Akash Goyal
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

ME 223 Laminar Boundary Layer on a Flat Plate

1. Introduction
In this notebook we solve the Blasius equation for the laminar boundary layer on a flat plate. We also find the temperature distribution in the thermal boundary layer associated with the flow. The basic background, which was given in detail in class, is summarized here. The x-y coordinate system is chosen so that x is along the plate, and y is perpendicular to the plate. The leading edge of the plate is at x = 0, y = 0. The velocity components -- u in the x-direction and v in the y-direction -- are expressed in terms of a stream function y(x,y): u= y y , v= y x . (1)

The fundamental equation which determines y is the x-component of the momentum equation in the boundary layer approximation. For the flat plate there is no pressure gradient, and the boundary layer approximation to the x-momentum equation takes the form u u x +v u y =n 2 u y2 ,

(2)

where n is the kinematic viscosity. (Note the unfortunate coincidence in the Times font of italicized v and the Greek letter nu.) By substituting the representations (1) into (2), we get for y the partial differential equation y 2 y y x y y 2 y x y2 = n 3 y y3 .

(3)

At the wall (y = 0) both velocity components must vanish, and far away from the plate, the horizontal velocity must approach the given free stream velocity u . These conditions translate into the following conditions on y: y(x,0) = 0 ,
y y

(x,0) = 0 , and

y y

u as y .

(4)

The absence of a length scale (the plate is semi-infinite in length) suggests a similarity solution, as originally used by Blasius. The solution has the form y= nxu f(h) , with h = y/d, and d = nx u . (5)

The scale d is comparable with the boundary layer thickness. This substitution into the equation for y leads to the following nonlinear ordinary differential equation for f: f ''' + 2 f f = 0 , with f(0) = 0, f (0) = 0 , and f 1 as h .
1

(6)

This equation is called the Blasius equation. We solve it numerically in the next section. Once f is known, the velocity components may be computed as

newblas.nb

u=

y y

= u f HhL, and v = -

y x

1 2

nu x

8hf HhL - f HhL< .

(7)

2. Solution of the Blasius Equation


A direct attack on the Blasius equation requires some kind of iteration such as a shooting method, because it is a two-point boundary value problem. Fortunately, there is a reformulation of the problem that avoids an iteration. We begin this reformulation by introducing a new dependent variable g(h): g(h) = af(ah) , (8)

where a is a positive parameter to be determined. As one may show, the equation for g is then the same as that for f : g ''' + 2 gg = 0 .
2 2 1

(9)

From the conditions on f, we have g(0) = 0, g (0) = 0, and g (h)= a f (ah) a as h. Instead of imposing the condition on g at , we impose g (0) = 1. Then the problem for g is an initial value problem with initial conditions g(0) = 0, g (0) = 0 , g (0) = 1 . (10)

The parameter a does not appear in this formulation, and we can solve for g numerically. After solving for g, we choose a = g HL , (11)

Then f will satisfy the proper condition at . With this choice of a, we obtain f as f(h) = a g( a ) . We carry this out now using Mathematica's NDSolve to do the numerical integration.
blasol = NDSolve@8g '''@hD + H1 2L g ''@hD g@hD 0, g@0D 0, g '@0D 0, g ''@0D 1<, g, 8h, 0, 15<D;
1 h

(12)

Mathematica returns an answer in the form of an interpolating function which in most ways can be manipulated as an ordinary function. We assign this interpolating function to a function we call blag[h]:
blag@h_D = g@hD . First@blasolD;

We check our initial conditions.


blag@0D 0. blag '@0D - 2.71051 10-20

newblas.nb

blag ''@0D 1.

Our numerical integration to get blag was carried out to h = 15. As we see from the plot below, this is more than we need. The velocity function blag levels off well before h = 10.
Plot@blag @hD, 8h, 0, 10<, AxesLabel 8"h", "g'HhL"<, PlotRange 80, 3<D
g'HhL 3.0

2.5

2.0

1.5

1.0

0.5

10

We can now determine a:


a = Sqrt@blag '@10DD 1.44409

Finally we map back to the original function f.


blaf@h_D := H1 aL * blag@h aD

We check to see that this function satisfies the conditions at zero and infinity.
blaf@0D 0. blaf '@0D - 1.29975 10-20

newblas.nb

blaf '@10D 1.

We see that blaf[h] is the desired solution of the Blasius equation.

3. Velocity Components
The horizontal velocity component is given by
xcomp@h_D := u * blaf '@hD

We plot the ratio of u to u .


graphxcomp = PlotBblaf @hD, 8h, 0, 6<, AxesLabel :"h", " u u ">,

ImageSize 360, PlotLabel "Scaled Horizontal Velocity"F

u u 1.0

Scaled Horizontal Velocity

0.8

0.6

0.4

0.2

The vertical velocity component is given by


1 2 n u x

ycomp@x_, h_D :=

yfunc@hD

where

newblas.nb

yfunc@h_D := h blaf '@hD - blaf@hD

Because blaf is asymptotic to h for large h, the leading terms in the above difference cancel out. If the first two terms in the asymptotic expansion of blaf are h + c, then yfunc will approach -c as h. We let the numerical solution tell us if this is correct.
Plot@yfunc@hD, 8h, 0, 10<, PlotRange 80, 2<, AxesLabel 8"h", "v"<, PlotLabel "Scaled Vertical Velocity", ImageSize 400D

v 2.0

Scaled Vertical Velocity

1.5

1.0

0.5

10

We see indeed that there is a constant vertical velocity at the outer limit of the boundary layer. This is caused by the retardation in the boundary layer, which in turn deflects some of the oncoming fluid upward. The constant that yfunc approaches is
c = yfunc@10D 1.72079

Thus at the outer edge of the boundary layer,


1 2 n u x 1 1 Rex

v=

c = u 2

c = 0.8604 (u /

Rex ) ,

(13)

where Rex = Hu xL n is the Reynolds number based on the distance from the leading edge of the plate. Because Rex is large, we see that the vertical velocity at the edge of the boundary layer is small.

newblas.nb

4. Shear Stress on the Plate


The shear stress on the plate is given by
m u = u f (0) y y=0 d rmu3 x

t=m

f (0) .

(14)

We get f (0) from the numerical solution:


c0 = blaf ''@0D 0.332057

The local coefficient of friction C f Idenoted by C f ,x in the text) is the local shear stress divided by
1 ru2 , 2

and the average of this over a plate of length L is C f . These are given by
12 12 C f = 0.664 Reand C f = 1.328 Re, where ReL = x L uL . n

(15)

5. Thickness of the Boundary Layer


There is no sharp outer edge of the boundary layer. Rather it merges smoothly and gradually with the outer free stream. However, there are several rational ways of defining a boundary layer thickness, and we consider four of them here. The first two methods are based on the same idea -- namely, determining where the horizontal velocity is nearly equal to the free stream velocity. The first thickness, which we call d95 , is the yvalue at which the velocity is 0.95 of the free stream velocity. This happens for h = h95 where
h95 = h . FindRoot@blaf '@hD 0.95, 8h, 3<D 3.91804

Thus d95 = h95 d = 3.92

nx u . The second thickness, d99 , corresponds to the velocity being equal to 0.99 of

the free stream velocity. This happens for h = h99 , where


h99 = h . FindRoot@blaf '@hD 0.99, 8h, 3<D 4.90999

Thus d99 = h99 d = 4.91 nx u . This is often approximated as d99 = 5

nx u .

The other two commonly used definitions of boundary layer thickness are more closely tied to the physics of the flow. The displacement thickness (as discussed in ME 225) is a measure of the mass flux defect in the boundary layer. It is given by dd = hd d , where
hd = NIntegrate@1 - blaf '@hD, 8h, 0, 10<D 1.72079

newblas.nb

Thus dd = hd d = 1.72

nx u .

The last boundary layer thickness is the momentum thickness. As discussed in ME 225, it is a measure of the momentum flux defect carried by the actual flow. It is given by dm = hm d, where
hm = NIntegrate@blaf '@hD * H1 - blaf '@hDL, 8h, 0, 10<D 0.664115

Thus dm = hm d = 0.66

nx u .

6. Table of Values of the Blasius Function


We construct here a table of values of the Blasius function and its first two derivatives. We do this for h running from 0 to 8 at intervals of 0.25.

newblas.nb

TableForm@Table@8PaddedForm@Chop@0.25 * nD, 84, 2<D, PaddedForm@Chop@blaf@0.25 * nDD, 88, 4<D, PaddedForm@Chop@blaf '@0.25 * nDD, 88, 4<D, PaddedForm@Chop@blaf ''@0.25 * nDD, 88, 4<D<, 8n, 0, 32<D, TableHeadings -> 8None, 8" h", " f@hD", " f @hD", " f @hD"<<D h 0.00 0.25 0.50 0.75 1.00 1.25 1.50 1.75 2.00 2.25 2.50 2.75 3.00 3.25 3.50 3.75 4.00 4.25 4.50 4.75 5.00 5.25 5.50 5.75 6.00 6.25 6.50 6.75 7.00 7.25 7.50 7.75 8.00 f@hD 0.0000 0.0104 0.0415 0.0933 0.1656 0.2580 0.3701 0.5011 0.6500 0.8156 0.9963 1.1906 1.3968 1.6131 1.8377 2.0691 2.3057 2.5464 2.7901 3.0360 3.2833 3.5316 3.7806 4.0300 4.2796 4.5294 4.7793 5.0293 5.2792 5.5292 5.7792 6.0292 6.2792 f @hD 0.0000 0.0830 0.1659 0.2483 0.3298 0.4096 0.4868 0.5605 0.6298 0.6936 0.7513 0.8022 0.8460 0.8829 0.9130 0.9370 0.9555 0.9694 0.9795 0.9867 0.9915 0.9948 0.9969 0.9982 0.9990 0.9994 0.9997 0.9998 0.9999 1.0000 1.0000 1.0000 1.0000 f @hD 0.3321 0.3319 0.3309 0.3282 0.3230 0.3146 0.3026 0.2866 0.2668 0.2434 0.2174 0.1897 0.1614 0.1337 0.1078 0.0844 0.0642 0.0474 0.0340 0.0236 0.0159 0.0104 0.0066 0.0040 0.0024 0.0014 0.0008 0.0004 0.0002 0.0001 0.0001 0.0000 0.0000

7. The Thermal Boundary Layer


As we showed in class, the similarity solution of Blasius for the velocity in the boundary layer may be extended to include a calculation of the temperature distribution in the thermal boundary layer. We outline the calculation here, and use Mathematica to calculate the heat transfer coefficient as a function of Prandtl number and position along the plate.

newblas.nb

As we showed in class, the similarity solution of Blasius for the velocity in the boundary layer may be extended to include a calculation of the temperature distribution in the thermal boundary layer. We outline the calculation here, and use Mathematica to calculate the heat transfer coefficient as a function of Prandtl number and position along the plate. We start by introducting a dimensionless version q of the temperature T(x,y). q= T - Ts T - Ts . (16)

Here Ts is the surface temperature of the flat plate, and T is the upstream temperature in the fluid. The energy equation satisfied by q is u q x +v q y =a 2 q x2 + 2 q y2 .

(17)

Here u and v are the x and y velocity components, and a is the thermal diffusivity. Using the usual arguments of boundary layer theory, we may drop the second x-derivative of q compared with the second y-derivative. For u and v we have the representation in terms of the Blasius function f(h), and we assume that q = q(h), where h is the Blasius similarity variable given in equation (5). Using all of this information, we get the following equation for q(h): 2 d2 q dh2 + Pr f HhL dq dh = 0.

(18)

The Blasius function f(h) is known from our previous integration. The equation for q is linear, and it is first order in
dq . dh

In solving the equation, we have the following endpoint conditions: q(0) = 0 and q() = 1. (19)

By treating equation (18) as a first-order equation in dq dh


Pr

dq we dh

get the following solution:


h

= C - 2

F HhL

, where F HhL = f HsL s .


0

(20)

We integrate once more to get q, using the fact that q vanishes at h = 0. The result is q HhL = C - 2
0 h
Pr

F HrL

r .

(21)

We can evaluate C by using the condition that q should go to 1 as h goes to infinity. This gives C=

1
0 2
Pr

F HrL

r .

(22)

Substituting the expression for C into (21), we get the answer for q:
0 2 0 h
Pr

F HrL F HrL

q HhL =

r . r (23)

Pr 2

While this is a valid expression, it is somewhat inconvenient to work with because it involves iterated numerical integrations - first to get F from f, and then to get q from F. We can do better. From the Blasius equation (6) we get

10

newblas.nb

f = -2 f ''' f '' , hence f = -2 ln H f "L ' , so F HrL = -2 ln H f ' ' HrL f ' ' H0LL. Then Exp@-HPr 2L F HrLD = H f ' ' HrL f ' ' H0LLPr . Substituting this into (23) we get
Pr 0 H f ' ' HrL f ' ' H0LL r Pr 0 H f ' ' HrL f ' ' H0LL r h

(24)

(25)

q HhL =

(26)

We can use this to calculate the local heat transfer coefficient h (denoted by hx in the text). As shown in class, it is given by u dq

h= k

n x dh
dq dh

H0L.

(27)

We finish the calculation of h by using (26) to calculate dq dh

H0L. The result is 1

H0L =

0 H f

' ' HrL f ' ' H0LLPr r

(28)

Now we define this for Mathematica. We call the integral denom.


denom@Pr_D := ReANIntegrateAHblaf ''@rD blaf ''@0DLPr , 8r, 0, 10<EE

Finally, we define qd as

dq dh

H0L.

qd@Pr_D := 1 denom@PrD;

Let's check this for the one case where we know the answer. When Pr = 1, we know that q = we know that qd = 0.3321.
qd@1.0D 0.332057

df , dh

and from that

The answer looks good. We construct a table of values of qd versus Prandtl number. We also include in the table the values of 0.332 Pr13 , which the book recommends as an approximation for qd for Pr > 0.6. We will construct the table for Pr varying from 0.2 to 2, in increments of 0.1.
qdbook@Pr_D := 0.332 Pr13

newblas.nb

11

TableFormB Table@8PaddedForm@0.1 * n, 86, 3<D, PaddedForm@qd@0.1 * nD, 86, 3<D, PaddedForm@qdbook@0.1 * nD, 86, 3<D<, 8n, 2, 20<D, TableHeadings -> dq :None, :" Pr", "Exact Slope H0L ", " 0.332 Pr13 ">>F dh Pr 0.200 0.300 0.400 0.500 0.600 0.700 0.800 0.900 1.000 1.100 1.200 1.300 1.400 1.500 1.600 1.700 1.800 1.900 2.000 Exact Slope 0.185 0.215 0.239 0.259 0.277 0.293 0.307 0.320 0.332 0.343 0.354 0.364 0.373 0.382 0.391 0.399 0.407 0.415 0.422
dq H0L dh

0.332 Pr13 0.194 0.222 0.245 0.264 0.280 0.295 0.308 0.321 0.332 0.343 0.353 0.362 0.371 0.380 0.388 0.396 0.404 0.411 0.418

We see that the approximation 0.332 Pr13 is good for the range of Prandtl numbers in the table, even below the value of 0.6. The best fit is in the vicinity of Pr = 1, which we would expect because the approximation is exact at Pr = 1. We conclude this notebook by calculating the thickness of the thermal boundary layer as a function of the Prandtl number. We have seen earlier that the thickness of the velocity boundary layer (the d99 thickness) corrresponds to h = 4.90999. We calculate here the value of h at which the temperature has a value of 0.99 of the free stream temperature, and then we will divide that value of h by 4.90999 to get the thickness of the thermal boundary layer relative to the thickness of the velocity boundary layer. We start with equation (26) for q(h). This is the expression which we will use to calculate q and to find the thickness of the thermal boundary layer. We define the expressions for Mathematica now.
num@h_, Pr_D := NIntegrate@Hblaf ''@rD blaf ''@0DL ^ Pr, 8r, 0, h<D; denom@Pr_D := NIntegrate@Hblaf ''@rD blaf ''@0DL ^ Pr, 8r, 0, 10<D; theta@h_, Pr_D := Re@num@h, PrD denom@PrDD;

We take the real part of the answer for theta (Re) because Mathematica sometimes returns spurious small complex parts when evaluating the integrals that define theta. We test the definitions by evaluating theta for Pr = 1 and h = 4.90999. In that case we should get theta = 0.99.

12

newblas.nb We take the real part of the answer for theta (Re) because Mathematica sometimes returns spurious small complex parts when evaluating the integrals that define theta. We test the definitions by evaluating theta for Pr = 1 and h = 4.90999. In that case we should get theta = 0.99.

theta@4.90999, 1.0D 0.99

It checks. Now we define a function that gives the thermal boundary layer thickness as a function of Pr. We use the method of bisection to find the root.
therm@Pr_D := ModuleA8sleft, sright, smid<, sleft = 0.1; sright = 10.0; smid = H0.5L * Hsleft + srightL; WhileAIsright - sleft > 10-5 M, HIf@Htheta@smid, PrD - 0.99 < 0L, Hsleft = smidL, Hsright = smidLD; smid = H0.5L * Hsleft + srightLLE; smidE

We try this for Pr = 1.


therm@1.0D 4.90999

This is correct. We now define the thermal boundary layer thickness relative to the velocity boundary layer thickness.
reltherm@Pr_D := therm@PrD 4.90999;

This should give 1 for Pr =1:


reltherm@1.0D 1.

We use this to construct a plot of the relative thickness for Pr running from 0.2 to 2.

newblas.nb

13

Plot@reltherm@PrD, 8Pr, 0.2, 2<, PlotRange 880, 2<, 80, 2<<, AxesLabel 8"Pr", "dtherm dvel "<, ImageSize 350D
dtherm dvel 2.0

1.5

1.0

0.5

0.0 0.0

0.5

1.0

1.5

2.0

Pr

We see that as the Prandtl number increases, the thermal boundary layer becomes thinner than the velocity boundary layer. This makes sense physically, because the Prandtl number is the ratio of the viscosity (momentum diffusivity) to the thermal diffusivity, and the smaller the diffusivity, the thinner the corresponding layer. For large Prandtl numbers (water, or especially oil and glycerine) the velocity boundary layer is thicker than the thermal boundary layer. For small Prandtl numbers ( for example for liquid metals), the thermal boundary layer is thicker than the velocity boundary layer. For very small or very large Prandtl numbers, the calculations as defined above break down, and we have to use approximations based on the size of the Prandtl number. Some asymptotic results that can be shown by scale analysis are given below. The dimensionless constants C1 and C2 can be determined by a detailed analysis. dtherm dvel = C1 Pr-12 for Pr << 1 , and dtherm dvel = C2 Pr-13 for Pr >> 1 . (29)

You might also like