Analytic Models of Heterogenous Magnetic Fields for Liquid Metal Flow Simulations