Two dimensional electromagnetic field diffusion due to electric discharge by an analytical approach