Partial Differential Equations/Parallel Plate Flow: Realistic IC

From testwiki
Jump to navigation Jump to search

Parallel Plate Flow: Realistic IC

The Steady State

The initial velocity profile chosen in the last problem agreed with intuition but honestly came out of thin air. A more realistic development follows.

The problem stated that (to come up with an IC) the fluid was under a pressure difference for some time, so that the flow became steady. "Steady" is another way of saying "not changing with time", and "not changing with time" is another way of saying that:


ut=0


Putting this into the PDE from the previous section:


ut=ν2uy2Pxρ



0=ν2uy2PxρPxνρ=d2udy2


Independent of t, the PDE became an ODE. The no slip condition results in the following BCs: u=0 at y=0 and y=1.


d2udy2=Pxνρu=Px2νρy2+C1y+C0


0=Px2νρ02+C10+C0C0=0(Bottom plate BC: u = 0, y = 0)


0=Px2νρ12+C11C1=Px2νρ(Top plate BC: u = 0, y = 1)



u=Px2νρ(y2y)


For the sake of example, take Px/(2νρ)=4 (recall that a negative pressure gradient causes left to right flow). This gives a parabola which starts at 0, increases to a maximum of 1 at y=1/2, and returns to 0 at y=1.

This parabola looks pretty much identical to the sinusoid previously used (you must zoom in to see a difference). However, even on the narrow domain of interest, the two are very different functions (look at their taylor expansions, for example). Using the parabola instead of the sine function results in a much more involved solution.

So this derives the steady state flow, which we will use as an improved, realistic IC. Recall that the problem is about a fluid that's initially in motion that is coming to a stop due to the absence of a driving force. The IBVP is now subtly different:


ut=ν2uy2(PDE)


u(y,0)=4y4y2(IC)


u(0,t)=0


u(1,t)=0(BCs)

Separation

Since the only difference from the problem in the last section is the IC, the variables may be separated and the BCs applied with no difference, giving:


u(y,t)=e(nπ)2νtBsin(nπy)


But now we're stuck! The IC can't match this:


u(y,0)=4y4y2


Bsin(nπy)=4y4y2


What went wrong? It was the assumption that u(y,t)=Y(y)T(t). The fact that the IC couldn't be fulfilled means that the assumption was wrong. It should be apparent now why the IC was chosen to be sin(πy) in the previous section.

We can proceed however, thanks to the linearity of the problem. It gets long.

Linearity (the superposition principle specifically) says that if u1 is a solution to the BVP (not the whole IBVP, only the BVP) and so is u2, then C1u1+C2u2, a linear combination, is also a solution.

Let's take a step back: suppose that the IC was u(y,0)=sin(πy)+1/5sin(3πy) (no longer a realistic flow problem). This may be put into the half baked solution:


u(y,0)=sin(πy)+15sin(3πy)


Bsin(nπy)=sin(πy)+15sin(3πy)


And it still can't match. However, observe that the individual terms in the IC can:


B1sin(n1πy)=sin(πy)n1=1 and B1=1


B3sin(n3πy)=15sin(3πy)n3=3 and B3=15


Note the subscripts used to identify the terms: they reflect the integer n from the separation constant. Solutions may be obtained for each individual term of the IC, identified with n:


u1(y,t)=e(1π)2νt1sin(1πy)=eπ2νtsin(πy)


u3(y,t)=e(3π)2νt15sin(3πy)=e9π2νt15sin(3πy)


Linearity states that the sum of these two solutions is also a solution to the BVP (no need for new constants):


u1+3(y,t)=eπ2νtsin(πy)+15e9π2νtsin(3πy)


So we added the solutions and got a new solution... what is this good for? Try setting t=0:


u1+3(y,0)=eπ2ν0sin(πy)+15e9π2ν0sin(3πy)=sin(πy)+15sin(3πy)


Each component solution satisfied the BVP, and the sum of these just happened to satisfy the IC. The IBVP with IC u(y,0)=sin(πy)+1/5sin(3πy) is now solved. It would work the same way for any linear combination of sine functions whose half frequencies vary are nπ ("linear combination" means a sum of terms, each multiplied by a constant), the sums assumed to converge and be term by term differentiable:


u(y,0)=n=1Bnsin(nπy)(IC: an arbitrary linear combination of sines)


un(y,t)=e(nπ)2νtBnsin(nπy)(solution of nth term)


