Effects of the curvature of a lava channel on flow dynamics and crust formation