Application of inductive heating to granular media : modelling of electrical phenomena