# Welding defect

In metalworking, a welding defect is any flaw that compromises the usefulness of a weldment. There are many different types of welding defects, which are classified according to ISO 6520, while acceptable limits for welds are specified in ISO 5817 and ISO 10042.

## Major causes

According to the American Society of Mechanical Engineers (ASME), the causes of welding defects can be classified as follows: 41% poor process conditions, 32% operator error, 12% using the wrong technique, 10% incorrect consumables, and 5% bad weld grooves.

### Residual stresses

The magnitude of residual stress caused by the heating, and subsequent cooling, from welding can be roughly calculated using:
    $E\alpha \Delta T$
Where $E$ is Young's modulus, $\alpha$ is the coefficient of thermal expansion, and $\Delta T$ is the temperature change. This approximates 3.5 GPa (510,000 psi) for steel.

## Types
### Cracks
#### Arc strikes

An arc strike is a discontinuity resulting from an arc consisting of any localized remelted metal, heat-affected metal, or change in the surface profile of any metal object. Arc strikes result in localized base metal heating and very rapid cooling. When located outside the intended weld area, they may result in hardening or localized cracking and may serve as potential sites subsequent fracturing. In statically loaded structures, arc strikes need not be removed unless such removal is required in contract documents. However, in cyclically loaded structures, arc strikes may result in stress concentrations that would be detrimental to the serviceability of such structures, and arc strikes should be ground smooth and visually inspected for cracks.

#### Cold cracking

Cold cracking—also known as delayed cracking, hydrogen-assisted cracking (HAC), or hydrogen-induced cracking (HIC)—is a type of defect that often develops after solidification of the weld when the temperature starts to drop from about 190 °C (375 °F); the phenomenon often arises at room temperature, and it can take up to 24 hours to appear even after complete cooling. Some codes require testing of welded objects 48 hours after the welding process. This type of crack is usually observed in the heat affected zone (HAZ), especially with carbon steel, which has limited hardenability. For other alloy steels, with a high degree of hardenability, cold cracking could occur in both the weld metal and the HAZ. This crack mechanism can also propagate between grains and through grains. Factors that can contribute to the occurrence of cold cracking are:
* The amount of hydrogen (H2) dissolved in weld metal:
    Dissolved hydrogen in the weld metal is related to hydrogen embrittlement. Hydrogen content can be reduced by using hydrogen-free consumables. In the case of welding filler (especially in shielded metal arc welding (SMAW)) exposed to the atmosphere, proper electrode baking is recommended to eliminate moisture from flux. Preheating of the base material is also one of the techniques used to release hydrogen from the working object.
* Residual tensile stress:
    Residual tensile stress can cause cracks to propagate without any applied stress. This can be avoided by preheating the base metal, which reduces the different thermal expansion coefficients that will affect the cooling rate of weld metal. Utilizing low-yield-strength filler metal is also preferable because the magnitude of residual stresses can be equal to the σ yield of the metal. Therefore, the use of austenitic stainless steel or nickel-base filler could be considered due to its ductile nature. Also, post weld heat treatment (PWHT) will release any residual stresses on the weld joint.
* Hardness of weld metal and heat affected zone (HAZ):
    Hardness is correlated with the brittleness of the material. To reduce excessive hardness, preheating and PWHT can be applied to the object. Hardness values below 350 VHN have less tendency to crack.
* Structure of weld metal and HAZ:
    Cold cracking in steels is associated with forming martensite as the weld cools. Hydrogen has very low solubility in martensite, which can lead to the gas being trapped inside the weld if care isn't taken. Slower cooling rates during the welding process help to avoid martensite formation. In addition, a slower cooling rate means a longer time at an elevated temperature, which allows more hydrogen to escape. A slower cooling rate is achieved by using high heat input and maintaining it during the welding.
