Theoretical study of a consumable anode in a gas metal welding arc