A casting defect is an undesired irregularity in a metal casting process. Some defects can be tolerated while others can be repaired, otherwise they must be eliminated. They are broken down into five main categories: gas porosity, shrinkage defects, mold material defects, pouring metal defects, and metallurgical defects. A casting defect is an undesired irregularity in a metal casting process. Some defects can be tolerated while others can be repaired, otherwise they must be eliminated. They are broken down into five main categories: gas porosity, shrinkage defects, mold material defects, pouring metal defects, and metallurgical defects. The terms 'defect' and 'discontinuity' refer to two specific and separate things in castings. Defects are defined as conditions in a casting that must be corrected or removed, or the casting must be rejected. Discontinuities, also known as 'imperfections', are defined as 'interruptions in the physical continuity of the casting'. Therefore, if the casting is less than perfect, but still useful and in tolerance, the imperfections should be deemed 'discontinuities'. There are many types of defects which result from many different causes. Some of the solutions to certain defects can be the cause for another type of defect. The following defects can occur in sand castings. Most of these also occur in other casting processes. Shrinkage defects can occur when standard feed metal is not available to compensate for shrinkage as the thick metal solidifies. Shrinkage defects will have jagged or linear appearance. Shrinkage defects usually occur in either the cope or drag portion of the casting. Shrinkage defects can be split into two different types: open shrinkage defects and closed shrinkage defects. Open shrinkage defects are open to the atmosphere, therefore as the shrinkage cavity forms, air compensates. There are two types of open air defects: pipes and caved surfaces. Pipes form at the surface of the casting and burrow into the casting, while caved surfaces are shallow cavities that form across the surface of the casting. Closed shrinkage defects, also known as shrinkage porosity, are defects that form within the casting. Isolated pools of liquid form inside solidified metal, which are called hot spots. The shrinkage defect usually forms at the top of the hot spots. They require a nucleation point, so impurities and dissolved gas can induce closed shrinkage defects. The defects are broken up into macroporosity and microporosity (or microshrinkage), where macroporosity can be seen by the naked eye and microporosity cannot. Gas porosity is the formation of bubbles within the casting after it has cooled. This occurs because most liquid materials can hold a large amount of dissolved gas, but the solid form of the same material cannot, so the gas forms bubbles within the material as it cools. Gas porosity may present itself on the surface of the casting as porosity or the pore may be trapped inside the metal, which reduces strength in that vicinity. Nitrogen, oxygen and hydrogen are the most encountered gases in cases of gas porosity. In aluminum castings, hydrogen is the only gas that dissolves in significant quantity, which can result in hydrogen gas porosity. For casting that are a few kilograms in weight the pores are usually 0.01 to 0.5 mm (0.00039 to 0.01969 in) in size. In larger casting they can be up to a millimeter (0.040 in) in diameter. To prevent gas porosity the material may be melted in a vacuum, in an environment of low-solubility gases, such as argon or carbon dioxide, or under a flux that prevents contact with the air. To minimize gas solubility the superheat temperatures can be kept low. Turbulence from pouring the liquid metal into the mold can introduce gases, so the molds are often streamlined to minimize such turbulence. Other methods include vacuum degassing, gas flushing, or precipitation. Precipitation involves reacting the gas with another element to form a compound that will form a dross that floats to the top. For instance, oxygen can be removed from copper by adding phosphorus; aluminum or silicon can be added to steel to remove oxygen. A third source consists of reactions of the molten metal with grease or other residues in the mould. Hydrogen is produced by the reaction of the metal with humidity or residual moisture in the mold. Drying the mold can eliminate this source of hydrogen formation.