Curved settling fronts within a rarefaction fan (source code)

= Curved settling fronts within a rarefaction fan
{title2=$z_u,z_d$}

For the <quadratic hindered-settling flux>, let the initial normalized concentration be $b$ below $z_m$ and $a>b$ above it, within a column $0<z<H$. The internal <settling rarefaction fan> has
$$
c(z,t)=\frac12\left(1+\frac{z-z_m}{u_st}\right).
$$
Before entering the fan, the upper clearing front follows $H-u_s(1-a)t$ and the lower deposition front follows $u_sbt$. They reach the fan at respective times $t_u=(H-z_m)/(u_sa)$ and $t_d=z_m/[u_s(1-b)]$.

Inside the fan, the <Rankine-Hugoniot condition> gives
$$
\dot z_u=\frac{z_u-z_m}{2t}-\frac{u_s}{2},\qquad
\dot z_d=\frac{z_d-z_m}{2t}+\frac{u_s}{2}.
$$
Integrating these linear <ordinary differential equations> and matching to the entry events yields
$$
z_u=z_m-u_st+2\sqrt{u_sAt},\qquad
z_d=z_m+u_st-2\sqrt{u_sDt},
$$
where $A=a(H-z_m)$ and $D=(1-b)z_m$. Each curve applies only after that front enters the fan and while its adjacent concentration lies between $b$ and $a$. If a front leaves the fan, its subsequent speed is set by the uniform state it encounters, rather than by extrapolating these curves.