A simulation of magneto-hydrostatic phenomena in thin liquid layers of an aluminum electrolytic cell