A study of heat transfer during arc welding