Tritium permeation
Solve a 1D permeation transient and read the breakthrough curve and time lag.
A 1D slab holds mobile tritium with Fickian diffusion at a caller-supplied diffusivity (T1, trap-free here):
The demo below solves the permeation setup , , with the crate’s implicit finite-volume stepper and plots the normalized outlet flux (G2):
The dashed marker sits at the time lag (G2-lag),
the intercept of the cumulative-permeation asymptote. The default inputs
replay fixtures/tritium/g2_timelag.json (,
, ,
). All inputs are validated
inline (finite, with , , , )
before any solve runs.
Loading the live demo…
Validated against FESTIM 2.1 (F1–F4 all PASS; see
validation/results/tritium_festim.json). Each leg checks the steady
flux , the transient flux , the time lag
, and the concentration profile against the
reference implementation.
See also
- Theory: Tritium transport
- Crate docs:
crates/tritium/src/lib.rs