Thermogravitational mechanism of alignment of the front of chemoconvection patterns with an exothermic chemical reaction