18
3.205 L3 11/2/06 Solutions to the Diffusion Equation 1

Solutions to the Diffusion Equation

  • Upload
    lehanh

  • View
    219

  • Download
    2

Embed Size (px)

Citation preview

Page 1: Solutions to the Diffusion Equation

3.205 L3 11/2/06

Solutions to the Diffusion Equation

1

Page 2: Solutions to the Diffusion Equation

Solutions to Fick’s Laws

Fick’s second law, isotropic one-dimensionaldiffusion, D independent of concentration

!

"c

"t= D

"2c

"x2

Linear PDE; solution requires one initialcondition and two boundary conditions.

23.205 L3 11/2/06

Figure removed due to copyright restrictions.See Figure 4.1 in Balluffi, Robert W., Samuel M. Allen, and W. Craig Carter.Kinetics of Materials. Hoboken, NJ: J. Wiley & Sons, 2005. ISBN: 0471246891.

Page 3: Solutions to the Diffusion Equation

Steady-State Diffusion

When the concentration field is independent of time and D is independent of c, Fick’

!

"2c = 0

s second law is reduced to Laplace’s equation,

For simple geometries, such as permeation through a thin membrane, Laplace’s equation can be solved by integration.

33.205 L3 11/2/06

Page 4: Solutions to the Diffusion Equation

Examples of steady-state profiles

(a) Diffusion through a flat plate

(b) Diffusion through a cylindrical shell

43.205 L3 11/2/06

Figure removed due to copyright restrictions.See Figure 5.1 in Balluffi, Robert W., Samuel M. Allen, and W. Craig Carter.Kinetics of Materials. Hoboken, NJ: J. Wiley & Sons, 2005. ISBN: 0471246891.

Figure removed due to copyright restrictions.See Figure 5.2 in Balluffi, Robert W., Samuel M. Allen, and W. Craig Carter.Kinetics of Materials. Hoboken, NJ: J. Wiley & Sons, 2005. ISBN: 0471246891.

Page 5: Solutions to the Diffusion Equation

Error function solution…

Interdiffusion in two semi-infinite bodies

Solution can be obtained by a “scaling” method that involves a single variable,

!

" # x 4Dt

!

c "( ) = cx

4Dt

#

$ %

&

' ( = c +

)c

2erf

x

4Dt

#

$ %

&

' (

53.205 L3 11/2/06

Figure removed due to copyright restrictions.See Figure 4.2 in Balluffi, Robert W., Samuel M. Allen, and W. Craig Carter.Kinetics of Materials. Hoboken, NJ: J. Wiley & Sons, 2005. ISBN: 0471246891.

Page 6: Solutions to the Diffusion Equation

erf (x) is known as the error function and is defined by

!

erf x( ) "2

#e$% 2

d%0

x

&

An example:

!

c x < 0,0( ) = 0;c x > 0,0( ) =1;c "#,t( ) = 0; c #,t( ) =1; D =10"16

t = 102, 103, 104, 105

Application to problems with fixed c at surface

63.205 L3 11/2/06

Page 7: Solutions to the Diffusion Equation

Movie showing time dependence of erf solution…

73.205 L3 11/2/06

Page 8: Solutions to the Diffusion Equation

Superposition of solutions

When the diffusion equation is linear, sums of solutions are also solutions. Here is an example that uses superposition of error-function solutions:

Two step functions, properly positioned, can be summed to give a solution for finite layer placed between two semi-infinite bodies.

83.205 L3 11/2/06

Figure removed due to copyright restrictions.See Figure 4.4 in Balluffi, Robert W., Samuel M. Allen, and W. Craig Carter.Kinetics of Materials. Hoboken, NJ: J. Wiley & Sons, 2005. ISBN: 0471246891.

Page 9: Solutions to the Diffusion Equation

Superposed error functions, cont’d

The two step functions (moved left/right by Δx/2):

!

cleft =c0

21+ erf

x+"x 2

