The magnetostatic fields of the I and T pattern Permalloy overlay bars are analyzed by proposing a model based on the Bitter pattern observation of the domain wall structure in Permalloy bars. The magnetic charges that appear on the 90° domain walls are assumed to be the sources of the magnetic fields of the bars. The model has a two-dimensional reaction to an applied rotating in-plane field due to its two-dimensional domain wall movement and the consequent two-dimensional change of magnetic domain pattern inside the bar. The magnetization of the bar is equal to Msthe saturation magnetization of the bar at every section of the bar except on the domain walls. The magnetization curve and the magnetic field well Bz(bubble drive field) under the overlay bars are calculated and compared to that of the previous models. A qualitative explanation of the rotation of the bubble around the bars is given by the three-dimensional plots of the field well obtained for different orientations of the in-plane field.