u(y,t)=n=1un(y,t)=n=1e(nπ)2νtBnsin(nπy)(sum of solutions)


u(y,0)=n=1e(nπ)2ν0Bnsin(nπy)=n=1Bnsin(nπy)(IC recovered)


So now we can solve the problem if the IC is a linear combination of sine functions. But the IC for this problem isn't such a sum, it's just a stupid parabola. Or is it?

Series Construction

In the 19th century, a man named Joseph Fourier took a break from helping Napoleon take over the world to ask an important question while studying this same BVP (concerning heat flow): can a function be expressed as a sum of sinusoids, similar to a taylor series? The short answer is yes, if a few reasonable conditions apply. The long answer follows, and the next chapter is a longer answer.

A function meeting certain criteria may indeed be expanded into a sum of sines, cosines, or both. In our case, all that is needed to accomplish this expansion is to find the coefficients Bn. A little trick involving an integral makes this possible.

The sine function has a very important property called orthogonality. There are many flavors of this, which will be served in the next chapter. Relevant to this problem is the following:


012sin(mπy)sin(nπy)dy={1,m=n0,mn


Let's call the IC ϕ(y) to generalize it. We equate the IC with its expansion, and then apply some craftiness:


n=1Bnsin(nπy)=ϕ(y)


2sin(mπy)n=1Bnsin(nπy)=2sin(mπy)ϕ(y)


n=1Bn2sin(mπy)sin(nπy)=2sin(mπy)ϕ(y)


01n=1Bn2sin(mπy)sin(nπy)dy=012sin(mπy)ϕ(y) dy


n=1Bn012sin(mπy)sin(nπy)dy=012sin(mπy)ϕ(y) dy


Bm=012sin(mπy)ϕ(y) dy


In the last step, all of the terms in the sum became 0 except for the mth term (the term where m=n), the only case where orthogonality gave 1. This isolates and explicitly defines Am. The expansion for ϕ(y) is then:


ϕ(y)=m=1012sin(mπy)ϕ(y) dysin(mπy)


Or equivalently:


ϕ(y)=n=1Bnsin(nπy); Bn=012sin(nπy)ϕ(y) dy


Many important details have been left out later in a devoted chapter; one noteworthy detail is that this expansion is what it's (very superficially) expected to be only on the interval 0y1.

This expansion may finally be combined with the sum of sines solution to the BVP developed previously. Note that the last equation looks very similar to u(y,0). Following from this:


u(y,0)=n=1Bnsin(nπy)


u(y,0)=n=1012sin(nπy)ϕ(y) dysin(nπy)


So the expansion will satisfy the IC given as ϕ(y) (surprised?). The full solution for the problem with arbitrary IC is then:


u(y,t)=n=1e(nπ)2νtBnsin(nπy)


u(y,t)=n=1e(nπ)2νt012sin(nπy)ϕ(y) dysin(nπy)


In this problem specifically, the IC is ϕ(y)=4y4y2, so:


Bn=012sin(nπy)(4y4y2)dy=8n3π3(22cos(nπ)nπsin(nπ))


Sines and cosines appear from the integration dependent only on nπ. Since n is an integer, these can be made more aesthetic.


sin(nπ)=0; n is an integer.


cos(nπ)=(1)n; n is an integer.



Bn=1616(1)nn3π3


Note that for even n, Bn=0. Putting everything together finally completes the solution to the IBVP:


u(y,t)=n=1e(nπ)2νt1616(1)nn3π3sin(nπy)


There are many interesting things to observe. To begin with, u(y,t) is not a product of a function of y and a function of t. Such a solution was assumed in the beginning, proved to be wrong, but eventually happened to yield a solution anyway thanks to linearity and what is called a Fourier sine expansion.

A careful look at the procedure reveals something that may be disturbing: this lengthy solution is strictly valid for the given BCs. Thanks to the definition of ϕ(y), the solution is generic as far as the IC is concerned (the IC doesn't even need to match the BCs), however a slight change in either BC would mandate starting over almost from the beginning.

The parabolic IC, which looks very similar to the sine function used in the previous section, is wholly to blame (or thank once you understand the beauty of a Fourier series!) for the infinite sum. It is interesting to approximate the first several numeric values of the sequence Bn:

B11.03205
B30.03822
B50.00826
B70.00301

Recall that the even terms are all 0. The first term by far dominates, this makes sense since the first term already looks very, very similar to the parabola. Recall that n2 appears in an exponential, making the higher terms even smaller for time not too close to 0.