The alloy composition of the base metal also has an essential role in the likelihood of a cold crack occurring, since that composition relates to the hardenability of materials. With high cooling rates, the risk of forming a hard, brittle structure in the weld metal and HAZ is more likely. The hardenability of a material is usually expressed in terms of its carbon content or, when other elements are taken into account, its carbon equivalent (CE) value.
    ${\ce {CE_{IIW}= C + Mn/6 + (Cr + Mo + V)/5 + (Ni + Cu)/15}}$ (concentration is shown as percentage of weight)
Then, depending on the carbon content (with additional elements influencing the carbon equivalent index), steels can be classified into three zones, from their cold cracking behavior, as shown in the Graville diagram.
* Zone I includes low-carbon and low-alloy steels with a carbon content lower than 0.10%. Materials that lie in this region are considered not crack-sensitive.
* Zone II includes most carbon steels with a carbon content above 0.10%. Steels in this zone can be prone to cold cracks. In this case, it is preferable to use low hydrogen filler and slow the cooling rate during welding process.
* Zone III includes alloy steels with a carbon content above 0.10% and a high carbon equivalent index. Materials in this zone are considered hard to weld because martensite formation is unavoidable, even under controlled cooling. Therefore, additional procedures, such as preheating and PWHT, are needed during the welding process.

#### Crater crack

Crater cracks occur when a welding arc is broken, a crater will form if adequate molten metal is available to fill the arc cavity.

#### Hat crack

Hat cracks get their name from the shape of the weld cross-section, because the weld flares out at the face of the weld. The crack starts at the fusion line and extends up through the weld. They are usually caused by too much voltage or not enough speed.

#### Hot cracking

Hot cracking, also known as solidification cracking, can occur with all metals, and happens in the fusion zone of a weld. Excess restraint in the use of material should be avoided to diminish the probability of this type of cracking, and a proper filler material should be utilized. Other causes include a too-high welding current, poor joint design that does not diffuse heat, impurities (such as sulfur and phosphorus), preheating, welding speed being too fast, and long arcs.

#### Underbead crack

An underbead crack, also known as a heat-affected zone (HAZ) crack, forms a short distance away from the fusion line; it occurs in low alloy and high alloy steel. The exact causes of this type of crack are not entirely understood, but it is known that dissolved hydrogen must be present. The other factor that affects this type of crack is internal stresses resulting from: unequal contraction between the base metal and the weld metal, restraint of the base metal, stresses from the formation of martensite, and highlights from the precipitation of hydrogen out of the metal.

#### Longitudinal crack

Longitudinal cracks run along the length of a weld bead. There are three types: check cracks, root cracks, and full centerline cracks. Check cracks are visible from the surface and extend partially into the weld. They are usually caused by high shrinkage stresses, especially on final passes, or by a hot cracking mechanism. Root cracks start at the root and extent part-way into the weld. They are the most common type of longitudinal crack because of the small size of the first weld bead. If this type of crack is not addressed, it will usually propagate into subsequent weld passes, which is how full cracks (a crack from the root to the surface) usually form.

#### Reheat cracking

Reheat cracking is a type of cracking that occurs in HSLA steels—particularly chromium, molybdenum and vanadium steels—during post-heating. The phenomenon has also been observed in austenitic stainless steel. The poor creep ductility of the heat-affected zone causes such cracks. Any existing defects or notches aggravate crack formation. Conditions that help prevent reheat cracking include preliminary heat treating with a low-temperature soak and then with rapid heating to high temperatures, grinding or peening the weld toes, and using a two-layer welding technique to refine the HAZ grain structure.

#### Root and toe cracks

A root crack is formed by the short bead at the root (of edge preparation)—at the beginning of the welding, with low current at the beginning, and with improper filler material. The primary reason for these types of cracks is hydrogen embrittlement. These defects can be eliminated using a high current at the starting and proper filler material. A toe crack occurs due to moisture content in the welded area; it is a surface crack so that it can be easily detected. Preheating and proper joint formation are a must for eliminating these types of defects.

#### Transverse crack

Transverse cracks are perpendicular to the direction of the weld. These are generally the result of longitudinal shrinkage stresses acting on weld metal of low ductility. Crater cracks occur in the crater when the welding arc is terminated prematurely. Crater cracks are typically shallow, hot cracks, usually forming single or star cracks. These cracks usually start at a crater pipe and extend longitudinally in the crater. However, they may propagate into longitudinal weld cracks in the rest of the weld.

