Isostatic depth partition of an interfacial current (source code)

= Isostatic depth partition of an interfacial current
{title2=$(\rho_0-\rho_1)h_1=-(\rho_2-\rho_0)h_2$}

Let an <interfacial viscous gravity current> of <mass density> $\rho_0$ lie between fluids with $\rho_1<\rho_0<\rho_2$. Measure height from their undisturbed interface. The upper current surface has signed height $h_1>0$, and the lower surface has signed height $h_2<0$; total thickness is $h=h_1-h_2$.

Matching <hydrostatic pressure> at both surfaces gives
$$
(\rho_0-\rho_1)h_1=-(\rho_2-\rho_0)h_2.
$$
Thus the two positive thicknesses are $h_1=(\rho_2-\rho_0)h/(\rho_2-\rho_1)$ and $-h_2=(\rho_0-\rho_1)h/(\rho_2-\rho_1)$. The minus sign in the first equation comes from the signed lower coordinate, not a negative physical thickness.

The resulting effective <mass density> contrast is
$$
\Delta\rho=\frac{(\rho_0-\rho_1)(\rho_2-\rho_0)}{\rho_2-\rho_1}>0.
$$
Its modified current <pressure> is $\Delta\rho\,g h$, and its radial gradient gives the equivalent <body force> per volume $-\Delta\rho\,g h_r\mathbf e_r$. Both ambient contrasts therefore enter the spreading force.