Validation 4 — Plug-flow conversion through the film and the washcoat¶
Time: ~10 minutes. Case: examples/benchmarks/plug_flow_washcoat.toml
with its mechanism plug_flow_washcoat.gtm. Gated by:
tests/validation/test_plug_flow_washcoat.py, which also runs this case file.
In a catalytic converter the gas does not react where it flows. It first
crosses a boundary layer, the film, to the channel wall, then diffuses into
the porous washcoat on the wall, where it reacts. Either step can limit the
conversion. This page checks aeolus1d's washcoat model, the one a GT-mechanism
catalyst runs ([pipe.catalyst] kind = "mechanism" on a .gtm with
washcoat_thickness and channel_d_h; chemistry/gt_mechanism.py), against
the exact conversion of an isothermal channel.
Where the case is
examples/benchmarks/ is in a clone, in the GUI installers and, from the
release after 0.5.2, in the pip install aeolus1d wheel, where
aeolus1d examples prints its directory on line 1. The commands below run
from a clone. The comparison snippet imports the exact solution from
tests/, which only a clone has.
The problem¶
Take one first-order reaction, CO + ½ O₂ → CO₂ at a rate A·x_CO per reactor volume, in steady, isothermal plug flow at channel velocity u. The channels have hydraulic diameter d_h, so 4/d_h of wall area per channel volume. Three resistances act in series:
- the film, with a mass-transfer coefficient k_m = Sh D / d_h (D the CO diffusivity in N₂, Fuller's correlation);
- diffusion through a washcoat slab of thickness δ, at D_e = D × porosity / tortuosity;
- the reaction, at k_w per unit washcoat volume (k_w = A / (c δ gsa), with gsa = 4 ofa / d_h the wall area per reactor volume).
The slab's reaction-diffusion balance gives the Thiele effectiveness, and the channel balance the conversion:
This is the standard series form; the benchmark survey cited West, Balakotaiah & Jovanovic, Catal. Today 88 (2003) 3, doi:10.1016/j.cattod.2003.08.002, for it. The test checks it first: a boundary-value solve of the film and the slab together gives the same k_ov to 1e-6 at φ = 0.3, 2 and 10, and its limits hold (the film drops out for slow kinetics, the film alone remains for fast, η → 1/φ for strong pore diffusion).
What the discretisation should give. The quasi-steady solver carries the
gas along the pipe by upwind differences, whose steady state is
c_i = c_(i−1) / (1 + NTU/N) with NTU = k_ov (4/d_h) L/u. So the outlet
conversion on N cells is 1 − (1 + NTU/N)^−N, first order in 1/N. The washcoat
cut into n slices (washcoat_nodes) is a finite-volume slab, second order in
1/n. One slice is the lumped layer the default uses, whose closed form is
1/k_ov = 1/k_m + δ/(2 D_e) + 1/(k_w δ).
The bundled case: 1000 ppm CO and 10 % O₂ in N₂ at 600 K and 1 bar, u = 10 m/s
in the channels (the pipe's 20 mm diameter is the open flow area). The brick is
20 mm long, ofa 0.7, d_h 1.1 mm, Sh 2.98. One 30 µm washcoat layer, porosity
0.4, tortuosity 3. A in plug_flow_washcoat.gtm puts the Thiele modulus at 2,
so η = 0.482 and the film and the washcoat both matter. The exact conversion is
0.6547. The run uses 20 cells and 4 slices, and the quasi-steady solver in two
steps of 4 residence times.
Run it¶
Terminal¶
aeolus1d run examples/benchmarks/plug_flow_washcoat.toml --out /tmp/washcoat.h5
About 20-45 s, most of it the washcoat's chemistry.
GUI¶
- File → Open Example → Benchmarks → plug_flow_washcoat. The case and
its
.gtmsit side by side, and the case names the mechanism by its file name. - Click Run in the Runner dock (or press F5).
- In the post-processing tab pick Y_CO. The CO mass fraction, 9.86e-4 in the inlet gas, falls along the brick to 3.53e-4 in the last cell.
Compare with the exact solution¶
From the repository root:
import h5py
from tests.validation.test_plug_flow_washcoat import (
_a_for_phi, k_ov, ntu, x_exact, x_upwind)
with h5py.File("/tmp/washcoat.h5") as f:
y_co = f["pipes/brick/Y_CO"][:]
X = 1.0 - y_co[-1] / 0.0009858525547656227 # the inlet's CO mass fraction
n_tu = ntu(k_ov(_a_for_phi(2.0)), 0.02)
print(X, x_exact(n_tu), x_upwind(n_tu, 20)) # 0.6424 0.6547 0.6451
The 20 cells leave X 1.5 % under the exact (0.6451, the upwind march's own
steady state), and the 4 slices read the washcoat a further 0.43 % low. Raise
n_cells and washcoat_nodes and both close, the first at first order, the
second at second order.
Results¶

Left: without pore diffusion (washcoat_pore_diffusion = false), the CO
conversion along the channel in three regimes, 20 cells against the exact
1 − exp(−NTU x/L) in black. Each cell's value is drawn at its outlet face,
where upwind differencing puts it. Right: with pore diffusion, on 4 cells, the
error of the outlet conversion against the upwind march at the exact η, as the
washcoat is cut into more slices.
Film only (measured 2026-11-10). Each run is within 4.1e-7 of the march's own 1 − (1 + NTU/N)^−N; |X − exact|:
| Regime | k_w δ / k_m | NTU | 10 cells | 20 | 40 | 80 |
|---|---|---|---|---|---|---|
| kinetics-limited | 0.104 | 0.659 | 1.087e-2 | 5.524e-3 | 2.784e-3 | 1.398e-3 |
| film ≈ kinetics | 1.04 | 1.070 | 1.884e-2 | 9.612e-3 | 4.857e-3 | 2.441e-3 |
| film-limited | 104 | 1.386 | 2.301e-2 | 1.175e-2 | 5.940e-3 | 2.986e-3 |
Orders 0.97-0.99.
With pore diffusion, 4 cells, X / (1 − (1 + NTU/N)^−N) − 1 at the exact η. The slices' error is the washcoat's alone; it hardly moves with the cells (-1.09e-3 at 8 slices on 20 and on 40 cells, -1.05e-3 on 4). One slice is within 4.8e-7 of the lumped layer's closed form:
| φ | η | 1 slice | 2 | 4 | 8 | 16 |
|---|---|---|---|---|---|---|
| 0.3 | 0.971 | −7.61e-3 | −1.92e-3 | −4.80e-4 | −1.20e-4 | |
| 2 | 0.482 | −5.46e-2 | −1.58e-2 | −4.15e-3 | −1.05e-3 | −2.64e-4 |
| 10 | 0.100 | −1.01e-1 | −4.37e-2 | −1.59e-2 | −4.79e-3 | −1.28e-3 |
- Second order: 1.99-2.00 at φ = 0.3, rising from 1.79 to 1.99 at φ = 2. Extrapolated from the last two, the limit is within 1.4e-6 of tanh φ/φ at φ = 0.3 and 2.
- At φ = 10 the order is still rising at 16 slices (1.20 to 1.91): the reaction reaches only δ/φ = 3 µm into the 30 µm layer, and the slices have to resolve that.
- The default single slice reads the conversion low for a fast reaction:
5.5 % at φ = 2, 10 % at φ = 10. Set
washcoat_nodeswhen the Thiele modulus is above about 1.
The test gates each error at 1.5 times these tables. It found nothing to fix.
A wrong first reading, recorded so nobody repeats it. The first kinetics-limited runs read X = 0.22 against the exact 0.48 at every grid. The run had ended at 0.4 of a residence time, so the outlet still held the initial fill reacting as a batch, 1 − exp(−NTU u t / L) = 0.23. The end time must be several residence times; on 4 cells even 2 were not enough. The case and the test run 8, in two steps: 16 or 32 give the same conversion to nine digits.
Not covered: the constant Sherwood number itself (2.98 is the fully developed laminar value, and the entrance region's is higher; this check takes Sh as given in model and reference alike), a temperature field, coverages, and the CHEMKIN and Cantera surface mechanisms, which have no washcoat.
Reproduce the figure¶
python scripts/validation_figures.py plug_flow_washcoat
It runs the test's own harness for the three film-only regimes and the slice
sweep at three Thiele moduli, prints the numbers, and writes
docs/img/validation/plug_flow_washcoat.png. The slice sweep takes most of
its 8-10 minutes.