Inductive heating of coilgun projectiles