Channeled flow: Analytic solutions, laboratory experiments, and applications to lava flows