### Distortion

Welding methods that involve the melting of metal at the site of the joint are necessarily prone to shrinkage as the heated metal cools. Shrinkage then introduces residual stresses and distortion. Distortion can pose a major problem since the final product is not the desired shape. To alleviate certain types of distortion, the workpieces can be offset so that after welding, the product is the correct shape. The following pictures describe various types of welding distortion:
* Transverse shrinkage
* Angular distortion
* Longitudinal shrinkage
* Fillet distortion
* Neutral axis distortion

### Gas inclusion

Gas inclusion—gas entrapment within the solidified weld—manifests itself in a wide variety of defects, including porosity, blow holes, and pipes (or wormholes). Gas formation can be from any of the following causes—high sulphur content in the workpiece or electrode, excessive moisture from the electrode or workpiece, too short of an arc, or wrong welding current or polarity.

### Other inclusions

There are two other types of inclusions: linear inclusions and isolated inclusions. Linear inclusions occur when there is slag or flux in the weld. Slag forms from the use of a flux, which is why this type of defect usually occurs in welding processes that use such flux, such as shielded metal arc welding, flux-cored arc welding, and submerged arc welding; but it can also occur in gas metal arc welding. This defect usually occurs in welds that require multiple passes when there is poor overlap between the welds. The poor overlap does not allow the slag from the previous weld to melt out and rise to the top of the new weld bead. It can also occur if the previous weld left an undercut or an uneven surface profile. To prevent slag inclusions, the slag should be cleaned from the weld bead between passes via grinding, wire brushing, or chipping.
Isolated inclusions occur when rust or mill scale is present on the base metal.

### Lack of fusion and incomplete penetration

Lack of fusion is the poor adhesion of the weld bead to the base metal. Incomplete penetration is a weld bead that does not start at the root of the weld groove, leaving channels and crevices in the root of the weld. This causes serious issues in pipes because corrosive substances can settle in these areas. These types of defects occur when the welding procedures are not adhered to; possible causes include the current setting, arc length, electrode angle, and electrode manipulation. Defects can be varied and classified as critical or noncritical. Porosity (bubbles) in the weld are never acceptable. Slag inclusions and undercut are tolerated usually up to 1/8" total within a certain length of weld. Some porosity, cracks, and slag inclusions that are visible and will need further inspection to determine acceptability. Liquid Penetrant Testing (dye check) can verify minor defects. Magnetic Particle Inspection can discover Slag inclusions and cracks just below the surface. Deeper defects can be detected using Radiographic (X-rays) and/or Ultrasound (sound waves) testing techniques.

### Lamellar tearing

Lamellar tearing is a welding defect that occurs in rolled steel plates that have been welded together in a way that creates shrinkage forces perpendicular to the faces of the plates and is caused mainly by sulfurous inclusions in the material. Since the 1970s, changes in manufacturing practices, limiting the amount of sulfur used, have greatly reduced the incidence of this problem.
Other causes include excess hydrogen in the alloy. This defect can be mitigated by keeping the amount of sulfur in the steel alloy below 0.005%. Adding rare earth elements, zirconium, or calcium to the alloy, to control the configuration of sulfur inclusions throughout the metal lattice, can also mitigate the problem.
Modifying the construction process to use cast or forged parts in place of welded parts can eliminate this problem, as Lamellar tearing only occurs in welded parts.

### Undercut

Undercutting is when the weld reduces the base metal's cross-sectional thickness and reduces the strength of the weld and workpieces. One reason for this type of defect is excessive current, which causes the edges of the joint to melt and drain into the weld, thus leaving a drain-like impression along the length of the weld. Another reason is poor technique that doesn't deposit enough filler metal along the edges of the weld. A third reason is use of an incorrect filler metal, which will create greater temperature gradients between the center of the weld and the edges. Other causes include too small of an electrode angle, a dampened electrode, excessive arc length, and slow welding speed.