Theory Of Thermomechanical Processes In Welding