Understanding the transport of three fluid phases through porous media has important applications in subsurface contaminant remediation, oil and gas recovery, and geological CO₂ sequestration. Existing transport models may be improved by including physical phenomena that govern fluid flow at the pore scale. In particular, thermodynamic arguments suggest that hysteresis...