Concentration Distributions with a Position-Dependent Diffusion Coefficient

Initializing live version
Download to Desktop

Requires a Wolfram Notebook System

Interact on desktop, mobile and cloud with the free Wolfram Player or other Wolfram Language products.

This Demonstration shows plots of the steady-state concentration distribution through a plane sheet, a cylindrical annulus, and a spherical shell, in which diffusion is assumed to be one-dimensional. Different values of parameter can be chosen.

[more]

The relevant equations are:

For the plane sheet, for , where is the diffusion coefficient. Without loss of generality, one can choose the boundary conditions and .

For the cylindrical annulus, for , where is the diffusion coefficient. Again, one can choose the boundary conditions and .

For the spherical shell, for , with the same and boundary conditions as for the cylindrical annulus.

For the plane sheet, if , then is a constant and the concentration distribution is indicated by the dotted green line. Fick's second law is recovered, as shown in the first snapshot.

In all plots, the red dots correspond to the solution obtained using Chebyshev orthogonal collocation with collocation points. The blue curve is the analytical solution given by Crank [1]: , where with (planar case) and (cylindrical and spherical cases).

For the plane sheet, , , and .

For the cylindrical annulus, , , and .

For the spherical shell, , , and .

As expected, the two solutions agree perfectly.

[less]

Contributed by: Housam Binous and Ahmed Bellagi (August 2015)
Open content licensed under CC BY-NC-SA


Snapshots


Details

Reference

[1] J. Crank, The Mathematics of Diffusion, 2nd ed., New York: Oxford University Press, 1975.



Feedback (field required)
Email (field required) Name
Occupation Organization
Note: Your message & contact information may be shared with the author of any specific Demonstration for which you give feedback.
Send