I’ve realized that Fick’s Laws for diffusion are very important for a lot of different fields, but aren’t very easily searchable.
Below is a short compilation of my *favorite* problems and their solutions. Just for fun!
Steady State Diffusion through the Walls of a Cylindrical Pipe (From Jeff Hoyt’s MSE 103 Course at UC Berkeley)
Consider hydrogen diffusing through an infinitely long cylindrical pipe of Pd. Let the inside radius of the pipe be r = Ri and the outer surface be r = Ra. Assume the concentration of H is maintained at c = ci on the inside surface and c = ca on the outside surface of the cylinder. Determine the steady state concentration profile c(r).
Solution:
First we can write out Fick’s second law for a cylinder, knowing that we are in steady state for this problem.
Then we note that the solution to this equation is logarithmic.
Finally, we need to apply the described boundary conditions. These are the outer and inner concentrations of the cylinder.
We solve for A and B.
Finally, we can plug in the constants and get the final concentration for steady state.
Steady State Diffusion through Stacked Cylindrical Pipes, a Mass Balance (From Terry Johnson’s BioE 104 Course at UC Berkeley)
You are interested in steady-state mass transfer (without reaction) through the walls of a cylinder that consists of two membranes (as shown). This is exactly like Example 6.5, only in cylindrical coordinates. For simplicity’s sake, assume that the partition coefficients for each membrane are ~ 1.0.
I’ve also neglected to include the substrate ‘i’s to denote solute i – there is only one solute in the system.
Membrane 1 has a diffusivity D1 from r = R0 to R1 and membrane 2 has a diffusivity D2 from r = R1 to R2.
Given that the concentration profile through a single membrane is C(r) = A•ln(r) + B (Example 6.7), solve for the flux through the membranes in terms of a sum of resistors in series. Your final equation should be in a form that makes it easy to recognize the individual membrane resistances.
Solution:
If we were dealing with a normal profile through a cylinder, we know that the equation describing the concentration profile is logarithmic.
First we can note that the mass transfer of solute is equal at the membrane interfaces otherwise there would be a buildup of solute.
Now we can write out the concentration profile for each membrane independently.
Then we list out boundary conditions (there are four) and the equations we get from them.
Solve for constants, A1, A2, B1, and B2. (this gets a little messy).
Use that to solve for Flux (also messy).
Finally we can write out the flux profile.
In this case, the driving force is the change in concentration over distance (first part), and the resistance is the second part with all the diffusivity in it. Looks a lot like Ohms law…
Concentration Dependent Steady State Diffusion through a Plate (From Jeff Hoyt’s MSE 103 Course at UC Berkeley)
A thin plate of a substance A with a thickness L is exposed on one side to a gaseous environment of species B such that the concentration of B at the surface is held constant at c = ci . The other side of the plate is held constant at a concentration of zero. For B diffusing in A the diffusion coefficient is known to vary with composition according to D(c) = D1exp (αc) where D1 and α are constants. Determine the steady state concentration profile in the plate.
Solution:
This question requires a re-derivation of Fick’s second law.
We are still at steady state, so concentration no longer depends on time.
Now we integrate once and rearrange.
Now we solve for c with the new system. The form of the solution will be somewhat logarithmic.
Boundary conditions:
Then solve for constants.
Finally plug in those constants for the concentration profile.
Superposition to Solve Time-Dependent Step Concentration Diffusion in 2 Dimensions (From Jeff Hoyt’s MSE 103 Course at UC Berkeley)
Consider one dimensional diffusion in an infinitely long rod. At t = 0 a region given by –L < x < +L has a solute concentration of c = c* and all other points in the rod are solute free. Solve for c(x,t). Notice, the dimension L is sufficiently large such that the thin film, planar source solution can NOT be used. Finally express all integrals in the solution in terms of known functions.
Solution:
We’re going to use the superposition rule to solve this problem.
We can describe the spreading at any time of solute at any individual point using the initial solute concentration. This is using the planar source solution (known).
We can express this concept over a range of positions using a sum.
To make this description truly continuous, we turn it into an integral.
Our initial condition in this problem is a concentration step between –L and L. Therefore, a piecewise function is representative.
So we can break down the integral into three parts representing each part of the system.
To make this easier to solve, we’re going to substitute a new variable in. It was also make known functions more recognizable.
And we substitute:
Now we can convert the form to something a little more familiar (the error function!)
For those who just need a reminder, the error function form is:
Here‘s an excerpt from a book with a good review of other types of problems.