8.3.9 Time-Dependent Higher-Order Partial Differential Equations by Substitution and Separation of Variables: The Time-Dependent Diffusion Equation in Three Dimensions

8.3.9.1 Introduction

We already solved the time-dependent diffusion equation in section 8.3.8. We will reconsider this equation now deriving a general schematic for the solution of higher-order partial differential equations by the substitution and separation of variables approach we introduced in section 8.3.3, using the example of the heat equation. We will use this approach later on for solving the Navier-Stokes equation, which is a time-dependent inhomogeneous PDE.

8.3.9.2 General Approach

We have already derived the diffusion equation (see Eq. 6.90). In time-dependent form in three dimensions it is given by

ft=c22fx2+2fy2+2fz2

si369_e  (Eq. 8.136)

We now assume that the function f is a function of four functions that only depend on one of the four independent variables, respectively: T (t), X (x), Y (y), and Z (z)

ftxyz=TtXxYyZz

si370_e  (Eq. 8.137)

Inserting this into Eq. 8.136 results in

TtXYZ=c22Xx2TYZ+2Yy2TXZ+2Zz2TXY1TTt=c21X2Xx2+1Y2Yy2+ZT2Zz2

si371_e  (Eq. 8.138)

Here again we have the case that a differential in time should be equal to a differential in space, which can only be true if the individual terms sum up to constants, which we term − λT, − λX2, − λY2, and − λZ2. The fact that we take the squared constants for the x, y, and z terms seems strange, but the reason will become obvious in a moment. We can now rewrite Eq. 8.138 as

λT=c2λX2+λY2+λZ2

si372_e  (Eq. 8.139)

and derive the four ODEs

1TTt=λT

si373_e  (Eq. 8.140)

1X2Xx2=λX2

si374_e  (Eq. 8.141)

1Y2Yy2=λY2

si375_e  (Eq. 8.142)

1Z2Zz2=λZ2

si376_e  (Eq. 8.143)

Eq. 8.140 is solved by partial integration (section 8.2.2) to result in

Tt=eλTt=c0eλX2+λY2+λZ2c2t

si377_e  (Eq. 8.144)

where we have used Eq. 8.139 to replace λT. For Eq. 8.141, Eq. 8.142, and Eq. 8.143 we find characteristic polynomials and solutions according to Tab. 8.2 depending on the boundary conditions. Assuming that the domain is bounded on all sides 0 ≤ x ≤ l, 0 ≤ y ≤ w, and 0 ≤ z ≤ h and that X (0) = X (l) = 0, Y (0) = Y (w) = 0, and Z (0) = Z (h) = 0 we obtain the solutions:

Xx=m=1c1sinnπxlλX=nπl

si378_e  (Eq. 8.145)

Yy=n=1c2sinmπywλY=mπw

si379_e  (Eq. 8.146)

Zz=o=1c3sinoπzhλZ=oπh

si380_e  (Eq. 8.147)

Using Eq. 8.144, Eq. 8.145, Eq. 8.146, and Eq. 8.147 we can now rewrite Eq. 8.137 as

f(t,x,y,z)=n=1m=1o=1cmnoe((nπl)2+(mπw)2+(oπh)2)c2tsin(nπxl)sin(mπyw)sin(oπzh)

si580_e  (Eq. 8.148)

where we have combined all constants into the constants cmno. Obviously we are still missing the initial values that will account for the value of these constants.

8.3.9.3 Inhomogeneous Partial Differential Equations

Now that we have the solution of a very complex PDE that is time-dependent and three-dimensional, we can turn to the question of how to solve an inhomogeneous PDE, i.e., a differential equation that has a term on the right-hand side. An example of such an equation would be the Poisson equation, which we will need to solve later in form of the Navier-Stokes equation.

However, we will stick with the diffusion equation for the moment. Introducing an additional term transforms Eq. 8.136 to

ft=c22fx2+2fy2+2fz2+ρtxyzftc22fx2+2fy2+2fz2=ρtxyz

si381_e  (Eq. 8.149)

where we have added the term ρ to account for a source (if positive) or a sink (if negative) of concentration. These sources or sinks could be substance added or removed as well as chemical reactions which reduce or increase the concentration of a substance in the volume. Now obviously we are faced with an inhomogeneous solution. As discussed, in such a case we would begin by first solving the homogeneous case before proceeding to solve the inhomogeneous. If we insert Eq. 8.148 into Eq. 8.149 we obtain

ftc22fx2+2fy2+2fz2=ρtxyzn=1m=1o=1cmnoenπl2+mπw2+oπh21CLksinnπxlsinmπywsinoπzh=ρtxyz

si382_e  (Eq. 8.150)

In the next step, we would need to expand ρ (t, x, y, z) to a sine function in three dimensions and compare coefficients in order to determine cmno. Having done so we have our solution to the three-dimensional diffusion equation.

8.3.10 Summary

In this section, we have looked at some of the most important PDEs and methods of solving them. As we have seen, there are usually several methods from which we can chose. For simple PDEs the method of characteristics can often be employed. However, we commonly use substitution and separation of variable approaches for solving PDEs. We will use this method often in the upcoming chapters. Besides this method, several transforms such as the Fourier and the Laplace transforms can also be used to solve PDEs.

References

[1] I. Newton. Philosophiae Naturalis Principia Mathematica. 1686 (cit. on p. 191).

[2] I. Newton. De analysi per aequationes numero terminorum infinitas. 1711 (cit. on p. 191).


1 Sir Isaac Newton was an English scientist who may be considered one of the most important scientists that ever lived. He made significant contributions to physics, optics, and mechanics, introducing the laws of motion, the concept of gravity, and similar essential concepts for modern mechanics, which he first published in his seminal work Philosophiae Naturalis Principia Mathematica in 1686 [1]. The latter is considered his most important piece of work. Newton also made important contributions to mathematics, introducing the concept of infinitesimal calculus. The Newton method for solving systems of (non)linear equations also carries his name as he studied these methods, although only applying them for polynomials [2]

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset