A moving-boundary model of reactive settling in wastewater treatment. Part 1: Governing equations uri icon