4Dt

#

$ %

&

' (

)

* + ,

- .

cright = /c0

21+ erf

x /"x 2

4Dt

#

$ %

&

' (

)

* + ,

- .

and their sum

!

clayer =c0

2erf

x+"x 2

4Dt

#

$ %

&

' ( ) erf

x )"x 2

4Dt

#

$ %

&

' (

*

+ , -

. /

93.205 L3 11/2/06

Page 10: Solutions to the Diffusion Equation

Superposed error functions, cont’d

An example:

!

c "#,t( ) = 0; c #,t( ) = 0; c x $ "%x / 2,0( ) = 0;c "%x / 2 < x < %x / 2( ) =1;

c x & %x / 2,0( ) = 0;%x = 2'10"6;D =10"16

t = 101, 103, 104, 105

Application to problems with zero-flux planeat surface x = 0

103.205 L3 11/2/06

Page 11: Solutions to the Diffusion Equation

Movie showing time dependence of superimposed erf solutions…

113.205 L3 11/2/06

Page 12: Solutions to the Diffusion Equation

The “thin-film” solution The “thin-film” solution can be obtained from the

previous example by looking at the case where Δx is very small compared to the diffusion distance, x, and the thin film is initially located at x = 0:

!

c x,t( ) =N

4"Dte#x

24Dt( )

where N is the number of “source” atoms per unit area initially placed at x = 0.

123.205 L3 11/2/06

Page 13: Solutions to the Diffusion Equation

Diffusion in finite geometries

Time-dependent diffusion in finite bodies can soften be solved using the separation of variables technique, which in cartesian coordinates leads to trigonometric-series solutions.

A solution of the form

!

c x, y, z, t( ) = X x( ) "Y y( ) "Z z( ) "T t( )

is sought.

133.205 L3 11/2/06

Page 14: Solutions to the Diffusion Equation

Substitution into Fick’s second law gives two ordinary-differential equations for one-dimensional diffusion:

!

dT

dt= "#DT

d2X

dx2

= "#X

where λ is a constant determined from the boundary conditions.

143.205 L3 11/2/06

Page 15: Solutions to the Diffusion Equation

Example: degassing a thin plate in a vacuum

!

c 0 < x < L,0( ) = c0; c 0,t( ) = c L,t( ) = 0

The function X(x) turns out to be the Fourier series representation of the initial condition—in this case, it is a Fourier sine-series representation of a constant, c0:

with

!

Xnx( ) = a

nsin n"

x

L

#

$ %

&

' (

n=1

)

*

!

an =2c0

Lsin n"

#

L

$

% &

'

( )

0

L

* d#

153.205 L3 11/2/06

Page 16: Solutions to the Diffusion Equation

degassing a thin plate, cont’d

The function T(t) must have the form:

!

Tnt( ) =T

n

°exp "

n2# 2

L2Dt

$

% &

'

( )

and thus the solution is given by KoM Eq. 5.47:

!

c x,t( ) =4c0"

1

2 j +1sin 2 j +1( )"

x

L

#

$ % &

' ( exp )

2 j +1( )2" 2

L2

Dt#

$ %

&

' (

*

+ , ,

-

. / /

j=0

0

1

163.205 L3 11/2/06

Page 17: Solutions to the Diffusion Equation

degassing a thin plate, cont’d

Example:

!

c 0,t( ) = 0; c L,t( ) = 0; c 0 < x < L,0( ) =1

L =10"5;D =10"16

173.205 L3 11/2/06

Page 18: Solutions to the Diffusion Equation

Other useful solution methods

Estimation of diffusion distance from

!

x " 4Dt

Superposition of point-source solutions to get solutions for arbitrary initial conditions c(x,0)

Method of Laplace transforms Useful for constant-flux boundary conditions, time-dependent boundary conditions

Numerical methods Useful for complex geometries, D = D(c), time-dependent boundary conditions, etc.

183.205 L3 11/2/06