Drop a block of clear gel into a dye bath and a colored front creeps inward. For a small dye with , the front reaches a depth of about 6.6 mm in the first hour, but after a full day it is only about 32 mm deep: 24 times the time makes it only about five times deeper, because the depth grows with and . The same slow, square-root-of-time spreading controls how a drug leaches out of a tablet coating, how carbon hardens the surface of a steel gear and how quickly a solvent swells a polymer film. In every case the solid is thick compared with how far the solute has traveled so far, so it behaves as a semi-infinite solid.
In this lesson you will write the diffusion equation for that case, find the concentration at any depth and time from the error function, work backward to the time needed to reach a target, add a liquid film and a partition coefficient at the surface, and check when the semi-infinite picture stops being valid (Figure 1).
- InputsD, x, t; for a film also kc and K
- similarity variable
- Profileerf solution, or the film solution with
- backward: time to reach a target
- Checkstill semi-infinite?
Learning Objectives
After this lesson, you should be able to:
- Write Fick’s second law for a semi-infinite solid and use the similarity variable to relate depth and time.
- Find the concentration at a given depth and time with the error function, and the time needed to reach a target concentration.
- Estimate the penetration depth and decide whether a solid of finite size can be treated as semi-infinite.
- Include a surface film and a partition coefficient in the concentration profile.
Key Ideas
1. Fick’s Second Law and the Similarity Variable
When the concentration inside a solid changes with time, a mass balance on a thin slice combined with Fick’s law gives Fick’s second law, the mass-transfer form of Perry’s Eq. 5-24 with the diffusivity in place of the thermal diffusivity:
Take a thick solid with a uniform initial concentration . At time zero its surface () is brought to a new concentration and held there, and far inside () nothing has changed yet. For these conditions the two variables and always appear together in one group, the similarity variable:
Any two points with the same have the same concentration. Doubling the depth gives the same only after four times the time, because is divided by . Profiles taken at different times all fall onto one curve when they are plotted against (Figure 2).
gives , so
gives the same and the same ratio
Twice the depth, four times the time: profiles at every time collapse onto one curve against the similarity variable.
Key idea: in a semi-infinite solid the concentration depends on and only through . Twice the depth needs four times the time.
2. Surface at Equilibrium: the Error Function
Suppose the solid is placed in a well-stirred solution of solute A at concentration , and the surface reaches equilibrium with the liquid at once. With a partition coefficient (solid concentration over liquid concentration at equilibrium), the surface concentration is . The solution, the analogue of Perry’s Eq. 5-30, is
Here is the fraction of the change that has not happened yet: it is 0 at the surface and 1 deep inside. For a solid that starts free of solute (), the concentration ratio is therefore
The error function rises from 0 at toward 1, and it is already 0.9953 at (Figure 3). Most calculators and spreadsheets evaluate it directly; to go backward from a target, find the that gives the required value of and solve for :
; ; ; ;
; ; ; ;
Backward: , with
Key idea: with the surface at equilibrium, . Use in m, in s and in so that has no units.
Try it: watch the front penetrate
Choose the semi-infinite geometry and run the simulator. Watch two things: the profile keeps the same shape as it moves inward, and the time needed for the front to reach a given depth grows four times when that depth doubles. Then lower the film coefficient and see the surface concentration lag behind its equilibrium value.
Open the unsteady diffusion simulator full screen
3. Penetration Depth: When Is a Solid Semi-Infinite?
The solute front has no sharp edge, but the profile becomes very small beyond a certain depth. Perry’s p. 5-7 gives the depth to which the change penetrates in time as approximately
At , and , so only about 1.4% of the surface value has arrived there (Figure 4). A real body of finite size behaves as a semi-infinite solid as long as is smaller than the distance to the next boundary. For a sheet of thickness wetted on both faces, the two fronts meet at the mid-plane, so each face behaves as a semi-infinite solid until
Integrating the error-function profile over the depth gives the amount of solute taken up per unit area of surface while the solid is still semi-infinite:
The uptake also grows as : the first minutes take up far more solute than any later minute.
- Surfacex = 0
- Inside: at 1.0 mm
- InsideWorked Example 1(a)
- Edge: at 6.57 mm after 1.0 h
- Penetration depth, about 1.4% of the surface value
Key idea: use to check that the solid is still semi-infinite. For a sheet wetted on both faces, the limit is reached when equals half the thickness.
Worked Example 1: Solute Soaking into a Thick Gel
Problem: A thick gel slab contains no solute A at first. At time zero its surface is brought to the equilibrium concentration and held there. The diffusivity of A in the gel is , about the size of a small solute diffusing in water. (a) Find at a depth of 1.0 mm after 1.0 h. (b) Estimate the penetration depth after 1.0 h. (c) How long does it take for the concentration at a depth of 2.0 mm to reach 50% of ? (d) The same gel is cast as a sheet 10 mm thick and both faces are wetted. For how long does each face behave as the surface of a semi-infinite solid?
Step 1. (a) Similarity variable with in m and s.
Step 2. (a) Error function, then subtract from 1.
Step 3. (b) Penetration depth, converted from m to mm.
Step 4. (c) Invert for the time. A target of 50% means , so and . Then solve for and convert s to h.
Step 5. (d) Validity of the semi-infinite model. Each front only has to reach the mid-plane, so mm. Solve the penetration depth for and convert s to min.
Final Answer: (a) ; (b) ; (c) ; (d) about
Check: at 1 h the 2.0 mm point has , so h; and since 50% is below the 0.709 reached there at 4 h (the same as part (a)), h. The answer, 1.22 h, lies between. Part (d) shows why a 10 mm sheet soaked for 1 h is not semi-infinite: after about 34.7 min the two fronts meet and the erf solution no longer applies.
Your turn: concentration at a depth
Same steps as Worked Example 1(a): find with in m and in s, evaluate to 4 significant figures, then subtract from 1.
Loading the practice problem…
Your turn: time to reach a target
Same steps as Worked Example 1(c): turn the target into a value of , read from the inverse value given in the problem, then solve and convert s to min.
Loading the practice problem…
Your turn: how long is a sheet semi-infinite?
Same steps as Worked Example 1(d): set to half the thickness, solve with in m, and convert s to min.
Loading the practice problem…
4. Surface Film and Partition Coefficient
If the liquid is not stirred hard enough, a film resistance at the surface slows the transfer, and the surface concentration only approaches gradually. With a liquid film coefficient and a partition coefficient , the flux into the solid at its surface is . Written in terms of the solid concentration, the film coefficient becomes , and the solution, the analogue of Perry’s Eq. 5-31, is
The group measures how strong the film is compared with diffusion inside the solid. A very large makes large, the second term vanishes and the error-function solution of Key Idea 2 returns. At the surface (, so and ) the solution reduces to
The concentration inside is always lower than the equilibrium-surface answer at the same depth and time (Figure 5). Keep all the groups in SI units: in , in , in m and in s.
Surface:
Worked Example 2, 0.80 mm after 30 min: no film ; with the film
At the surface: no film ; with the film
Key idea: with a film resistance, divide by first, evaluate and , then subtract from .
Worked Example 2: Soaking Through a Liquid Film
Problem: A thick gel slab contains no solute A at first. At time zero it is placed in a solution of A at concentration , with a liquid film coefficient and a partition coefficient (gel concentration over liquid concentration). The diffusivity of A in the gel is . After 30 min, find (a) at a depth of 0.80 mm; (b) the same ratio if the film resistance were negligible; (c) the surface ratio .
Step 1. Groups, with s s.
Step 2. (a) The two terms.
Step 3. (a) Combine.
Step 4. (b) No film resistance. Only the first term remains: .
Step 5. (c) Surface, with and .
Final Answer: (a) ; (b) 0.731 without the film; (c)
Check: the film lowers the concentration at 0.80 mm by about 35%, and after 30 min the surface is still only at 0.700 of its equilibrium value. The penetration depth is , so the slab must be much thicker than that for the semi-infinite model to hold.
Your turn: soaking through a film
Same steps as Worked Example 2(a): find , then , and to 4 significant figures, and combine the two complementary error functions.
Loading the practice problem…
Common Mistakes
Common mistake: Swapping erf and erfc. is the fraction of the change still to come, not the concentration ratio. In Worked Example 1(a), is ; reporting 0.2906 says the gel at 1.0 mm is far emptier than it is.
Common mistake: Leaving out the 2 in the similarity variable. The denominator of is . Dropping the 2 doubles and makes the front look much shallower than it is.
Common mistake: Mixing minutes, seconds and millimeters. Put in s, in m and in before you evaluate , , or . A formula solved for gives seconds: divide by 60 for min or by 3600 for h.
Common mistake: Misusing the penetration depth. The penetration depth is , not or . For a sheet wetted on both faces, compare with half the thickness: using the full thickness in Worked Example 1(d) gives four times the correct time.
Common mistake: Using c1 instead of Kc1, or kc instead of k′. The surface of the solid is in equilibrium with , not , and the film coefficient on the solid side is . Multiplying by instead of dividing, or leaving out, changes and and gives a wrong profile.
Common mistake: Dropping the film term. With a film resistance, alone is wrong: it is the answer for a surface at equilibrium (0.731 instead of 0.478 in Worked Example 2). At the surface, is the part still missing; the surface ratio is 1 minus it.
Key Takeaway
A thick solid whose surface concentration changes suddenly is a semi-infinite solid: its profile depends only on , so twice the depth takes four times the time. With the surface at equilibrium, ; with a liquid film, use and subtract . The model holds while the penetration depth is smaller than the distance to the next boundary.
Practice: randomized problems
Each problem below uses fresh numbers every time and mixes every kind of problem in this lesson, including penetration depths and surface concentrations with a film: work it out, check your answer, then open the worked solution to compare your steps.
Loading the practice problem…
Your results
This summary collects every practice problem you try on this page and suggests what to review next.
Loading your results…
Figures and simulator: original work by Dr. Ray’s Learning Center, licensed CC BY 4.0. Methods: Perry’s Chemical Engineers’ Handbook, 9th edition, Section 5: the unsteady conduction equation and its semi-infinite solid solutions with and without a surface film, and the penetration depth, applied to diffusion by the heat and mass transfer analogy. The practice problems use illustrative conditions and are audited; see the lesson audit log.